/* ==================== AiApps Page CSS ==================== */
.chatbot_template_blogs_main {
  width: 100%;
  background-image: linear-gradient(225deg, #04007d 0%, #395add 50%, #0e5bb9 100%);
  border-radius: 32px;
}

.chatbot_template_blogs_inner {
  height: 100%;
  padding: 77px 0px;
  max-width: 960px;
  margin: 0 auto;
}

.chatbot_template_blogs_inner .heading {
  font-size: 4.5rem;
  line-height: 5.625rem;
  letter-spacing: -1.44px;
  color: #ffffff;  
  text-align: center;
}

.chatbot_template_blogs_inner .sub-heading {
  text-align: center;
  font-size: 1.25rem;
  line-height: 1.875rem;
  color: #fff;
  margin-top: 25px;
}

.chatbot_template_blogs_inner .sub-heading span {
  font-weight: bold;
  font-size: 1.25rem;
  line-height: 1.875rem;
  text-align: center;
  color: #fff;
}

.chatbot_template_blogs_inner .search-templates {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  border: 1px solid #fff;
  border-radius: 6px;
  padding: 5px 5px 5px 20px;
  max-width: 800px;
  margin: 60px auto 0px auto;
}

.chatbot_template_blogs_inner .search-templates .fa-search {
  margin-right: 15px;
  color: #fff;
  font-size: 22px;
  font-weight: 200;
}

.chatbot_template_blogs_inner .search-templates .search-input {
  border: none;
  width: 100%;
  background: transparent;
  outline: none;
  color: #fff;
  font-size: 18px;
}

.chatbot_template_blogs_inner .search-templates .search-input::placeholder {
  color: #fff;
  opacity: 0.8;
}

.chatbot_template_blogs_inner .search-templates .search-btn {
  border: none;
  width: 150px;
  border-radius: 4px;
  padding: 10px 10px;
  transition: all 0.3s ease-in-out;
  font-weight: 600;
}

.chatbot_template_blogs_inner .search-templates .search-btn:hover {
  background-image: linear-gradient(
    to right,
    #04007d 10%,
    #395add 100%,
    #0e5bb9 100%
  );
  color: #fff;
}

.chatbot_template_blogs_inner .popular-categories {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
}

.chatbot_template_blogs_inner .popular-categories h4 {
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 500;
  color: #fff;
}

.chatbot_template_blogs_inner .popular-categories .categories {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
.chatbot_template_blogs_inner .popular-categories .categories span {
  background-image: linear-gradient(
    to right,
    #04007d 10%,
    #395add 100%,
    #0e5bb9 100%
  );
  font-size: 0.75rem;
  line-height: 1.125rem;
  font-weight: 700;
  align-self: center;
  color: rgb(255, 255, 255);
  border-radius: 30px;
  padding: 0.25rem 0.625rem;
  cursor: pointer;
  border: 1px solid transparent;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

.chatbot_template_blogs_inner .popular-categories .categories span:hover {
  border: 1px solid #fff;
}



/* AI Apps List */
.chatbot-template-blogs-list {
  background-color: #f8f9fa;
  padding: 0;
}

.chatbot-template-blog-cards-main {
  padding: 30px;
  background-color: #fff;
}

.chatbot-template-blog-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  height: 100%;
  cursor: pointer;
}

.chatbot-template-blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.chatbot-template-blog-img-wrapper {
  position: relative;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  overflow: hidden;
}


.chatbot-template-blog-cards-main .chatbot-template-blog-card .arrow-icon {
  position: absolute;
  right: 0;
  top: 0;
  margin-right: 10px;
  margin-top: 10px;
  transform: rotate(30deg);
}

.chatbot-template-blog-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.chatbot-template-blog-card .card-body {
  padding: 20px;
  position: relative;
}

.chatbot-template-blog-card .card-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.chatbot-template-blog-card .chatbot-template-blog-description {
  font-size: 16px;
  color: #6c757d;
  margin-bottom: 20px;
}

.chatbot-template-blog-card .chatbot-template-blog-task {
  display: inline-block;
  padding: 6px 12px;
  background-color: #3727ea;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 20px;
}

.chatbot-template-blog-card .arrow-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  color: #3727ea;
  transform: rotate(45deg);
  transition: all 0.3s ease;
}

.chatbot-template-blog-card:hover .arrow-icon {
  transform: rotate(90deg);
}

/* Featured Area */
.featured-area {
  padding: 30px;
  background-color: #f8f9fa;
  border-radius: 10px;
}

.featured-area h4 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.featured-options {
  display: flex;
  align-items: center;
  align-content: center;
  margin-bottom: 20px;
  cursor: pointer;
}

.featured-options .img-main {
  width: 60px;
  min-width: 60px;
  height: 60px;
  border-radius: 8px;
  overflow: hidden;
  margin-right: 15px;
}

.featured-options .img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-options .featured-title {
  font-size: 18px;
  font-weight: bold;
  color: #181818;
  transition: all 0.3s ease;
}

.featured-options .featured-title:hover {
  color: #3727ea;
}

/* Ai Details */
.chatbot-template-blog-details-container {
  padding: 40px 0;
}

.breadcrumb-link {
  color: #3727ea;
}

.chatbot-template-blog-card .chatbot-template-blog-details-card {
  border: none;
  margin-bottom: 30px;
}

.chatbot-template-blog-details-img {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
}

.chatbot-template-blog-details-img img {
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
}

.chatbot-template-blog-details-header {
  border: none;
  margin-bottom: 30px;
  padding-left: 0px;
}

.chatbot-template-blog-details-card-title {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
}

.chatbot-template-blog-details-card-description {
  font-size: 20px;
  color: #6c757d;
}

.chatbot-template-blog-details-cover {
  position: relative;
  margin-bottom: 30px;
}

.chatbot-template-blog-details-cover-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.chatbot-template-blog-details-content {
  /* General styles */
  font-size: 18px;
  line-height: 1.6;
  color: #181818;
}

.chatbot-template-blog-details-content h1,
.chatbot-template-blog-details-content h2,
.chatbot-template-blog-details-content h3,
.chatbot-template-blog-details-content h4,
.chatbot-template-blog-details-content h5,
.chatbot-template-blog-details-content h6 {
  margin-top: 24px;
  margin-bottom: 16px;
  font-weight: bold;
  color: #181818;
}

.chatbot-template-blog-details-content h1 {
  font-size: 32px;
}

.chatbot-template-blog-details-content h2 {
  font-size: 28px;
}

.chatbot-template-blog-details-content h3 {
  font-size: 24px;
}

.chatbot-template-blog-details-content h4 {
  font-size: 20px;
}

.chatbot-template-blog-details-content h5 {
  font-size: 18px;
}

.chatbot-template-blog-details-content h6 {
  font-size: 16px;
}

.chatbot-template-blog-details-content p {
  font-size: 18px;
  margin-bottom: 16px;
  color: #181818;
}

.chatbot-template-blog-details-content ul,
.chatbot-template-blog-details-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
  color: #181818;
}

/* List items with <strong> tag outside of <p> tag */
.chatbot-template-blog-details-content ul li,
.chatbot-template-blog-details-content ol li {
  margin-bottom: 8px;
  align-items: baseline;
}

/* List items with <strong> tag inside <p> tag */
.chatbot-template-blog-details-content ul li:has(> p > strong),
.chatbot-template-blog-details-content ol li:has(> p > strong) {
  margin-bottom: 8px;
  display: flex;
  align-items: baseline;
}

/* Parent list items with sub-lists */
.chatbot-template-blog-details-content ul li:has(ul),
.chatbot-template-blog-details-content ol li:has(ol),
.chatbot-template-blog-details-content ul li:has(ol),
.chatbot-template-blog-details-content ol li:has(ul) {
  display: block;
}

.chatbot-template-blog-details-content ul li::before {
  content: "\2022";
  color: #333;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
  margin-right: 0.5em;
  flex-shrink: 0;
}

.chatbot-template-blog-details-content ol {
  counter-reset: item;
}

.chatbot-template-blog-details-content ol li::before {
  content: counter(item) ".";
  counter-increment: item;
  font-weight: bold;
  display: inline-block;
  width: 1.5em;
  margin-left: -1.5em;
  margin-right: 0.5em;
  text-align: right;
  flex-shrink: 0;
}

.chatbot-template-blog-details-content li p {
  margin: 0;
}

.chatbot-template-blog-details-content li strong {
  font-weight: bold;
}

.chatbot-template-blog-details-content ul ul {
  list-style-type: none;
  padding-left: 40px;
}

.chatbot-template-blog-details-content ul ul li::before {
  content: "\25E6";
  color: #181818;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
  margin-right: 0.5em;
}

.chatbot-template-blog-details-content li a {
  white-space: nowrap;
  display: inline-block;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  margin: 0 4px;
}

.chatbot-template-blog-details-content img {
  max-width: 100%;
  height: auto;
  margin-bottom: 16px;
}

.chatbot-template-blog-details-content a {
  color: #007bff;
  text-decoration: none;
}

.chatbot-template-blog-details-content a:hover {
  text-decoration: underline;
}

.chatbot-template-blog-details-content blockquote {
  margin: 16px 0;
  padding: 8px 16px;
  background-color: #f8f9fa;
  border-left: 4px solid #007bff;
  color: #181818;
}

.chatbot-template-blog-details-content pre {
  margin-bottom: 16px;
  padding: 16px;
  background-color: #f8f9fa;
  overflow-x: auto;
  color: #181818;
}

.chatbot-template-blog-details-content code {
  font-family: monospace;
  font-size: 14px;
  background-color: #f8f9fa;
  padding: 2px 4px;
  color: #181818;
}

.try-it-btn {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  background-color: #3727ea;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.try-it-btn:hover {
  background-color: #1f10c6;
}

.arrow-icon {
  margin-left: 10px;
  transform: rotate(45deg);
}

/* chatbot-template-blog-details-featured-area */
.chatbot-template-blog-details-featured-area {
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
}

.featured-area-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.chatbot-template-blog-details-featured-area h4 {
  margin-bottom: 20px;
  font-size: 24px;
}

.chatbot-template-blog-details-featured-options {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.featured-img-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  margin-right: 15px;
}

.featured-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-desc {
  font-size: 14px;
  color: #6c757d;
}

@media (max-width: 767px) {
  .chatbot-template-blog-details-img {
    height: auto;
    padding: 10px;
  }

  .chatbot-template-blog-details-card-title {
    font-size: 24px;
  }

  .chatbot-template-blog-details-card-description {
    font-size: 16px;
  }

  .try-it-btn {
    font-size: 16px;
    padding: 8px 16px;
  }

  .featured-area-title {
    font-size: 20px;
  }

  .featured-img-wrapper {
    width: 60px;
    height: 60px;
  }

  .featured-title {
    font-size: 16px;
  }

  .featured-desc {
    font-size: 12px;
  }
}

.chatbot-template-blog-details-featured-area .chatbot-template-blog-details-featured-options .img-main {
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #e4e4e4;
  height: 100px;
  width: 100px;
  padding: 6px;
  margin-right: 10px;
  flex-shrink: 0;
}

.chatbot-template-blog-details-featured-area .chatbot-template-blog-details-featured-options .img-main img {
  height: 100%;
  width: 100%;
  border-radius: 3px;
  object-fit: cover;
}

.chatbot-template-blog-details-featured-area .chatbot-template-blog-details-featured-options .featured-title {
  font-weight: bold;
  transition: all 0.2s ease-out;
  cursor: pointer;
  font-size: 18px;
  margin-top: 4px;
}

.chatbot-template-blog-details-featured-area .chatbot-template-blog-details-featured-options .featured-desc {
  font-size: 16px;
}

.chatbot-template-blog-details-featured-area
  .chatbot-template-blog-details-featured-options
  .featured-title:hover {
  color: #3727ea;
}
