.atc-blog-wrap {
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 0;
}

/* Tabs */
.atc-blog-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  border-bottom: 0;
  margin-bottom: 40px;
}

.atc-blog-tab {
  display: flex;
  padding: 10px 20px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 48px;
 border: 1px solid rgba(0, 0, 0, 0.10);
 color: #3e3e3e;
 font-family: 'Popins',sans-serif;
 font-weight: 500;
 background: none;
}

.atc-blog-tab:hover {
 border: 1px solid #1351D8;
    background: #1351D8;
    color: #fff;
}

.atc-blog-tab.is-active {
 border: 1px solid #1351D8;
    background: #1351D8;
    color: #fff;
}

/* Grid */
.atc-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

@media (max-width: 600px) {
  .atc-blog-grid { grid-template-columns: 1fr; }
}

.atc-blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: #6b7280;
}

/* Card */
.atc-blog-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(244, 246, 253, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  padding: 20px;
}

.atc-blog-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.atc-blog-card__media {
  aspect-ratio: 16 / 10;
  background: #111827;
  overflow: hidden;
  border-radius: 12px;
}

.atc-blog-author{
  text-transform: capitalize; font-size:14px; color: #8C8C8C;
}

.atc-blog-card__img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

.atc-blog-card__body {
  padding: 16px 0 20px;
}

.atc-blog-card__meta {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.50);
  margin-bottom: 8px;
}

.atc-blog-card__dot {
  margin: 0 4px; color: rgba(0, 0, 0, 0.50);
}

.atc-blog-card__title {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  color: #000000;
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.atc-blog-card__footer {
  font-size: 14px;
  letter-spacing: 0.03em;
  color: #8c8c8c;
  font-weight: 400;
}

/* Load more */
.atc-blog-loadmore-wrap {
  display: flex;
  justify-content: center;
  margin-top: 36px;
  min-height: 44px;
}

.atc-blog-loadmore {
  border: 1px solid #d1d5db;
  background: #fff;
  color: #111827;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}

.atc-blog-loadmore:hover {
  background: #f3f4f6;
}

.atc-blog-wrap.is-loading .atc-blog-grid {
  opacity: 0.5;
  pointer-events: none;
}
