/* Single article — Turbo Reviews layout, ReviewDecode light theme */

.article-page {
  --art-text: var(--sc-shell-text, #0f172a);
  --art-muted: var(--sc-shell-muted, #64748b);
  --art-line: rgba(15, 23, 42, 0.08);
  --art-brand: var(--brand, #1a73e8);
  --art-brand-soft: rgba(26, 115, 232, 0.1);
  --art-brand-border: rgba(26, 115, 232, 0.28);
  --art-surface: #fff;
  --art-bg: var(--sc-shell-bg, #f4f7fc);
  color: var(--art-text);
  background: var(--art-bg);
  padding-bottom: 0;
}

.article-page a {
  color: inherit;
}

/* ── Hero ───────────────────────────────────── */
.article-hero {
  position: relative;
  width: 100%;
  min-height: clamp(320px, 45vw, 520px);
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 55%, #1a73e8 100%);
}

.article-hero__media {
  position: absolute;
  inset: 0;
}

.article-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(15, 23, 42, 0.88) 0%,
    rgba(30, 58, 95, 0.72) 45%,
    rgba(26, 115, 232, 0.25) 75%,
    transparent 100%
  );
}

.article-hero__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6rem;
  background: linear-gradient(to top, var(--art-bg), transparent);
}

.article-hero__content {
  position: relative;
  z-index: 2;
  min-height: clamp(320px, 45vw, 520px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.5rem 1.5rem 3rem;
  max-width: var(--sc-max, 1200px);
  margin: 0 auto;
}

.article-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.article-hero__badge-logo {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.article-hero__badge-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.article-hero__badge-logo-ph,
.article-hero__badge-logo .rd-logo-ph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--art-brand, #1a73e8);
}

.article-hero__badge-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.article-hero__title {
  max-width: 40rem;
  margin: 0;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.25rem;
  margin-top: 1.1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
}

.article-hero__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.article-hero__meta-item svg {
  flex-shrink: 0;
  color: #93c5fd;
}

.article-hero__cat {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  font-size: 0.6875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: background 0.15s;
}

.article-hero__cat:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #fff;
}

/* ── Layout ─────────────────────────────────── */
.article-layout {
  max-width: var(--sc-max, 1200px);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
}

@media (min-width: 1024px) {
  .article-layout {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
  }
}

.article-main {
  min-width: 0;
  flex: 1;
}

.article-sidebar {
  display: none;
}

@media (min-width: 1024px) {
  .article-sidebar {
    display: block;
    width: 16rem;
    flex-shrink: 0;
    position: sticky;
    top: calc(var(--sc-nav-h, 64px) + 1.25rem);
  }
}

/* ── Lead / body ────────────────────────────── */
.article-lead {
  margin: 0 0 2rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--art-brand-border);
  background: var(--art-brand-soft);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.65;
  color: #0c4a6e;
}

.article-body {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: #374151;
}

.article-body > :first-child {
  margin-top: 0;
}

.article-body h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--art-text);
  margin: 2.75rem 0 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid #dbeafe;
  letter-spacing: -0.025em;
}

.article-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e293b;
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.015em;
}

.article-body p {
  margin: 0 0 1.4rem;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.4rem;
  padding-left: 1.6rem;
}

.article-body li {
  margin-bottom: 0.55rem;
}

.article-body strong {
  color: #1e293b;
  font-weight: 700;
}

.article-body a {
  color: var(--art-brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-body a:hover {
  color: #1557b0;
}

.article-body blockquote {
  border-left: 4px solid var(--art-brand);
  background: var(--art-brand-soft);
  margin: 1.75rem 0;
  padding: 1.1rem 1.35rem;
  border-radius: 0 0.75rem 0.75rem 0;
  font-style: italic;
  color: #374151;
}

.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
}

.article-body figure {
  margin: 2rem 0;
}

.article-body figcaption {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--art-muted);
  text-align: center;
}

/* ── Brand card ─────────────────────────────── */
.article-brand-card {
  margin-bottom: 2.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1.25rem;
  border: 1px solid var(--art-brand-border);
  background: linear-gradient(135deg, #fff 0%, #f0f7ff 100%);
  box-shadow: 0 4px 20px rgba(26, 115, 232, 0.08);
}

.article-brand-card__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .article-brand-card__inner {
    flex-direction: row;
    align-items: center;
  }
}

.article-brand-card__logo img,
.article-brand-card__logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.article-sidebar-card__logo img,
.article-sidebar-card__logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.article-bottom-cta__logo img,
.article-bottom-cta__logo-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.article-hero__badge-logo img,
.article-hero__badge-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.article-brand-card__logo {
  width: 6.75rem;
  height: 6.75rem;
  flex-shrink: 0;
  border-radius: 1rem;
  border: 1.5px solid var(--art-brand-border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  box-shadow: 0 2px 12px rgba(26, 115, 232, 0.08);
}

.article-brand-card__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.article-brand-card__logo-ph {
  font-size: 2rem;
  font-weight: 800;
  color: var(--art-brand);
}

.article-brand-card__info {
  flex: 1;
  min-width: 0;
}

.article-brand-card__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--art-brand);
}

.article-brand-card__name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--art-text);
}

.article-brand-card__desc {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--art-muted);
}

.article-brand-card__cta-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

@media (min-width: 640px) {
  .article-brand-card__cta-wrap {
    align-items: flex-end;
  }
}

.article-shop-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #1a73e8 0%, #1557b0 100%);
  color: #fff !important;
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none !important;
  box-shadow: 0 6px 24px rgba(26, 115, 232, 0.35);
  transition: transform 0.2s, box-shadow 0.2s;
}

.article-shop-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(26, 115, 232, 0.42);
  color: #fff !important;
}

.article-shop-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.article-brand-card__cta-note {
  margin: 0;
  font-size: 0.625rem;
  color: var(--art-muted);
}

/* Sidebar brand card variant */
.article-sidebar-card {
  border-radius: 1rem;
  border: 1px solid var(--art-line);
  background: var(--art-surface);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.article-sidebar-card__body {
  padding: 1.25rem;
}

.article-sidebar-card__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--art-muted);
}

.article-sidebar-card__logo {
  width: 6rem;
  height: 3rem;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem;
  border-radius: 0.65rem;
  border: 1px solid var(--art-line);
  background: #f8fafc;
}

.article-sidebar-card__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.article-sidebar-card__name {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--art-text);
}

.article-sidebar-card__desc {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--art-muted);
}

.article-sidebar-card .article-shop-btn {
  width: 100%;
  justify-content: center;
  margin-top: 1rem;
  padding: 0.65rem 1rem;
  font-size: 0.8125rem;
}

.article-info-card {
  border-radius: 1rem;
  border: 1px solid var(--art-line);
  background: var(--art-surface);
  padding: 1.25rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  margin-bottom: 1.25rem;
}

.article-info-card__title {
  margin: 0 0 0.85rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--art-muted);
}

.article-info-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: #475569;
}

.article-info-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.article-info-card__list svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--art-brand);
}

.article-back-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  border: 1px solid var(--art-line);
  background: var(--art-surface);
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  transition: border-color 0.15s, color 0.15s;
}

.article-back-link:hover {
  border-color: var(--art-brand-border);
  color: var(--art-brand);
}

.article-back-link svg {
  color: var(--art-brand);
}

/* ── Bottom CTA ─────────────────────────────── */
.article-bottom-cta {
  margin-top: 3rem;
  border-radius: 1.5rem;
  border: 1px solid var(--art-brand-border);
  background: linear-gradient(135deg, #eff6ff 0%, #f0f7ff 100%);
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(26, 115, 232, 0.08);
}

.article-bottom-cta__body {
  padding: 2rem 1.5rem;
  text-align: center;
}

.article-bottom-cta__logo {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1rem;
  border-radius: 1rem;
  border: 1px solid var(--art-line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}

.article-bottom-cta__logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.article-bottom-cta__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--art-text);
}

.article-bottom-cta__desc {
  margin: 0.5rem auto 0;
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--art-muted);
}

.article-bottom-cta__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.article-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  border: 2px solid var(--art-brand-border);
  background: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--art-brand);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s;
}

.article-cat-btn:hover {
  background: var(--art-brand-soft);
  border-color: var(--art-brand);
  color: var(--art-brand);
}

/* ── Topics ─────────────────────────────────── */
.article-topics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--art-line);
}

.article-topics__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--art-muted);
  margin-right: 0.25rem;
}

.article-topics__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--art-brand-border);
  background: var(--art-brand-soft);
  font-size: 0.75rem;
  font-weight: 600;
  color: #1557b0;
  text-decoration: none;
  transition: background 0.15s;
}

.article-topics__tag:hover {
  background: rgba(26, 115, 232, 0.16);
  color: #1557b0;
}

/* ── Post nav ───────────────────────────────── */
.article-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.article-nav__item a {
  display: block;
  padding: 1rem 1.15rem;
  border-radius: 0.85rem;
  border: 1px solid var(--art-line);
  background: var(--art-surface);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--art-text);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}

.article-nav__item a:hover {
  border-color: var(--art-brand-border);
  color: var(--art-brand);
}

.article-nav__item--next {
  text-align: right;
}

/* ── Related ────────────────────────────────── */
.article-related {
  padding: 4rem 0 5rem;
  border-top: 1px solid var(--art-line);
  background: var(--art-surface);
}

.article-related__inner {
  max-width: var(--sc-max, 1200px);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.article-related__label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--art-muted);
  margin: 0;
}

.article-related__title {
  margin: 0.35rem 0 2rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--art-text);
}

.article-related__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .article-related__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .article-related__grid {
    grid-template-columns: 1fr;
  }

  .article-nav {
    grid-template-columns: 1fr;
  }

  .article-nav__item--next {
    text-align: left;
  }
}
