/* Inovar Blog Tabs */

.inv-blog-tabs,
.inv-blog-tabs * {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.inv-blog-tabs {
  width: 100%;
}

.inv-blog-tabs__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 10px 0 18px;
}

/* Tabs */
.inv-blog-tabs__tablist {
  display: flex;
  gap: 22px;
  align-items: center;
  flex-wrap: wrap;
  border-bottom: 1px solid #e9e9e9;
  padding-bottom: 10px;
}

.inv-blog-tabs__tab {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  padding: 8px 0;
  font-size: 15px;
  font-weight: 600;
  color: #333;
  opacity: 0.9;
}

.inv-blog-tabs__tab:hover { opacity: 1; }

.inv-blog-tabs__tab[aria-selected="true"] {
  opacity: 1;
  color: #111;
}

.inv-blog-tabs__tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -11px;
  height: 3px;
  width: 100%;
  background: rgba(232, 15, 134, 0.95);
}

.inv-blog-tabs__tabcount {
  font-size: 12px;
  font-weight: 700;
  color: rgba(232, 15, 134, 0.95);
  background: rgba(232, 15, 134, 0.08);
  padding: 4px 8px;
  border-radius: 999px;
}

.inv-blog-tabs__panel {
  position: relative;
}

/* Grid */
.inv-blog-tabs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.inv-blog-card {
  border: 1px solid #eeeeee;
  background: #fff;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
  border-radius: 10px;
}

.inv-blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.inv-blog-card__thumb {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  background: #f4f4f4;
  overflow: hidden;
}

.inv-blog-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity 220ms ease;
}

.inv-blog-card__thumb img.is-loaded {
  opacity: 1;
}

.inv-blog-card__body {
  padding: 16px;
}

.inv-blog-card__cat {
  color: rgba(232, 15, 134, 0.95);
  font-weight: 700;
  font-size: 13px;
  margin: 0 0 8px 0;
}

.inv-blog-card__title {
  margin: 0 0 10px 0;
  font-weight: 600;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.3px;
  color: #111;
}

.inv-blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.inv-blog-card__title a:hover {
  text-decoration: underline;
}

.inv-blog-card__meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: #6b6b6b;
}

.inv-blog-card__dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #c7c7c7;
}

/* Footer */
.inv-blog-tabs__footer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 16px;
}

/* Botão */
.inv-blog-tabs__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border: 0;
  background: transparent;
  color: rgba(232, 15, 134, 0.95);
  font-weight: 700;
  cursor: pointer;
  transition: transform 160ms ease, opacity 160ms ease;
}

.inv-blog-tabs__more::before {
  content: "+";
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(232, 15, 134, 0.12);
  color: rgba(232, 15, 134, 0.95);
  font-weight: 900;
  line-height: 1;
}

.inv-blog-tabs__more:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  text-decoration: underline;
}

.inv-blog-tabs__more:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  text-decoration: none;
}

/* Loading */
.inv-blog-tabs__loading {
  display: none;
  margin: 18px 0 0 0;
  font-size: 14px;
  color: #666;
}

.inv-blog-tabs.is-loading .inv-blog-tabs__loading {
  display: block;
}

/* Responsivo */
@media (max-width: 980px) {
  .inv-blog-tabs__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .inv-blog-tabs__grid { grid-template-columns: 1fr; }
  .inv-blog-card__title { font-size: 20px; }
}

/* MOBILE: tabs escondidas */
@media (max-width: 768px) {
  .inv-blog-tabs__tablist { display: none; }

  .inv-blog-tabs__footer {
    justify-content: center;
  }

  .inv-blog-tabs__more {
    width: 100%;
    justify-content: center;
  }
}
