/* OneClickRemix — Guides (SEO articles) */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #10183c;
  --navy-dark: #0b1128;
  --accent: #0866ff;
  --accent-dark: #0653cc;
  --white: #ffffff;
  --gray: #64748b;
  --gray-light: #94a3b8;
  --light: #f3f7ff;
  --border: #e2e8f0;
  --text: #0f172a;
  --grad-deep: linear-gradient(90deg, #2563eb, #7c3aed, #059669);
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ── Nav ── */
.guides-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 32px;
  height: 64px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.guides-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.4px;
  text-decoration: none;
}
.guides-logo:hover { text-decoration: none; }
.guides-logo .logo-mark-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: block;
  flex-shrink: 0;
}
.guides-logo em {
  font-style: normal;
}
.guides-logo .remix {
  background: var(--grad-deep);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.guides-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.guides-nav-links a {
  color: #475569;
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 13px;
  border-radius: 999px;
  text-decoration: none;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.guides-nav-links a:hover {
  color: var(--navy);
  background: rgba(16, 24, 60, 0.05);
  text-decoration: none;
}
.guides-nav-links a.is-active {
  color: var(--navy);
  font-weight: 700;
}
.guides-nav-cta {
  display: inline-flex !important;
  align-items: center;
  background: var(--grad-deep) !important;
  color: #fff !important;
  font-weight: 700 !important;
  padding: 10px 18px !important;
  border-radius: 999px !important;
}
.guides-nav-cta:hover {
  filter: brightness(1.06);
  background: var(--grad-deep) !important;
  color: #fff !important;
  text-decoration: none !important;
}

/* ── Layout ── */
.guides-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.guides-index-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.guides-kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.guides-page-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-bottom: 12px;
}

.guides-page-lead {
  font-size: 17px;
  color: var(--gray);
  max-width: 560px;
  margin-bottom: 40px;
}

/* ── Index cards ── */
.guides-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.guide-card {
  display: block;
  padding: 24px 28px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.guide-card:hover {
  border-color: #bfdbfe;
  box-shadow: 0 8px 24px rgba(16, 24, 60, 0.06);
  text-decoration: none;
}

.guide-card-meta {
  font-size: 13px;
  color: var(--gray-light);
  margin-bottom: 8px;
}

.guide-card h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
  line-height: 1.35;
  margin-bottom: 8px;
}

.guide-card p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.55;
}

.guide-card-more {
  display: inline-block;
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.guide-card.is-draft {
  border-style: dashed;
  background: #fafbff;
}
.guide-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--light);
  border-radius: 6px;
}

/* ── Template / placeholder markers (article-template only) ── */
.tpl-banner {
  margin: 0 0 28px;
  padding: 14px 16px;
  background: #fff8e6;
  border: 1px dashed #eab308;
  border-radius: 10px;
  font-size: 14px;
  color: #713f12;
  line-height: 1.5;
}
.tpl-slot {
  margin: 20px 0;
  padding: 14px 16px;
  border: 1px dashed #93c5fd;
  border-radius: 10px;
  background: #f8fbff;
}
.tpl-slot-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.tpl-slot .tpl-hint {
  font-size: 13px;
  color: var(--gray);
  font-style: italic;
  margin: 0;
}

/* ── Article ── */
.article-header {
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.article-meta {
  font-size: 13px;
  color: var(--gray-light);
  margin-bottom: 14px;
}

.article-title {
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.7px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.article-lead {
  font-size: 18px;
  color: var(--gray);
  line-height: 1.55;
}

.article-hero {
  margin: 0 0 32px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--light);
}

.article-hero img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.article-hero-credit {
  padding: 10px 14px;
  font-size: 12px;
  color: var(--gray-light);
  text-align: right;
  border-top: 1px solid var(--border);
  background: #fafbfd;
}
.article-hero-credit a {
  color: var(--gray);
  font-weight: 500;
}

.article-body h2 {
  font-size: 22px;
  font-weight: 750;
  color: var(--navy);
  letter-spacing: -0.3px;
  margin: 36px 0 12px;
  line-height: 1.3;
}

.article-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 10px;
}

.article-body p {
  margin-bottom: 16px;
  font-size: 16px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 20px 1.25em;
  font-size: 16px;
}

.article-body li {
  margin-bottom: 8px;
}

.article-body strong {
  color: var(--navy);
}

.article-body a {
  font-weight: 500;
}

.article-callout {
  margin: 28px 0;
  padding: 18px 20px;
  background: var(--light);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  font-size: 15px;
  color: var(--navy);
}

/* ── Bottom CTA ── */
.article-cta {
  margin-top: 48px;
  padding: 32px 28px;
  background: var(--navy-dark);
  border-radius: 16px;
  text-align: center;
  color: #fff;
}

.article-cta h2 {
  font-size: 22px;
  font-weight: 750;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
}

.article-cta p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 20px;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.article-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--grad-deep);
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: 10px;
  text-decoration: none !important;
}
.article-cta-btn:hover {
  filter: brightness(1.06);
  text-decoration: none !important;
}

.article-cta-secondary {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}
.article-cta-secondary a {
  color: rgba(255, 255, 255, 0.75);
}

.article-related {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.article-related h2 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 14px;
}

.article-related a {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  text-decoration: none;
}
.article-related a:hover {
  color: var(--accent);
}

/* ── Footer strip ── */
.guides-footer {
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--gray-light);
}
.guides-footer a {
  color: var(--gray);
  margin: 0 6px;
}

@media (max-width: 640px) {
  .guides-nav {
    padding: 0 16px;
  }
  .guides-nav-links a:not(.guides-nav-cta) {
    display: none;
  }
  .guides-wrap,
  .guides-index-wrap {
    padding: 32px 18px 64px;
  }
  .guide-card {
    padding: 20px;
  }
}
