/* push-site-13oct — styles for the articles section, contact options and the
   screenshot strip. Kept out of app.css so that file is unchanged and this
   one can be removed as a unit. Uses the palette variables from app.css. */

/* ── Breadcrumbs and article meta on the dark hero ───────────────────── */
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: .85rem; margin-bottom: 14px; }
.crumbs a { color: var(--teal); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { color: #7d84a8; }
.article-meta { color: #a9b1d3; font-size: .9rem; margin: 16px 0 0; }

/* ── Article body: what the Markdown renderer can produce ────────────── */
.article-body { max-width: 760px; margin: 0 auto; }
.article-body ol { margin: 0 0 18px; padding-left: 24px; }
.article-body ol li { color: #454b60; line-height: 1.72; margin-bottom: 8px; }
.article-body h4 { font-size: 1rem; margin: 22px 0 8px; }
.article-body code {
  font-family: var(--mono); font-size: .86em; background: var(--paper);
  padding: 2px 6px; border-radius: 5px; color: var(--ink);
}
.article-body pre {
  background: var(--ink); color: #e4e6f5; border-radius: var(--r-sm, 10px);
  padding: 16px 18px; overflow-x: auto; margin: 0 0 20px; font-size: .86rem; line-height: 1.6;
}
.article-body pre code { background: none; color: inherit; padding: 0; font-size: inherit; }
.article-body blockquote {
  margin: 0 0 20px; padding: 12px 18px; border-left: 4px solid var(--teal);
  background: #f3fbfc; border-radius: 0 10px 10px 0;
}
.article-body blockquote p:last-child { margin-bottom: 0; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 34px 0; }
.article-body figure { margin: 0 0 22px; }
.article-body img { max-width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); }
.article-body .table-wrap { margin: 0 0 22px; }
.article-body table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.article-body th, .article-body td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.article-body th { background: var(--paper); font-weight: 600; }
.article-cover { margin: 0 auto 30px; max-width: 760px; }
.article-cover img { width: 100%; height: auto; border-radius: 14px; }

/* ── Article cards (listing, related) ────────────────────────────────── */
.article-card h3 a, .article-card__title a { color: var(--ink); text-decoration: none; }
.article-card h3 a:hover, .article-card__title a:hover { color: var(--violet); }
.article-card__title { font-size: 1.08rem; margin: 0 0 8px; }
.article-card__meta { font-size: .8rem; color: var(--muted); margin: 0 0 6px; font-family: var(--mono); }

/* ── Trust strip under the home hero ─────────────────────────────────── */
.trust-strip { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; padding: 18px 0 0; margin: 0; list-style: none; }
.trust-strip li { display: flex; gap: 8px; align-items: center; font-size: .9rem; color: var(--muted); }
.trust-strip li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); flex: none; }
.trust-strip a { color: inherit; }
.hero__micro { font-size: .86rem; color: #a9b1d3; margin: 12px 0 0; }

/* ── Screenshots ─────────────────────────────────────────────────────── */
.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 760px) { .shots { grid-template-columns: 1fr; } }
.shots figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.shots img { display: block; width: 100%; height: auto; }
.shots figcaption { padding: 12px 16px; font-size: .88rem; color: var(--muted); border-top: 1px solid var(--line); }

/* ── Contact options ─────────────────────────────────────────────────── */
.contact-opts { display: grid; gap: 12px; margin: 0 0 30px; }
.contact-opt {
  display: flex; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line);
  border-radius: 12px; background: #fff; text-decoration: none; color: var(--ink);
}
.contact-opt:hover { border-color: var(--violet); }
.contact-opt b { display: block; }
.contact-opt span { font-size: .88rem; color: var(--muted); }
.contact-opt svg { flex: none; color: var(--violet); }
.contact-opt--wa svg { color: #1fa855; }

/* ── Floating WhatsApp button (only when a number is set in the admin) ─ */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60;
  width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.18);
}
.wa-float:hover { background: #1fa855; color: #fff; }
@media print { .wa-float { display: none; } }
