/* Shared stylesheet for the public affiliate programme pages:
   /web-hosting-affiliates-websnp, /web-hosting-affiliate-commission,
   /how-web-hosting-affiliates-work, /web-hosting-affiliate-faq,
   /websnp-affiliate-policy and /hosting-affiliate-program-nepal.
   Kept in one file because the six pages share a single visual system. */

.aff-page { color: #1e293b; }

/* ── Breadcrumb ─────────────────────────────────────────────────── */
.aff-crumbs { max-width: 1140px; margin: 0 auto; padding: 18px 20px 0; font-size: 13px; color: #64748b; }
.aff-crumbs a { color: #0d9488; text-decoration: none; }
.aff-crumbs a:hover { text-decoration: underline; }

/* ── Hero ───────────────────────────────────────────────────────── */
.aff-hero { background: #0f172a; color: #fff; padding: 72px 20px; text-align: center; }
.aff-hero-eyebrow {
  display: inline-block; background: rgba(13, 148, 136, 0.18); color: #5eead4;
  padding: 6px 14px; border-radius: 999px; font-size: 12px; font-weight: 700;
  letter-spacing: .6px; text-transform: uppercase; margin-bottom: 18px;
}
.aff-hero h1 { font-size: 40px; font-weight: 800; margin: 0 0 18px; line-height: 1.2; color: #fff; }
.aff-hero p { font-size: 18px; color: #cbd5e1; max-width: 760px; margin: 0 auto 28px; line-height: 1.7; }
.aff-hero-stats { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 30px auto 0; max-width: 900px; }
.aff-hero-stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 16px 22px; min-width: 165px; }
.aff-hero-stat strong { display: block; font-size: 24px; font-weight: 800; color: #5eead4; }
.aff-hero-stat span { font-size: 12px; color: #94a3b8; text-transform: uppercase; letter-spacing: .5px; }

/* ── Buttons ────────────────────────────────────────────────────── */
.aff-btn {
  display: inline-block; padding: 14px 30px; border-radius: 10px; font-weight: 700;
  font-size: 15px; text-decoration: none; border: 2px solid transparent; transition: transform .2s, background .2s;
}
.aff-btn:hover { transform: translateY(-2px); text-decoration: none; }
.aff-btn-primary { background: #0d9488; color: #fff; }
.aff-btn-primary:hover { background: #0f766e; color: #fff; }
.aff-btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.aff-btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.aff-btn-outline { border-color: #0d9488; color: #0d9488; background: #fff; }
.aff-btn-outline:hover { background: #f0fdfa; color: #0f766e; }
.aff-cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ── Sections ───────────────────────────────────────────────────── */
.aff-section { padding: 64px 20px; }
.aff-section-alt { background: #f8fafc; }
.aff-inner { max-width: 1140px; margin: 0 auto; }
.aff-section h2 { font-size: 30px; font-weight: 800; margin: 0 0 14px; color: #0f172a; }
.aff-section h3 { font-size: 20px; font-weight: 700; margin: 28px 0 10px; color: #0f172a; }
.aff-section h4 { font-size: 16px; font-weight: 700; margin: 20px 0 8px; color: #0f172a; }
.aff-lede { font-size: 17px; color: #475569; line-height: 1.8; max-width: 820px; margin: 0 0 32px; }
.aff-section p { color: #475569; line-height: 1.8; }
.aff-section ul, .aff-section ol { color: #475569; line-height: 1.8; padding-left: 22px; }
.aff-section li { margin-bottom: 8px; }
.aff-center { text-align: center; }
.aff-center .aff-lede { margin-left: auto; margin-right: auto; }

/* ── Cards ──────────────────────────────────────────────────────── */
.aff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.aff-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 28px; }
.aff-card-icon { font-size: 26px; color: #0d9488; margin-bottom: 14px; }
.aff-card h3 { font-size: 18px; margin: 0 0 10px; }
.aff-card p { margin: 0; font-size: 14.5px; }
.aff-step-num {
  width: 36px; height: 36px; border-radius: 50%; background: #0d9488; color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 14px;
}

/* ── Rate table ─────────────────────────────────────────────────── */
.aff-table-wrap { overflow-x: auto; border: 1px solid #e2e8f0; border-radius: 14px; background: #fff; }
.aff-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.aff-table th, .aff-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid #f1f5f9; font-size: 14.5px; }
.aff-table th { background: #f8fafc; font-weight: 700; color: #0f172a; font-size: 13px; text-transform: uppercase; letter-spacing: .4px; }
.aff-table tbody tr:last-child td { border-bottom: 0; }
.aff-table .aff-rate { font-weight: 800; color: #0d9488; font-size: 17px; white-space: nowrap; }
.aff-table a { color: #0d9488; text-decoration: none; }
.aff-table a:hover { text-decoration: underline; }

/* ── Callout ────────────────────────────────────────────────────── */
.aff-note {
  background: #f0fdfa; border-left: 4px solid #0d9488; border-radius: 0 10px 10px 0;
  padding: 18px 22px; margin: 24px 0; font-size: 14.5px; color: #134e4a;
}
.aff-note-warn { background: #fffbeb; border-left-color: #d97706; color: #78350f; }

/* ── FAQ ────────────────────────────────────────────────────────── */
.aff-faq { max-width: 860px; margin: 0 auto; }
.aff-faq-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 22px 24px; margin-bottom: 14px; }
.aff-faq-item h3 { font-size: 17px; margin: 0 0 10px; }
.aff-faq-item p { margin: 0; font-size: 14.5px; }

/* ── Policy ─────────────────────────────────────────────────────── */
.aff-policy { max-width: 880px; margin: 0 auto; }
.aff-policy h2 { font-size: 22px; margin-top: 40px; padding-bottom: 8px; border-bottom: 2px solid #f1f5f9; }
.aff-policy h2:first-of-type { margin-top: 0; }
.aff-policy p, .aff-policy li { font-size: 15px; }
.aff-policy-meta { font-size: 13px; color: #64748b; margin-bottom: 30px; }

/* ── Related links ──────────────────────────────────────────────── */
.aff-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.aff-link {
  display: block; background: #fff; border: 1px solid #e2e8f0; border-radius: 12px;
  padding: 18px 20px; text-decoration: none; transition: border-color .2s, transform .2s;
}
.aff-link:hover { border-color: #0d9488; transform: translateY(-2px); text-decoration: none; }
.aff-link strong { display: block; color: #0f172a; font-size: 15px; margin-bottom: 4px; }
.aff-link span { font-size: 13px; color: #64748b; }

/* ── Closing CTA ────────────────────────────────────────────────── */
.aff-final { background: #0f172a; color: #fff; padding: 64px 20px; text-align: center; }
.aff-final h2 { color: #fff; font-size: 30px; margin: 0 0 14px; }
.aff-final p { color: #cbd5e1; max-width: 640px; margin: 0 auto 28px; font-size: 16.5px; line-height: 1.7; }

@media (max-width: 767px) {
  .aff-hero { padding: 52px 18px; }
  .aff-hero h1 { font-size: 29px; }
  .aff-hero p { font-size: 16px; }
  .aff-section { padding: 44px 18px; }
  .aff-section h2 { font-size: 24px; }
  .aff-card { padding: 22px; }
}
