/* Blog — listagem e matéria (mockup redesign) */

.blog-empty {
  margin: 0;
  color: var(--text-muted, #a4a4b3);
}

/* ── Home do blog ─────────────────────────────────────────────── */
.blog-home__header {
  margin-bottom: 1.75rem;
}

.blog-home__kicker,
.blog-home__section-title,
.blog-more-posts__label,
.blog-game-panel__label {
  display: block;
  margin: 0 0 0.55rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary, #7c7ff7);
}

.blog-home__header h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.85rem, 5vw, 2.45rem);
  line-height: 1.1;
}

.blog-home__header p {
  margin: 0;
  max-width: 42rem;
  color: var(--text-muted, #a4a4b3);
  line-height: 1.55;
}

.blog-home__section-title {
  margin: 1.75rem 0 1rem;
}

/* ── Cards compartilhados (feed + featured) ───────────────────── */
.blog-feed-card__tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.blog-feed-card__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.72) 100%);
  pointer-events: none;
}

.blog-feed-card__meta {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted, #a4a4b3);
}

.blog-feed-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.85rem;
}

.blog-feed-card__game-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  max-width: calc(100% - 6rem);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text, #f4f4f8);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.blog-feed-card__game-btn:hover,
.blog-feed-card__game-btn:focus-visible {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--text, #f4f4f8);
  text-decoration: none;
}

.blog-feed-card__game-btn .ds-mso {
  font-size: 1rem;
  flex: 0 0 auto;
}

/* Featured card */
.blog-featured-card {
  margin-bottom: 1.5rem;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--surface-2, #1a1a26);
}

.blog-featured-card__inner {
  display: grid;
  grid-template-columns: 1fr;
}

.blog-featured-card__visual {
  position: relative;
  display: block;
  aspect-ratio: 10 / 7;
  overflow: hidden;
  text-decoration: none;
}

.blog-featured-card__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.blog-featured-card__game-name {
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.85rem;
  z-index: 2;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.35rem, 4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.65);
}

.blog-featured-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.15rem 1.2rem 1.25rem;
}

.blog-featured-card__kicker {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary, #7c7ff7);
}

.blog-featured-card__title {
  margin: 0;
  font-size: clamp(1.05rem, 2.8vw, 1.35rem);
  line-height: 1.3;
}

.blog-featured-card__title a {
  color: inherit;
  text-decoration: none;
}

.blog-featured-card__title a:hover,
.blog-featured-card__title a:focus-visible {
  color: var(--text, #f4f4f8);
  text-decoration: none;
}

.blog-featured-card__excerpt {
  margin: 0;
  color: var(--text-muted, #a4a4b3);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-featured-card__read {
  min-height: 2.65rem;
  padding-inline: 1rem;
}

@media (min-width: 900px) {
  .blog-featured-card__inner {
    grid-template-columns: minmax(280px, 1.05fr) 1fr;
  }

  .blog-featured-card__body {
    justify-content: center;
    padding: 1.5rem 1.65rem;
  }
}

/* Feed cards — mobile stack, desktop grid */
.blog-feed {
  display: grid;
  gap: 1rem;
}

.blog-feed-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--surface-2, #1a1a26);
}

.blog-feed-card__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-feed-card__visual {
  position: relative;
  display: block;
  aspect-ratio: 10 / 7;
  overflow: hidden;
  text-decoration: none;
}

.blog-feed-card__cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.blog-feed-card__game-name {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 2;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.1rem, 3.5vw, 1.45rem);
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65);
}

.blog-feed-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.05rem 1.1rem;
  flex: 1;
}

.blog-feed-card__title {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.blog-feed-card__title a {
  color: inherit;
  text-decoration: none;
}

.blog-feed-card__title a:hover,
.blog-feed-card__title a:focus-visible {
  color: var(--text, #f4f4f8);
  text-decoration: none;
}

.blog-feed-card__excerpt {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-muted, #a4a4b3);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 900px) {
  .blog-feed {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 899px) {
  .blog-feed-card + .blog-feed-card {
    margin-top: 0;
  }
}

/* ── Like button ──────────────────────────────────────────────── */
.blog-like-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.55rem 0.95rem;
  min-height: 2.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted, #a4a4b3);
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: inherit;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  flex: 0 0 auto;
}

.blog-like-btn--compact {
  min-height: 2.2rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
}

.blog-like-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.blog-like-btn--active,
.blog-like-btn:hover {
  color: #f472b6;
  border-color: rgba(244, 114, 182, 0.4);
  background: rgba(244, 114, 182, 0.08);
}

.blog-like-btn--active .ds-mso {
  font-variation-settings: 'FILL' 1;
}

.blog-like-btn__label {
  white-space: nowrap;
}

/* ── Paginação ────────────────────────────────────────────────── */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  font-size: 0.9rem;
}

.blog-pagination a {
  color: var(--primary, #7c7ff7);
  text-decoration: none;
}

.blog-pagination a:link,
.blog-pagination a:visited {
  color: var(--primary, #7c7ff7);
}

/* ── Matéria ──────────────────────────────────────────────────── */
.blog-post-layout {
  display: grid;
  gap: 2rem;
}

@media (min-width: 960px) {
  .blog-post-layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    align-items: start;
  }
}

.blog-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted, #a4a4b3);
  margin-bottom: 1rem;
}

.blog-breadcrumb a {
  color: var(--text-muted, #a4a4b3);
  text-decoration: none;
  font-weight: 600;
}

.blog-breadcrumb a:link,
.blog-breadcrumb a:visited {
  color: var(--text-muted, #a4a4b3);
}

.blog-breadcrumb a:hover,
.blog-breadcrumb a:focus-visible {
  color: var(--text, #f4f4f8);
}

.blog-article__tag {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary, #7c7ff7);
}

.blog-article__header h1 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 4.5vw, 2.15rem);
  line-height: 1.18;
}

.blog-article__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-article__meta-left {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted, #a4a4b3);
}

.blog-article__author {
  font-weight: 700;
  color: var(--text, #f4f4f8);
}

.blog-article__cover {
  margin: 0 0 1.5rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-article__cover img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  object-position: center;
  display: block;
  background: rgba(0, 0, 0, 0.25);
}

/* Capa de reserva (SVG inline) para posts sem imagem do jogo */
.blog-feed-card__visual .blog-ph,
.blog-featured-card__visual .blog-ph {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.blog-article__cover--placeholder .blog-ph {
  width: 100%;
  height: auto;
  aspect-ratio: 10 / 7;
  max-height: 480px;
  display: block;
}

.blog-article__body {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text, #f4f4f8);
}

.blog-article__body p {
  margin: 0 0 1rem;
}

.blog-article__like-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 2rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-article__like-prompt {
  margin: 0;
  font-weight: 700;
  color: var(--text, #f4f4f8);
}

.blog-article__like-prompt span {
  display: block;
  margin-top: 0.15rem;
  font-weight: 500;
  color: var(--text-muted, #a4a4b3);
}

/* Sidebar / mobile game panel */
.blog-post-aside-mobile {
  margin: 1.75rem 0 0;
}

@media (min-width: 960px) {
  .blog-post-aside-mobile {
    display: none;
  }
}

@media (max-width: 959px) {
  .blog-post-aside {
    display: none;
  }
}

.blog-game-panel__card {
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--surface-2, #1a1a26);
}

.blog-game-panel__head {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.blog-game-panel__thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.25);
}

.blog-game-panel__name {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  line-height: 1.25;
}

.blog-game-panel__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.75rem;
  color: var(--text-muted, #a4a4b3);
}

.blog-game-panel__stats li {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.blog-game-panel__stats .ds-mso {
  font-size: 0.95rem;
}

.blog-game-panel__locale {
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: rgba(74, 222, 128, 0.12);
  color: #4ade80;
  font-size: 0.68rem;
  font-weight: 800;
}

.blog-game-panel__cta {
  width: 100%;
  min-height: 2.75rem;
}

.blog-more-posts {
  margin-top: 1.35rem;
}

.blog-more-posts__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.blog-more-posts__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0.65rem;
  align-items: center;
  padding: 0.55rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease;
}

.blog-more-posts__item:hover,
.blog-more-posts__item:focus-visible {
  border-color: rgba(255, 255, 255, 0.16);
  text-decoration: none;
  color: inherit;
}

.blog-more-posts__thumb {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.25);
}

.blog-more-posts__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.blog-more-posts__title {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-more-posts__date {
  font-size: 0.72rem;
  color: var(--text-muted, #a4a4b3);
}

@media (max-width: 480px) {
  .blog-article__like-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-article__like-footer .blog-like-btn {
    width: 100%;
  }

  .blog-feed-card__footer {
    flex-wrap: wrap;
  }

  .blog-feed-card__game-btn {
    max-width: 100%;
    flex: 1 1 auto;
  }
}
