/* BIGO IPTV — IPTV Guides index (scoped to .page-guides) */

.bigo-site.page-guides .bc-main {
  background: var(--bg);
}

/* ===== Hero (base — category compact pages) ===== */
.bigo-site.page-guides .blog-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(96px, 11vw, 120px) 0 clamp(40px, 5vw, 56px);
  background: var(--bg-elev);
  border-bottom: 1px solid var(--border);
}

.bigo-site.page-guides .blog-hero__glow {
  position: absolute;
  inset: 0;
  background: var(--hero-glow);
  pointer-events: none;
}

.bigo-site.page-guides .blog-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}

.bigo-site.page-guides .blog-hero .bc-breadcrumb {
  justify-content: center;
  margin-bottom: 18px;
}

.bigo-site.page-guides .blog-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 16px;
  border-radius: var(--r-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-bright);
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
}

.bigo-site.page-guides .blog-hero__badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--eyebrow-dot);
}

.bigo-site.page-guides .blog-hero h1 {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 14px;
}

.bigo-site.page-guides .blog-hero h1 span {
  background: var(--grad-brand-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bigo-site.page-guides .blog-hero__sub {
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto 20px;
}

.bigo-site.page-guides .blog-hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
}

.bigo-site.page-guides .blog-hero__trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--trust-chip-bg);
  border: 1px solid var(--border);
}

.bigo-site.page-guides .blog-hero__trust i,
.bigo-site.page-guides .blog-hero__trust .bigo-ico {
  flex-shrink: 0;
  font-size: 0.9rem;
  color: var(--primary-bright);
}

/* ===== Hero hub index — premium designed block ===== */
.bigo-site.page-guides .blog-hero--hub {
  padding: clamp(104px, 12vw, 132px) 0 clamp(48px, 6vw, 64px);
  margin-bottom: 0;
  border-bottom: none;
  box-shadow: 0 18px 48px -32px rgba(15, 23, 42, 0.18);
}

html[data-theme="light"] .bigo-site.page-guides .blog-hero--hub {
  background:
    linear-gradient(165deg, #eef4ff 0%, #f8fbff 38%, #ffffff 100%);
}

html[data-theme="dark"] .bigo-site.page-guides .blog-hero--hub {
  background:
    linear-gradient(165deg, #071024 0%, #0a1628 45%, #050816 100%);
  box-shadow: 0 24px 56px -28px rgba(0, 0, 0, 0.55);
}

.bigo-site.page-guides .blog-hero--hub .blog-hero__glow {
  background:
    radial-gradient(55% 70% at 92% 8%, rgba(37, 99, 235, 0.22), transparent 58%),
    radial-gradient(50% 60% at 6% 92%, rgba(249, 115, 22, 0.16), transparent 55%),
    radial-gradient(80% 50% at 50% 0%, rgba(37, 99, 235, 0.08), transparent 70%);
  opacity: 1;
}

html[data-theme="light"] .bigo-site.page-guides .blog-hero--hub .blog-hero__glow {
  background:
    radial-gradient(55% 70% at 92% 8%, rgba(37, 99, 235, 0.14), transparent 58%),
    radial-gradient(50% 60% at 6% 92%, rgba(249, 115, 22, 0.10), transparent 55%),
    radial-gradient(80% 50% at 50% 0%, rgba(37, 99, 235, 0.06), transparent 70%);
}

.bigo-site.page-guides .blog-hero--hub .blog-hero__pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: var(--hero-grid-opacity, 0.35);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(37, 99, 235, 0.55) 1px, transparent 0);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.35) 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.35) 70%, transparent 100%);
}

html[data-theme="dark"] .bigo-site.page-guides .blog-hero--hub .blog-hero__pattern {
  opacity: 0.14;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(148, 163, 184, 0.45) 1px, transparent 0);
}

.bigo-site.page-guides .blog-hero--hub::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, var(--bg));
}

.bigo-site.page-guides .blog-hero--hub .blog-hero__inner {
  max-width: 760px;
}

.bigo-site.page-guides .blog-hero--hub .blog-hero__badge {
  padding: 8px 16px;
  margin-bottom: 20px;
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.12), 0 8px 24px -8px rgba(37, 99, 235, 0.28);
}

html[data-theme="dark"] .bigo-site.page-guides .blog-hero--hub .blog-hero__badge {
  box-shadow: 0 0 0 1px rgba(96, 165, 250, 0.18), 0 8px 28px -6px rgba(37, 99, 235, 0.35);
}

.bigo-site.page-guides .blog-hero--hub h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.bigo-site.page-guides .blog-hero--hub h1 > span:first-of-type {
  background: var(--grad-brand-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bigo-site.page-guides .blog-hero--hub .blog-hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.08rem);
  max-width: 600px;
  margin-bottom: 24px;
}

.bigo-site.page-guides .blog-hero--hub .blog-hero__trust {
  margin-bottom: 28px;
}

.bigo-site.page-guides .blog-hero--hub .blog-hero__trust span {
  padding: 9px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  background: var(--surface-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-2);
  box-shadow: 0 4px 16px -8px rgba(15, 23, 42, 0.12);
}

html[data-theme="light"] .bigo-site.page-guides .blog-hero--hub .blog-hero__trust span {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(15, 23, 42, 0.1);
}

html[data-theme="dark"] .bigo-site.page-guides .blog-hero--hub .blog-hero__trust span {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(148, 163, 184, 0.18);
}

.bigo-site.page-guides .blog-hero--hub .blog-hero__search-wrap {
  max-width: 480px;
  margin: 0 auto;
}

.bigo-site.page-guides .bc-guide-search--hero {
  max-width: none;
  width: 100%;
  padding: 0 18px;
  min-height: 52px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-2);
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
}

html[data-theme="light"] .bigo-site.page-guides .bc-guide-search--hero {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 23, 42, 0.1);
}

html[data-theme="dark"] .bigo-site.page-guides .bc-guide-search--hero {
  background: rgba(11, 21, 48, 0.82);
  border-color: rgba(148, 163, 184, 0.16);
}

.bigo-site.page-guides .bc-guide-search--hero:focus-within {
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14), var(--shadow-card);
}

.bigo-site.page-guides .bc-guide-search--hero .bc-guide-search__input {
  padding: 14px 0;
  font-size: 0.95rem;
}

.bigo-site.page-guides .bc-guide-count--toolbar {
  margin-bottom: 16px;
  text-align: right;
}

.bigo-ico--guide-trust {
  width: 16px;
  height: 16px;
}

.bigo-ico--guide-search {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-dim);
}

/* ===== Blog list ===== */
.bigo-site.page-guides .blog-list-section {
  padding-top: clamp(24px, 4vw, 36px);
  padding-bottom: clamp(40px, 5vw, 56px);
}

/* Cards visible immediately — no scroll-reveal on index */
.bigo-site.page-guides .bc-reveal,
.bigo-site.page-guides .bc-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.bigo-site.page-guides .bc-guide-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 18px;
}

.bigo-site.page-guides .bc-guide-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1 1 280px;
  max-width: 420px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
}

.bigo-site.page-guides .bc-guide-search i,
.bigo-site.page-guides .bc-guide-search .bigo-ico {
  color: var(--text-dim);
  font-size: 1rem;
}

.bigo-site.page-guides .bc-guide-search__input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  padding: 12px 0;
  font: inherit;
  font-size: 0.92rem;
  color: var(--text);
}

.bigo-site.page-guides .bc-guide-search__input:focus {
  outline: none;
}

.bigo-site.page-guides .bc-guide-search:focus-within {
  border-color: rgba(37, 99, 235, 0.4);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.bigo-site.page-guides .bc-guide-count {
  margin: 0;
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* ===== Category filter chips (hub + category pages) ===== */
.bigo-site.page-guides .bc-guide-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.bigo-site.page-guides .bc-guide-cats__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border-2);
  background: transparent;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease);
}

html[data-theme="light"] .bigo-site.page-guides .bc-guide-cats__pill {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(15, 23, 42, 0.12);
  color: var(--bigo-navy);
}

html[data-theme="dark"] .bigo-site.page-guides .bc-guide-cats__pill {
  background: rgba(15, 23, 42, 0.42);
  border-color: rgba(148, 163, 184, 0.22);
  color: #E2E8F0;
}

.bigo-site.page-guides .bc-guide-cats__pill:hover {
  border-color: rgba(37, 99, 235, 0.42);
  color: var(--primary-bright);
  background: rgba(37, 99, 235, 0.08);
}

html[data-theme="light"] .bigo-site.page-guides .bc-guide-cats__pill:hover {
  background: rgba(37, 99, 235, 0.06);
  color: var(--bigo-blue-dark);
}

.bigo-site.page-guides .bc-guide-cats__pill.is-active {
  border-color: transparent;
  color: var(--btn-on-primary);
  background: var(--grad-brand);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.bigo-site.page-guides .bc-guide-cats__pill.is-active:hover {
  color: var(--btn-on-primary);
  background: var(--grad-brand);
}

.bigo-site.page-guides .bc-guide-card-wrap {
  min-height: 100%;
  display: flex;
}

.bigo-site.page-guides .bc-guide-card-wrap .bc-blog-card {
  width: 100%;
}

/* ===== Premium block grid (3 / 2 / 1) ===== */
.bigo-site.page-guides .bc-blog-grid--guides {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: stretch;
}

@media (min-width: 640px) {
  .bigo-site.page-guides .bc-blog-grid--guides {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }
}

@media (min-width: 992px) {
  .bigo-site.page-guides .bc-blog-grid--guides {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

.bigo-site.page-guides .bc-guide-empty {
  margin-top: 28px;
  padding: 24px;
  text-align: center;
  border-radius: var(--r-lg);
  border: 1px dashed var(--border);
  background: rgba(37, 99, 235, 0.04);
}

.bigo-site.page-guides .bc-guide-empty p {
  margin: 0 0 8px;
  color: var(--text-muted);
}

.bigo-site.page-guides .bc-guide-empty p:last-child {
  margin-bottom: 0;
}

.bigo-site.page-guides.page-guides-category .bc-reveal,
.bigo-site.page-guides.page-guides-category .bc-reveal.is-visible {
  opacity: 1;
  transform: none;
}

.bigo-site.page-guides .blog-list__title {
  color: var(--text);
  margin-bottom: 24px;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

.bigo-site.page-guides .blog-hero--compact {
  padding-bottom: clamp(24px, 4vw, 36px);
}

.bigo-site.page-guides .blog-hero--compact .blog-hero__inner {
  text-align: left;
  max-width: none;
}

.bigo-site.page-guides .blog-hero--compact .bc-breadcrumb {
  justify-content: flex-start;
}

/* ===== Premium hub guide cards ===== */
.bigo-site.page-guides .bc-blog-card--hub {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

html[data-theme="light"] .bigo-site.page-guides .bc-blog-card--hub {
  background: var(--surface);
  border-color: #E5E7EB;
}

html[data-theme="dark"] .bigo-site.page-guides .bc-blog-card--hub {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(148, 163, 184, 0.14);
}

.bigo-site.page-guides .bc-blog-card--hub:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(37, 99, 235, 0.28);
}

.bigo-site.page-guides .bc-blog-card--hub .bc-blog-card__thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(145deg, var(--bigo-blue-dark, #0f172a) 0%, var(--bigo-blue, #2563eb) 55%, rgba(249, 115, 22, 0.35) 100%);
}

.bigo-site.page-guides .bc-blog-card--hub .bc-blog-card__thumb picture {
  display: block;
  width: 100%;
  height: 100%;
}

.bigo-site.page-guides .bc-blog-card--hub .bc-blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s var(--ease);
}

.bigo-site.page-guides .bc-blog-card--hub:hover .bc-blog-card__img {
  transform: scale(1.04);
}

.bigo-site.page-guides .bc-blog-card--hub .bc-blog-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(8, 15, 35, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.bigo-site.page-guides .bc-blog-card--hub .bc-blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
  min-height: 0;
}

.bigo-site.page-guides .bc-blog-card--hub .bc-blog-card__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.bigo-site.page-guides .bc-blog-card--hub .bc-blog-card__cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-bright);
}

.bigo-site.page-guides .bc-blog-card--hub .bc-blog-card__meta-sep {
  color: var(--text-dim);
  font-size: 0.75rem;
  line-height: 1;
}

.bigo-site.page-guides .bc-blog-card--hub .bc-blog-card__date {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.bigo-site.page-guides .bc-blog-card--hub h3 {
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.32;
  margin: 0 0 10px;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s var(--ease);
}

.bigo-site.page-guides .bc-blog-card--hub:hover h3 {
  color: var(--primary-bright);
}

.bigo-site.page-guides .bc-blog-card--hub .bc-blog-card__excerpt {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bigo-site.page-guides .bc-blog-card--hub .bc-blog-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
}

.bigo-site.page-guides .bc-blog-card--hub .bc-blog-card__time {
  color: var(--text-dim);
  font-weight: 500;
}

.bigo-site.page-guides .bc-blog-card--hub .bc-blog-card__read {
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--primary-bright);
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none !important;
  transition: background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.bigo-site.page-guides .bc-blog-card--hub:hover .bc-blog-card__read {
  background: var(--grad-brand);
  color: var(--btn-on-primary);
  border-color: transparent;
  text-decoration: none !important;
}

.bigo-site.page-guides .bc-blog-card--hub .bc-blog-card__arrow {
  display: inline-block;
  transition: transform 0.18s var(--ease);
}

.bigo-site.page-guides .bc-blog-card--hub:hover .bc-blog-card__arrow {
  transform: translateX(3px);
}

/* Legacy card overrides (non-hub cards on guides pages) */
.bigo-site.page-guides .bc-blog-card:not(.bc-blog-card--hub) {
  border-radius: var(--r-lg);
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s var(--ease);
}

html[data-theme="light"] .bigo-site.page-guides .bc-blog-card:not(.bc-blog-card--hub) {
  background: var(--surface);
  border-color: #E5E7EB;
}

html[data-theme="dark"] .bigo-site.page-guides .bc-blog-card:not(.bc-blog-card--hub) {
  background: rgba(15, 23, 42, 0.82);
  border-color: rgba(148, 163, 184, 0.16);
}

.bigo-site.page-guides .bc-blog-card:not(.bc-blog-card--hub):hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: transparent;
}

.bigo-site.page-guides .bc-blog-card:not(.bc-blog-card--hub) .bc-blog-card__thumb {
  aspect-ratio: 16 / 9;
}

.bigo-site.page-guides .bc-blog-card:not(.bc-blog-card--hub) .bc-blog-card__read {
  padding: 6px 12px;
  border-radius: var(--r-pill);
  font-size: 0.78rem;
  background: var(--badge-bg);
  border: 1px solid var(--badge-border);
  text-decoration: none !important;
}

.bigo-site.page-guides .bc-blog-card:not(.bc-blog-card--hub):hover .bc-blog-card__read {
  background: var(--grad-brand);
  color: var(--btn-on-primary);
  border-color: transparent;
}

.bigo-site.page-guides .bc-blog-card:not(.bc-blog-card--hub) .bc-blog-card__body > p,
.bigo-site.page-guides .bc-blog-card:not(.bc-blog-card--hub) .bc-blog-card__excerpt {
  -webkit-line-clamp: 2;
}

/* ===== Guides pagination ===== */
.bigo-site.page-guides .bc-guide-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  margin-top: clamp(28px, 4vw, 40px);
  padding-top: 8px;
}

.bigo-site.page-guides .bc-guide-pagination__pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bigo-site.page-guides .bc-guide-pagination__link,
.bigo-site.page-guides .bc-guide-pagination__edge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease), background 0.18s var(--ease);
}

.bigo-site.page-guides .bc-guide-pagination__link {
  min-width: 40px;
  padding: 0 12px;
}

.bigo-site.page-guides .bc-guide-pagination__link:hover {
  border-color: rgba(37, 99, 235, 0.35);
  color: var(--primary-bright);
}

.bigo-site.page-guides .bc-guide-pagination__link.is-current {
  background: var(--grad-brand);
  border-color: transparent;
  color: var(--btn-on-primary);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
}

.bigo-site.page-guides .bc-guide-pagination__edge:hover {
  border-color: rgba(37, 99, 235, 0.35);
  color: var(--primary-bright);
}

.bigo-site.page-guides .bc-guide-pagination__edge--disabled {
  opacity: 0.45;
  pointer-events: none;
}

html[data-theme="dark"] .bigo-site.page-guides .bc-guide-pagination__link,
html[data-theme="dark"] .bigo-site.page-guides .bc-guide-pagination__edge {
  background: rgba(15, 23, 42, 0.65);
}

.bigo-site.page-guides .blog-hero__page {
  font-size: 0.72em;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
}

/* ===== Category page: related + CTA ===== */
.bigo-site.page-guides .bc-guide-related {
  margin-top: clamp(36px, 5vw, 52px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--border);
}

.bigo-site.page-guides .bc-guide-related__title {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.bigo-site.page-guides .bc-guide-related__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bigo-site.page-guides .bc-guide-related__links a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.18s var(--ease), color 0.18s var(--ease);
}

.bigo-site.page-guides .bc-guide-related__links a:hover {
  border-color: rgba(37, 99, 235, 0.35);
  color: var(--primary-bright);
}

.bigo-site.page-guides .bc-guide-cta {
  margin-top: clamp(28px, 4vw, 40px);
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface-glass);
  text-align: center;
}

html[data-theme="light"] .bigo-site.page-guides .bc-guide-cta {
  background: var(--surface);
}

.bigo-site.page-guides .bc-guide-cta p {
  margin: 0 0 16px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.bigo-site.page-guides .bc-guide-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

/* ===== Browse-by-topic grid (hub page 1) ===== */
.bigo-site.page-guides .bc-guide-topics {
  margin-top: clamp(36px, 5vw, 52px);
  padding-top: clamp(24px, 3vw, 32px);
  border-top: 1px solid var(--border);
}

.bigo-site.page-guides .bc-guide-topics__title {
  margin: 0 0 8px;
  font-size: clamp(1.15rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: var(--text);
}

.bigo-site.page-guides .bc-guide-topics__lead {
  margin: 0 0 20px;
  max-width: 640px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.bigo-site.page-guides .bc-guide-topics__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 600px) {
  .bigo-site.page-guides .bc-guide-topics__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .bigo-site.page-guides .bc-guide-topics__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bigo-site.page-guides .bc-guide-topics__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px 16px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}

html[data-theme="dark"] .bigo-site.page-guides .bc-guide-topics__card {
  background: rgba(15, 23, 42, 0.65);
}

.bigo-site.page-guides .bc-guide-topics__card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: var(--shadow-card);
}

.bigo-site.page-guides .bc-guide-topics__label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.bigo-site.page-guides .bc-guide-topics__count {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-bright);
}

.bigo-site.page-guides .bc-guide-topics__tease {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.bigo-site.page-guides .bc-guide-topics__arrow {
  position: absolute;
  top: 18px;
  right: 16px;
  font-size: 1rem;
  color: var(--text-dim);
  transition: transform 0.18s var(--ease), color 0.18s var(--ease);
}

.bigo-site.page-guides .bc-guide-topics__card:hover .bc-guide-topics__arrow {
  transform: translateX(3px);
  color: var(--primary-bright);
}

@media (max-width: 599px) {
  .bigo-site.page-guides .blog-hero__trust {
    flex-direction: column;
    align-items: stretch;
  }

  .bigo-site.page-guides .blog-hero__trust span {
    justify-content: center;
  }

  .bigo-site.page-guides .bc-blog-card__foot {
    flex-wrap: wrap;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bigo-site.page-guides .bc-blog-card--hub,
  .bigo-site.page-guides .bc-blog-card:not(.bc-blog-card--hub),
  .bigo-site.page-guides .bc-guide-topics__card {
    transition: none;
  }

  .bigo-site.page-guides .bc-blog-card--hub:hover .bc-blog-card__img {
    transform: none;
  }
}
