/*
 * New, additive styles only — everything else visual comes from the ported
 * style.css / responsive.css. This file exists for the hero ticker, ported from
 * the original Owl Carousel (jQuery) widget onto embla-carousel-react (see
 * components/sections/Ticker.tsx) — same continuous non-stop motion, same
 * infinite loop, same 4/3/2/1-items-visible breakpoints, no nav/dots/drag,
 * pauses on hover, as the original owlCarousel({...}) config.
 */
.hero-ticker {
  overflow: hidden;
  padding-top: clamp(30px, 60px, 60px);
}

.hero-ticker-track {
  display: flex;
}

.hero-ticker-slide {
  flex: 0 0 100%;
  min-width: 0;
}

/* Matches the original owlCarousel responsive breakpoints: 0->1, 600->2, 1000->3, 1280->4
   (its 980/1030 breakpoints were no-ops, repeating the 600/1000 item counts). */
@media (min-width: 600px) {
  .hero-ticker-slide {
    flex: 0 0 50%;
  }
}
@media (min-width: 1000px) {
  .hero-ticker-slide {
    flex: 0 0 33.3333%;
  }
}
@media (min-width: 1280px) {
  .hero-ticker-slide {
    flex: 0 0 25%;
  }
}

.hero-ticker-item {
  border-right: 1px solid #333366;
  padding: 15px 30px 5px;
  margin-right: 30px;
}

.hero-ticker-item h3 {
  font-size: 22px;
  text-align: left;
  color: #ffffff;
}

.hero-ticker-item p {
  font-size: var(--font18);
  text-align: left;
}

@media (max-width: 576px) {
  .hero-ticker {
    margin-top: -30px;
  }

  .hero-ticker-item h3 {
    font-size: 20px;
  }

  .hero-ticker-item p {
    font-size: var(--font16);
  }
}

/*
 * Blog — new section/pages. Cover art is a category-tinted gradient with an
 * icon rather than a photo (no stock photography in this repo), built with
 * the same gradient-border card treatment as .why-us-card in style.css so it
 * reads as part of the same design system.
 */
.blog-eyebrow {
  color: #00f5ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: var(--font14);
  font-weight: 700;
  margin-bottom: 8px;
}

.blog-card {
  display: block;
  background-color: #0F0F26;
  border: 2px solid;
  border-radius: 24px 24px 24px 24px;
  border-image-source: radial-gradient(50% 100% at 50% 0%, #451F99 0%, #170A33 100%);
  transition: transform 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
}
.blog-card .card-body {
  padding: 15px 20px 15px;
}
.blog-cover-wrap {
  position: relative;
  border-radius: 24px 24px 0 0;
  overflow: hidden;
}

.blog-cover {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-cover-icon {
  font-size: 48px;
  color: rgba(255, 255, 255, 0.85);
}

.blog-cover-team {
  background: linear-gradient(135deg, #3a2a6b, #8a45e8 60%, #d9a877);
}

.blog-cover-product {
  background: linear-gradient(135deg, #1b0f3e, #2575fc 60%, #8a45e8);
}

.blog-cover-community {
  background: linear-gradient(135deg, #8a45e8, #ffc107 70%, #ff8a3d);
}

.blog-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: var(--font13);
  background: #302303;
  border: 1px solid  #996B00;
  color:  #FFBF00;
  font-weight: 500;
  line-height: 14px;
}


.blog-card-title {
font-weight: 700;
font-size: 20px;
color: #FFFFFF;
line-height: 28px;
min-height: 56px;
display: -webkit-box;
-webkit-line-clamp: 2;
line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
}

.blog-card-excerpt {
  color: #A3A3CC;
  font-size: var(--font15);
  height: 82px;
  line-height: 24px;
  padding: 8px 0px;
   display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-date {
  color: #7A7A99;
font-size: var(--font14);
}

.blog-card-readmore {
  color: #00f5ff;
  font-size: var(--font14);
  font-weight: 600;
  line-height: 12px;
}

.blog-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.blog-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.blog-pagination-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 8px;
  border-radius: 50px;
  border: 2px solid #0f0f4c;
  background: transparent;
  color: #fff;
  font-weight: 600;
}

.blog-pagination-btn:hover:not(:disabled) {
  border-color: #00f5ff;
  color: #00f5ff;
}

.blog-pagination-btn.active {
  background: #00f5ff;
  border-color: #00f5ff;
  color: #03031a;
}

.blog-pagination-btn:disabled {
  opacity: 0.4;
}

/* Standalone pages (no hero above them) need extra top padding to clear the
   fixed alpha banner + pill navbar. */
.blog-index-section,
.blog-post-section {
  padding-top: 140px;
}

/* Breadcrumb */
.blog-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font14);
  color: var(--textp);
  margin-bottom: 24px;
}

.blog-breadcrumb a {
  color: var(--textp);
  text-decoration: none;
}

.blog-breadcrumb a:hover {
  color: #00f5ff;
}

.blog-breadcrumb span {
  color: #00f5ff;
}

/* Detail page header */
.blog-badge-static {
  position: static;
  display: inline-block;
  margin-bottom: 16px;
}

.blog-post-title {
  text-align: left;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--white);
}

.blog-post-byline {
  padding-bottom: 24px;
}

.blog-post-meta {
  color: var(--textp);
  font-size: var(--font14);
}

.blog-post-meta i {
  margin-right: 4px;
}

.blog-post-cover-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 34px;
}

.blog-post-cover-photo,
.blog-post-cover-wrap .blog-cover {
  width: 100%;
  object-fit: cover;
}

.blog-post-body {
  color: var(--textp);
}

.blog-post-body p {
  margin-bottom: 16px;
  line-height: 1.7;
  font-family: Plus Jakarta Sans;
font-size: 16px;
}

.blog-post-body h2{
  color: #fff;
font-weight: 600;
font-size: 30px;
margin: 35px 0px 20px;
}
.blog-post-body h3 {
  color: #fff;
font-weight: 600;
font-size: 22px;
margin: 25px 0px 20px;
}.blog-post-body h2:first-child {
margin: 10px 0px 20px;
}
.blog-post-body a {
    color: #00FEFF;
    text-decoration: underline;
}

.blog-post-body ul {
  margin-bottom: 16px;
  padding-left: 20px;
}

.blog-post-body li {
  margin-bottom: 8px;
}

.blog-pullquote {
  border-left: 3px solid #00f5ff;
  background: rgba(0, 245, 255, 0.05);
  padding: 16px 24px;
  margin: 24px 0;
  font-style: italic;
  color: #e6e6ff;
  border-radius: 0 12px 12px 0;
}
.blog-pullquote p{
  margin: 0px 0;
}

.blog-spacer {
  height: 24px;
}

.blog-inline-image {
  width: 100%;
  border-radius: 16px;
  margin: 24px 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-inline-image-fallback {
  background: linear-gradient(135deg, #1b0f3e, #8a45e8 60%, #2575fc);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: rgba(255, 255, 255, 0.6);
}

/* Tags */
.blog-tags {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  align-items: start;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  margin-top: 24px;
  margin-bottom: 24px;
}
.blog-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-tags-label {
  color: var(--textp);
  font-weight: 600;
}

.blog-tag {
  border-radius: 20px;
  padding: 4px 14px;
  background:  #282859;
  font-size: var(--font11);
  line-height: 14px;
  color: #DCDFEA;
  white-space: nowrap;
}

/* Avatars */
.blog-avatar {
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.blog-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-avatar-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #8a45e8, #2575fc);
  color: #fff;
  font-weight: 700;
  font-size: var(--font14);
}

/* Sidebar cards */
.blog-sidebar-card {
  border: 1px solid #17174D;
  background: #050522;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}

.blog-sidebar-heading {
  color: #fff;
  font-weight: 700;
}

.blog-sidebar-author-name {
  color: #fff;
  font-weight: 700;
  font-size: var(--font14);
}

.blog-sidebar-author-role {
  color: #A3A3CC;
  font-size: var(--font12);
}

.blog-sidebar-author-bio {
  color: var(--textp);
  font-size: var(--font14);
  line-height: 1.6;
}

.blog-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.blog-newsletter-input {
  background: #0a0a2e;
  border: 1px solid #333366;
  border-radius: 10px;
  padding: 10px 14px;
  color: #fff;
}

.blog-newsletter-btn {
  background: #ffc107;
  color: #03031a;
  border: none;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
}

.blog-newsletter-success {
  color: #00f5ff;
  font-weight: 600;
}

/* Prev/next post nav */
.blog-post-nav {
  margin-top: 40px;
}

.blog-post-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 48%;
  padding: 12px 20px;
  border-radius: 10px;
  background: #0f0f2e;
  border: 1px solid #17174d;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.blog-post-nav-link:hover {
  border-color: #00f7ffb9;
  color: #f1f5f5;
}

.blog-post-nav-link i {
  color: #00f5ff;
  flex-shrink: 0;
}

.blog-post-nav-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.blog-post-nav-next {
  margin-left: auto;
  text-align: right;
}

/* Related articles */
.blog-related {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-related-heading {
  color: #fff;
  font-weight: 700;
  margin-bottom: 24px;
}

/* Listing page controls */
.blog-controls {
  margin-bottom: 8px;
}

.blog-search {
  position: relative;
  flex: 1 1 260px;
  max-width: 340px;
}

.blog-search i {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #a9a4d4;
  font-size: 18px;
  line-height: 1;
  pointer-events: none;
}

.blog-search input {
  width: 100%;
  background: #11121f;
  border: 1px solid #2b2a5a;
  border-radius: 12px;
  padding: 13px 48px 13px 18px;
  color: #fff;
  font-size: 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-search input::placeholder {
  color: #a9a4d4;
  opacity: 1;
}

.blog-search input:focus {
  outline: none;
  border-color: #4a4890;
  box-shadow: 0 0 0 3px rgba(169, 164, 212, 0.15);
}

.blog-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 175px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 12px 16px;
  color: #fff;
  font-size: var(--font16, 16px);
  line-height: 1.2;
  white-space: nowrap;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.blog-filter-btn:hover,
.blog-filter-btn[aria-expanded="true"] {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.07);
}

.blog-filter-btn:focus-visible {
  outline: 2px solid #00f5ff;
  outline-offset: 2px;
}

.blog-filter-icon {
  font-size: 1.1em;
}

.blog-filter-chevron {
  margin-left: auto;
  font-size: 0.8em;
  transition: transform 0.2s ease;
}

.blog-filter-btn[aria-expanded="true"] .blog-filter-chevron {
  transform: rotate(180deg);
}

.blog-filter-menu .dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.blog-filter-menu .dropdown-item.active,
.blog-filter-menu .dropdown-item:active {
  background: rgba(0, 245, 255, 0.1);
  color: #00f5ff;
}

@media (max-width: 575.98px) {
  .blog-filter-btn {
    min-width: 0;
  }
}

.blog-filter-menu.show {
  display: block;
  background: #0a0a2e;
  border: 1px solid #333366;
  margin-top: 8px;
}

.blog-filter-menu .dropdown-item {
  color: #fff;
}

.blog-filter-menu .dropdown-item:hover {
  background: rgba(0, 245, 255, 0.1);
  color: #00f5ff;
}
.blog-card-readmore i{
  margin-left: 4px;
}
.blog-post-body h4{
  color: var(--white);
}
.blog-sidebar-author-bio, .blog-sidebar-author-bio{
 margin-top: 15px;
}
@media (max-width: 767px) {
  .blog-index-section,
  .blog-post-section {
    padding-top: 110px;
  }

  .blog-post-byline {
    align-items: flex-start !important;
  }
}
