/**
 * blog-cards.css - New UI blog listing cards (Adomantra-Final-Steps style)
 * Loaded ONLY on the blog listing page (blog.php). All rules are scoped
 * under .ado-blog-new so old global styles are untouched.
 */

.ado-blog-new .ado-blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 991px) {
  .ado-blog-new .ado-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .ado-blog-new .ado-blog-grid {
    grid-template-columns: 1fr;
  }
}

.ado-blog-new .features-card {
  padding: 1rem;
  border-radius: 20px;
  background-color: #F8FAFC;
  box-shadow: 0px 7.77px 16px 0px rgba(0, 0, 0, 0.05), 0px 3px 3px 0px rgba(0, 0, 0, 0.1), 0px -8px 0px 0px rgba(0, 0, 0, 0.05) inset, 0px 0px 0px 0px rgba(255, 255, 255, 0.6) inset;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ado-blog-new .blog-card-meta {
  font-size: 14px;
  color: #1257A2;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
}

.ado-blog-new h3.blog-title {
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.02rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.ado-blog-new h3.blog-title a {
  color: #1E293B;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ado-blog-new h3.blog-title a:hover {
  color: #1257A2;
}

.ado-blog-new .blog-thumb-wrap {
  flex-grow: 1;
  overflow: hidden;
  border-radius: 24px;
}

.ado-blog-new .blog-thumb-wrap a {
  display: block;
  height: 100%;
}

.ado-blog-new .blog-thumb-wrap img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  height: 100%;
  transition: transform 0.8s ease;
}

.ado-blog-new .blog-thumb-wrap a:hover img {
  transform: scale(1.05);
}

.ado-blog-new .blog-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
}

.ado-blog-new .blog-section-5__meta .tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1257a2;
  background: rgba(18, 87, 162, 0.08);
  border: 1px solid rgba(18, 87, 162, 0.18);
  border-radius: 999px;
  padding: 6px 14px;
  line-height: 1;
}

.ado-blog-new .blog-section-5__icon a {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1257A2;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.ado-blog-new .blog-section-5__icon a:hover {
  background: #0D3F76;
  transform: translateY(-2px);
}

.ado-blog-new .blog-section-5__icon i {
  transform: rotate(-45deg);
  transition: transform 0.3s ease;
}

.ado-blog-new .blog-section-5__icon a:hover i {
  transform: rotate(0deg);
}

/* Static (visual-only) filter bar */
.ado-blog-new .mock-filter-bar {
  padding: 0 0 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  align-items: center;
}

.ado-blog-new .mock-filter-label {
  flex-shrink: 0;
  font-weight: 600;
  margin-right: 0.5rem;
}

.ado-blog-new .mock-filter-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border: 1.5px solid #1257A2;
  border-radius: 100px;
  background: transparent;
  color: #1257A2;
  cursor: default;
  white-space: nowrap;
  letter-spacing: 0.01em;
  font-size: 0.85rem;
}

.ado-blog-new .mock-filter-btn.active {
  background: #1257A2;
  color: #fff;
}

@media (max-width: 576px) {
  .ado-blog-new .mock-filter-btn {
    padding: 7px 14px;
  }
}

/* New-style banner / breadcrumb (exact new-UI structure, scoped) */
.ado-blog-new .ado-blog-banner {
  padding: 10px 0 6px;
}

.ado-blog-new .tp-tp-breadcrumb-main {
  margin-bottom: 1.5rem;
}

.ado-blog-new .tp-breadcrumb-subtitle {
  margin-bottom: 1.25rem;
}

.ado-blog-new .tp-breadcrumb-title {
  font-size: clamp(3rem, 8vw, 5.75rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: #0F172A;
  margin: 0;
}

.ado-blog-new .tp-breadcrumb-title span {
  color: #1257A2;
}

.ado-blog-new .tp-breadcrumb-border {
  padding-bottom: 1.25rem;
}

.ado-blog-new ol.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
}

.ado-blog-new ol.breadcrumb li {
  margin: 0;
}

.ado-blog-new ol.breadcrumb li::before {
  display: none;
}

.ado-blog-new ol.breadcrumb a {
  color: #1E293B;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.ado-blog-new ol.breadcrumb a:hover {
  color: #1257A2;
}

.ado-blog-new ol.breadcrumb .breadcrumb-item.active {
  color: #0F172A;
  font-weight: 500;
}

.ado-blog-new .ado-blog-side img {
  max-width: 160px;
  margin-left: auto;
  margin-bottom: 12px;
}

.ado-blog-new .ado-scroll-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #1E293B;
  text-decoration: none;
}

.ado-blog-new .ado-scroll-link:hover {
  color: #1257A2;
}

@media (max-width: 991px) {
  .ado-blog-new .ado-blog-side {
    text-align: left !important;
    margin-top: 1rem;
  }
  .ado-blog-new .ado-blog-side img {
    margin-left: 0;
  }
}

.ado-blog-new .ado-blog-intro {
  display: grid;
  grid-template-columns: 4fr 8fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 991px) {
  .ado-blog-new .ado-blog-intro {
    grid-template-columns: 1fr;
  }
}

.ado-blog-new .ado-blog-intro h4.eyebrow {
  margin: 0;
}

.ado-blog-new .ado-blog-subhead {
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  line-height: 1.3;
  color: #0F172A;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0;
}

.ado-blog-new .line-new-design {
  margin-top: 20px;
  margin-bottom: 20px;
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, rgba(212, 212, 216, 0) 0%, #D4D4D8 50%, rgba(212, 212, 216, 0) 100%);
}

/* Search bar (functional) */
.ado-blog-new .ado-blog-search {
  display: flex;
  gap: 10px;
  margin-bottom: 1.25rem;
}

.ado-blog-new .ado-blog-search-input {
  flex: 1;
  padding: 12px 20px;
  border-radius: 100px;
  border: 1.5px solid #E2E8F0;
  background: #fff;
  font-size: 0.95rem;
  color: #1E293B;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ado-blog-new .ado-blog-search-input:focus {
  border-color: #1257A2;
  box-shadow: 0 0 0 3px rgba(18, 87, 162, 0.12);
}

.ado-blog-new .ado-blog-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 100px;
  border: 1.5px solid #1257A2;
  background: #1257A2;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease;
}

.ado-blog-new .ado-blog-search-btn:hover {
  background: #0D3F76;
  transform: translateY(-1px);
}

.ado-blog-new .ado-blog-result-note {
  font-size: 0.9rem;
  color: #64748B;
  margin-bottom: 1rem;
}

.ado-blog-new .ado-blog-result-note a {
  color: #1257A2;
  text-decoration: none;
  font-weight: 600;
}

/* Real pagination (new-style buttons, working links) */
.ado-blog-new .mock-pagination {
  flex-wrap: wrap;
  gap: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2.5rem;
  padding-top: 1rem;
}

.ado-blog-new .mock-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  height: 60px;
  padding: 0 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 30px;
  background: #fff;
  color: #374151;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.ado-blog-new a.mock-page-btn:hover {
  border-color: #1257A2;
  color: #1257A2;
  background: rgba(18, 87, 162, 0.04);
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(18, 87, 162, 0.12);
}

.ado-blog-new .mock-page-btn.active {
  background: #1257A2;
  border-color: #1257A2;
  color: #fff;
}

.ado-blog-new span.mock-page-btn {
  cursor: default;
  opacity: 0.45;
}

.ado-blog-new .mock-page-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  color: #9ca3af;
  font-size: 18px;
  user-select: none;
}

@media (max-width: 576px) {
  .ado-blog-new .mock-page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
  }
}
