/* Fortnite.com /news-inspired cheat news layout */

body.blog-page {
  background: #101014;
  color: #fff;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

body.blog-page::before {
  display: none;
}

.blog-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(16, 16, 20, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

@media (min-width: 640px) {
  .blog-topbar {
    padding: 0.85rem 1.25rem;
  }
}

.blog-back {
  justify-self: start;
}

.blog-logo-link {
  justify-self: center;
}

.blog-shop-link {
  justify-self: end;
}

.blog-back,
.blog-shop-link {
  font-family: var(--font-shop);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(0.65rem, 2.5vw, 0.75rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shop-teal);
  text-decoration: none;
  white-space: nowrap;
}

.blog-back:hover,
.blog-shop-link:hover {
  color: #fff;
}

.blog-logo-link {
  display: flex;
  align-items: center;
}

.blog-shell {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.75rem 1rem 4rem;
}

@media (min-width: 640px) {
  .blog-shell {
    padding: 2rem 1.25rem 4rem;
  }
}

.blog-page-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-page-title {
  font-family: var(--font-shop);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(2.25rem, 8vw, 4rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transform: skewX(-3deg);
  margin-bottom: 0.5rem;
  line-height: 0.95;
}

.blog-page-sub {
  color: #b8c4d8;
  font-size: clamp(0.9rem, 2.5vw, 1rem);
  max-width: 56ch;
  line-height: 1.55;
}

.blog-filter-wrap {
  margin-bottom: 2rem;
}

.blog-filter-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.65rem;
}

.blog-pills-wrap {
  position: relative;
  margin: 0 -1rem;
  padding: 0 1rem;
}

.blog-pills-wrap::before,
.blog-pills-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1.5rem;
  pointer-events: none;
  z-index: 2;
}

.blog-pills-wrap::before {
  left: 0;
  background: linear-gradient(90deg, #101014, transparent);
}

.blog-pills-wrap::after {
  right: 0;
  background: linear-gradient(270deg, #101014, transparent);
}

@media (min-width: 900px) {
  .blog-pills-wrap {
    margin: 0;
    padding: 0;
  }

  .blog-pills-wrap::before,
  .blog-pills-wrap::after {
    display: none;
  }
}

.blog-pills {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.45rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.35rem;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

@media (min-width: 900px) {
  .blog-pills {
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 0;
  }
}

.blog-pills::-webkit-scrollbar {
  display: none;
}

.blog-pill {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  scroll-snap-align: start;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}

.blog-pill:hover {
  border-color: var(--shop-teal);
  color: var(--shop-teal);
  transform: translateY(-1px);
}

.blog-pill.is-active {
  background: rgba(0, 200, 232, 0.2);
  border-color: var(--shop-teal);
  color: var(--shop-teal);
  box-shadow: 0 0 0 1px rgba(0, 200, 232, 0.15);
}

.blog-active-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(0, 200, 232, 0.08);
  border: 1px solid rgba(0, 200, 232, 0.2);
}

.blog-active-filter-label {
  font-size: 0.85rem;
  color: #b8c4d8;
}

.blog-active-filter-label strong {
  color: var(--shop-teal);
  font-weight: 700;
}

.blog-active-filter-clear {
  font-family: var(--font-shop);
  font-style: italic;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: border-color 0.2s, color 0.2s;
}

.blog-active-filter-clear:hover {
  border-color: var(--shop-teal);
  color: var(--shop-teal);
}

.blog-section-title {
  font-family: var(--font-shop);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.15rem;
  transform: skewX(-3deg);
}

.blog-featured {
  margin-bottom: 3rem;
}

.blog-featured-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: #1a1a22;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.blog-featured-card:hover {
  border-color: rgba(0, 200, 232, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.blog-featured-hitarea {
  display: grid;
  grid-template-columns: 1fr;
  text-decoration: none;
  color: inherit;
}

@media (min-width: 768px) {
  .blog-featured-hitarea {
    grid-template-columns: 1.15fr 1fr;
    min-height: 280px;
  }
}

.blog-featured-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, #0a1e32, #16161e);
  overflow: hidden;
}

@media (min-width: 768px) {
  .blog-featured-media {
    aspect-ratio: auto;
    min-height: 100%;
  }
}

.blog-post-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.blog-featured-card:hover .blog-post-img,
.blog-card:hover .blog-post-img {
  transform: scale(1.03);
}

.blog-featured-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem 1.25rem 1rem;
  gap: 0.6rem;
}

@media (min-width: 768px) {
  .blog-featured-body {
    padding: 1.5rem 1.5rem 1.25rem;
    gap: 0.7rem;
  }
}

.blog-card-date {
  font-size: 0.78rem;
  color: #888;
  letter-spacing: 0.04em;
}

.blog-featured-title {
  font-family: var(--font-shop);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.35rem, 4vw, 2.1rem);
  line-height: 1.08;
  text-transform: uppercase;
  transform: skewX(-3deg);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-featured-excerpt {
  color: #b8c4d8;
  font-size: 0.92rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.blog-card-foot {
  padding: 0.65rem 1.1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.blog-featured-card .blog-card-foot {
  padding: 0.75rem 1.25rem 1.1rem;
}

.blog-tag {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
  padding: 0.28rem 0.55rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ccc;
  text-decoration: none;
  line-height: 1.2;
  transition: background 0.2s, color 0.2s;
}

.blog-tag:hover {
  background: rgba(0, 200, 232, 0.18);
  color: var(--shop-teal);
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  font-family: var(--font-shop);
  font-style: italic;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--shop-teal);
}

.blog-read-more::after {
  content: "→";
  transition: transform 0.2s;
}

.blog-featured-card:hover .blog-read-more::after {
  transform: translateX(4px);
}

.blog-recent {
  margin-bottom: 2rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 512px) {
  .blog-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
    gap: 1.35rem;
  }
}

.blog-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a22;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  min-height: 100%;
}

.blog-card-hitarea {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  border-color: rgba(0, 200, 232, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.blog-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(180deg, #0a1e32, #16161e);
  overflow: hidden;
  flex-shrink: 0;
}

.blog-card-body {
  padding: 1rem 1.1rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  flex: 1;
}

.blog-card-title {
  font-family: var(--font-shop);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(1rem, 2.5vw, 1.12rem);
  line-height: 1.2;
  text-transform: uppercase;
  transform: skewX(-2deg);
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.blog-card:hover .blog-card-title {
  color: var(--shop-teal);
}

/* Loading skeletons */
.blog-skeleton-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 512px) {
  .blog-skeleton-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
    gap: 1.35rem;
  }
}

.blog-skeleton-card {
  border-radius: 12px;
  overflow: hidden;
  background: #1a1a22;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.blog-skeleton-media {
  aspect-ratio: 16 / 10;
  background: linear-gradient(90deg, #1a1a22 0%, #252530 50%, #1a1a22 100%);
  background-size: 200% 100%;
  animation: blog-shimmer 1.4s ease-in-out infinite;
}

.blog-skeleton-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.blog-skeleton-line {
  height: 0.65rem;
  border-radius: 4px;
  background: linear-gradient(90deg, #222228 0%, #2e2e38 50%, #222228 100%);
  background-size: 200% 100%;
  animation: blog-shimmer 1.4s ease-in-out infinite;
}

.blog-skeleton-line.short {
  width: 35%;
}

.blog-skeleton-line.mid {
  width: 70%;
}

@keyframes blog-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-page-btn {
  font-family: var(--font-shop);
  font-style: italic;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  min-width: 4.5rem;
  text-align: center;
}

.blog-page-btn:hover:not(.is-disabled):not(.is-current) {
  border-color: var(--shop-teal);
  background: rgba(0, 200, 232, 0.12);
  color: var(--shop-teal);
}

.blog-page-btn.is-disabled {
  opacity: 0.3;
  pointer-events: none;
  cursor: default;
}

.blog-page-btn.is-current {
  background: rgba(0, 200, 232, 0.2);
  border-color: var(--shop-teal);
  color: var(--shop-teal);
  pointer-events: none;
}

.blog-page-ellipsis {
  color: #666;
  font-size: 0.85rem;
  padding: 0 0.25rem;
  user-select: none;
}

.blog-page-info {
  font-size: 0.82rem;
  color: #888;
  width: 100%;
  text-align: center;
  order: -1;
  margin-bottom: 0.35rem;
}

@media (min-width: 480px) {
  .blog-page-info {
    width: auto;
    order: 0;
    margin-bottom: 0;
    padding: 0 0.5rem;
  }
}

.blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: #888;
  font-size: 0.95rem;
}

/* Article page */
.blog-article-shell {
  max-width: 780px;
}

.blog-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.78rem;
  color: #888;
}

.blog-breadcrumb a {
  color: var(--shop-teal);
  text-decoration: none;
  font-weight: 600;
}

.blog-breadcrumb a:hover {
  text-decoration: underline;
}

.blog-breadcrumb-sep {
  color: #555;
  user-select: none;
}

.blog-breadcrumb-current {
  color: #aaa;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
}

.blog-article-hero {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1.75rem;
  background: linear-gradient(180deg, #0a1e32, #1a1a22);
  border: 1px solid rgba(255, 255, 255, 0.08);
  aspect-ratio: 16 / 10;
  max-height: 420px;
}

.blog-article-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.blog-hero-igdb {
  padding: 0;
  min-height: 0;
}

.blog-hero-igdb img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
  filter: none;
  border-radius: 0;
}

.blog-image-credit {
  font-size: 0.72rem;
  color: #666;
  margin: -1rem 0 1.25rem;
  text-align: right;
}

.blog-article-header {
  margin-bottom: 1.75rem;
}

.blog-article-title {
  font-family: var(--font-shop);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.75rem, 5.5vw, 2.75rem);
  line-height: 1.05;
  text-transform: uppercase;
  transform: skewX(-3deg);
  margin: 0.65rem 0 0.85rem;
  word-break: break-word;
}

.blog-article-content p {
  color: #c8d0e0;
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.15rem;
}

.blog-article-content p:last-child {
  margin-bottom: 0;
}

.blog-article-cta {
  margin-top: 2.25rem;
  padding: 1.5rem 1.25rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 200, 232, 0.1), rgba(61, 31, 110, 0.35));
  border: 1px solid rgba(0, 200, 232, 0.22);
  text-align: center;
}

.blog-article-cta h2 {
  font-family: var(--font-shop);
  font-style: italic;
  font-weight: 900;
  font-size: clamp(1.15rem, 3vw, 1.35rem);
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.blog-article-cta p {
  color: #b8c4d8;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

a.vbucks-btn {
  text-decoration: none;
  display: inline-flex;
}

.blog-related {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-related h2 {
  font-family: var(--font-shop);
  font-style: italic;
  font-weight: 900;
  font-size: 1.15rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  transform: skewX(-2deg);
}

.blog-related-grid {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.blog-related-link {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e0e6f0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.35;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s;
}

.blog-related-link:hover {
  border-color: rgba(0, 200, 232, 0.35);
  background: rgba(0, 200, 232, 0.08);
  color: var(--shop-teal);
  transform: translateX(4px);
}

.blog-related-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.blog-related-list a {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e0e6f0;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.35;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.2s;
}

.blog-related-list a:hover {
  border-color: rgba(0, 200, 232, 0.35);
  background: rgba(0, 200, 232, 0.08);
  color: var(--shop-teal);
  transform: translateX(4px);
}

.blog-loading,
.blog-not-found {
  text-align: center;
  padding: 4rem 1rem;
  color: #888;
}

.blog-not-found h1 {
  font-family: var(--font-shop);
  font-style: italic;
  font-weight: 900;
  font-size: 1.75rem;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}

.blog-footer {
  text-align: center;
  padding: 2rem 1rem 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #888;
  font-size: 0.85rem;
  background: #0c0c10;
}

.blog-footer a {
  color: var(--shop-teal);
  text-decoration: none;
}

.blog-footer a:hover {
  text-decoration: underline;
}

.blog-footer .fn-logo {
  margin-bottom: 0.75rem;
  opacity: 0.85;
}

.blog-featured.is-hidden {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .blog-skeleton-media,
  .blog-skeleton-line {
    animation: none;
  }
}

.blog-article-page .blog-topbar .blog-back {
  max-width: 42vw;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 640px) {
  .blog-article-page .blog-topbar .blog-back {
    max-width: none;
    overflow: visible;
    text-overflow: clip;
  }
}
