/* sanipilot.info – SaniPilot Deep Navy & Pilot Sky Theme v1.0 */
:root {
  --sp-primary: #0284c7;
  --sp-primary-hover: #0369a1;
  --sp-primary-soft: #f0f9ff;
  --sp-primary-ring: rgba(2, 132, 199, 0.18);
  --sp-accent: #ea580c;
  --sp-accent-hover: #c2410c;
  --sp-accent-glow: rgba(234, 88, 12, 0.35);
  --sp-ink: #0a192f;
  --sp-body: #334155;
  --sp-muted: #64748b;
  --sp-border: #e2e8f0;
  --sp-bg-card: #ffffff;
  --sp-bg-page: #f8fafc;
  --sp-star: #eab308;
  --sp-success: #15803d;
  --sp-success-bg: #dcfce7;
  --sp-danger: #b91c1c;
  --sp-danger-bg: #fee2e2;
  --sp-font: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--sp-font);
  background-color: var(--sp-bg-page);
  color: var(--sp-body);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--sp-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--sp-primary-hover);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* TOP ANNOUNCEMENT STRIP */
.sp-top-strip {
  background: var(--sp-ink);
  color: #94a3b8;
  font-size: 12px;
  text-align: center;
  padding: 6px 16px;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* MINIMAL HEADER - LOGO + ADVERTORIAL BADGE ONLY */
.sp-header {
  background: #ffffff;
  border-bottom: 1px solid var(--sp-border);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 50;
}
.sp-header-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sp-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--sp-ink);
}
.sp-logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--sp-primary), #0369a1);
  color: #fff;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  box-shadow: 0 2px 6px var(--sp-primary-ring);
}
.sp-logo-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--sp-ink);
}
.sp-logo-text span {
  color: var(--sp-primary);
}
.sp-header-badge {
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 5px 11px;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
}

/* MAIN CONTAINER & GRID */
.sp-container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 28px 20px 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 880px) {
  .sp-container {
    grid-template-columns: 690px 310px;
    align-items: start;
  }
}

/* ARTICLE CONTENT */
.sp-article {
  background: var(--sp-bg-card);
  border-radius: 14px;
  border: 1px solid var(--sp-border);
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}
@media (min-width: 640px) {
  .sp-article {
    padding: 38px 40px;
  }
}

.sp-category {
  display: inline-block;
  background: var(--sp-primary-soft);
  color: var(--sp-primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 14px;
}
.sp-title {
  font-size: 26px;
  line-height: 1.25;
  color: var(--sp-ink);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
@media (min-width: 640px) {
  .sp-title {
    font-size: 32px;
  }
}
.sp-subtitle {
  font-size: 18px;
  line-height: 1.5;
  color: var(--sp-muted);
  margin-bottom: 22px;
  font-weight: 500;
}

.sp-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--sp-border);
  border-bottom: 1px solid var(--sp-border);
  margin-bottom: 26px;
  font-size: 13px;
  color: var(--sp-muted);
}
.sp-meta-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sp-author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #e2e8f0;
  color: var(--sp-ink);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.sp-author-name {
  color: var(--sp-ink);
  font-weight: 700;
}

/* SOCIAL SHARE BUTTONS - 48x48 CIRCLES */
.sp-share-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
  background: #f8fafc;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid var(--sp-border);
}
.sp-share-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--sp-ink);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sp-share-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.sp-share-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}
.sp-share-fb {
  background: #1877f2;
}
.sp-share-tw {
  background: #000000;
}
.sp-share-btn svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

/* ARTICLE TYPOGRAPHY */
.sp-article p {
  margin-bottom: 18px;
}
.sp-article h2 {
  font-size: 22px;
  line-height: 1.35;
  color: var(--sp-ink);
  font-weight: 800;
  margin: 32px 0 14px;
  letter-spacing: -0.3px;
}
.sp-article h3 {
  font-size: 18px;
  line-height: 1.4;
  color: var(--sp-ink);
  font-weight: 700;
  margin: 24px 0 10px;
}
.sp-article ul, .sp-article ol {
  margin: 16px 0 22px 24px;
}
.sp-article li {
  margin-bottom: 8px;
}

/* IMAGES & FIGURES */
.sp-figure {
  margin: 26px 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--sp-border);
  background: #f1f5f9;
}
.sp-figure img {
  width: 100%;
}
.sp-figcaption {
  font-size: 12px;
  color: var(--sp-muted);
  padding: 8px 14px;
  background: #ffffff;
  border-top: 1px solid var(--sp-border);
  text-align: center;
}

/* CALLOUT / ALERT BOXES */
.sp-callout {
  padding: 18px 20px;
  border-radius: 10px;
  margin: 24px 0;
  border-left: 5px solid;
}
.sp-callout-warning {
  background: var(--sp-danger-bg);
  border-color: var(--sp-danger);
  color: #7f1d1d;
}
.sp-callout-info {
  background: var(--sp-primary-soft);
  border-color: var(--sp-primary);
  color: #075985;
}
.sp-callout-success {
  background: var(--sp-success-bg);
  border-color: var(--sp-success);
  color: #14532d;
}
.sp-callout-title {
  font-weight: 800;
  margin-bottom: 6px;
  font-size: 15px;
}

/* CTA BOXES */
.sp-cta-box {
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
  border: 2px solid var(--sp-primary);
  border-radius: 14px;
  padding: 26px;
  margin: 32px 0;
  text-align: center;
  box-shadow: 0 8px 24px var(--sp-primary-ring);
}
.sp-cta-badge {
  display: inline-block;
  background: #fee2e2;
  color: #b91c1c;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.sp-cta-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--sp-ink);
  margin-bottom: 10px;
}
.sp-cta-desc {
  font-size: 15px;
  color: var(--sp-body);
  max-width: 520px;
  margin: 0 auto 20px;
}
.sp-cta-btn {
  display: inline-block;
  background: linear-gradient(180deg, #ea580c 0%, #c2410c 100%);
  color: #ffffff !important;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none !important;
  padding: 16px 36px;
  border-radius: 10px;
  box-shadow: 0 4px 18px var(--sp-accent-glow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  letter-spacing: -0.2px;
}
.sp-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px var(--sp-accent-glow);
}
.sp-cta-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
  font-size: 12px;
  color: var(--sp-muted);
}

/* CUSTOMER REVIEWS */
.sp-review {
  background: #f8fafc;
  border: 1px solid var(--sp-border);
  border-radius: 10px;
  padding: 18px;
  margin-bottom: 14px;
}
.sp-review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.sp-review-author {
  font-weight: 700;
  color: var(--sp-ink);
}
.sp-review-stars {
  color: var(--sp-star);
  font-size: 14px;
}

/* SIDEBAR */
.sp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.sp-side-card {
  background: var(--sp-bg-card);
  border: 1px solid var(--sp-border);
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}
.sp-side-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--sp-ink);
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--sp-primary-soft);
}

/* FOOTER */
.sp-footer {
  background: #0a192f;
  color: #94a3b8;
  padding: 44px 20px 32px;
  font-size: 13px;
  line-height: 1.6;
  border-top: 1px solid #1e293b;
}
.sp-footer-inner {
  max-width: 1060px;
  margin: 0 auto;
}
.sp-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 32px;
}
@media (min-width: 640px) {
  .sp-footer-grid {
    grid-template-columns: 2fr 1fr;
  }
}
.sp-footer h4 {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}
.sp-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 1px solid #1e293b;
}
.sp-footer-nav a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 13px;
}
.sp-footer-nav a:hover {
  color: #ffffff;
  text-decoration: underline;
}
.sp-footer-copy {
  color: #64748b;
  font-size: 12px;
  text-align: center;
}

/* CSS rule strictly respected: offer links selector without attribute value */
a[data-offer] {
  cursor: pointer;
}
