/* ScamDrill — shared blog post template styles
 * Rules byte-identical across all 12 blog posts. Loaded after common.css
 * but before the inline <style> block on each post.
 */

.social-icons { display: flex; justify-content: center; gap: 20px; margin: 0 auto 16px; flex-wrap: wrap; }
/* ── NEWSLETTER SIGNUP ── */ .nl-signup { background: var(--brand-blue-bg, #eff6ff); padding: 64px 24px; text-align: center; border-top: 1px solid rgba(37, 99, 235, 0.08); }
.nl-signup-inner { max-width: 640px; margin: 0 auto; }
.nl-signup h2 { font-size: clamp(1.35rem, 2.3vw, 1.7rem); font-weight: 800; color: var(--brand-navy, #1a2744); margin: 0 auto 12px; letter-spacing: -0.02em; max-width: 22ch; line-height: 1.25; text-wrap: balance; }
.nl-signup p.nl-copy { font-size: 1rem; color: var(--gray-600, #4b5563); margin: 0 auto 24px; max-width: 520px; line-height: 1.6; text-wrap: pretty; }
.nl-signup-form { display: flex; gap: 8px; max-width: 460px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.nl-signup-form input[type="email"] { flex: 1 1 240px; min-width: 0; padding: 12px 16px; border: 1px solid var(--gray-300, #d1d5db); border-radius: 10px; font-size: 0.95rem; background: #fff; color: var(--gray-900, #111827); font-family: inherit; transition: border-color 0.15s, box-shadow 0.15s; }
.nl-signup-form input[type="email"]:focus { outline: none; border-color: var(--brand-blue, #2563eb); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15); }
.nl-signup-form input[type="email"][aria-invalid="true"] { border-color: #dc2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12); }
.nl-signup-form button { padding: 12px 22px; background: var(--brand-blue, #2563eb); color: #fff; border: none; border-radius: 10px; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: background 0.15s, transform 0.15s; font-family: inherit; }
.nl-signup-form button:hover:not(:disabled) { background: var(--brand-blue-light, #3b82f6); transform: translateY(-1px); }
.nl-signup-form button:disabled { opacity: 0.6; cursor: not-allowed; }
.nl-signup-fineprint { flex: 1 0 100%; margin: 10px 0 0; font-size: 0.78rem; color: var(--gray-500, #6b7280); text-align: center; }
.nl-signup-msg { flex: 1 0 100%; margin: 0; font-size: 0.88rem; min-height: 0; }
.nl-signup-msg:not(:empty) { margin-top: 8px; }
.nl-signup-msg.success { color: #15803d; }
.nl-signup-msg.error { color: #b91c1c; }
.nl-signup .nl-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.nl-signup { border-top: 1px solid rgba(37, 99, 235, 0.18); }

/* ── FAQ section (centered, on white — flows out of the article naturally) ── */
.faq-section { max-width: 760px; margin: 64px auto 0; padding: 0 24px; background: #fff; }
.faq-section h2#faq-heading { font-size: 1.6rem; font-weight: 800; color: var(--brand-navy, #1a2744); margin: 0 0 8px; padding-top: 40px; border-top: 1px solid var(--gray-200, #e5e7eb); letter-spacing: -0.01em; line-height: 1.25; }
.faq-section .faq-intro { font-size: 0.95rem; color: var(--gray-500, #6b7280); margin: 0 0 20px; }
.faq-section .faq-item { border-bottom: 1px solid var(--gray-200, #e5e7eb); padding: 18px 0; }
.faq-section .faq-item:first-of-type { border-top: 1px solid var(--gray-200, #e5e7eb); margin-top: 16px; }
.faq-section .faq-item:last-of-type { border-bottom: none; }
.faq-section .faq-item summary { font-weight: 700; color: var(--gray-900, #111827); font-size: 1.05rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 4px 0; }
.faq-section .faq-item summary::-webkit-details-marker { display: none; }
.faq-section .faq-item summary::marker { display: none; }
.faq-section .faq-item .faq-toggle { color: var(--brand-blue, #2563eb); font-size: 1.5rem; font-weight: 400; line-height: 1; flex: 0 0 auto; transition: transform 0.2s ease; }
.faq-section .faq-item[open] .faq-toggle { transform: rotate(45deg); }
.faq-section .faq-item p { margin: 14px 0 4px; color: var(--gray-700, #374151); line-height: 1.7; font-size: 1rem; }

/* ── Keep Reading (full-width gray band) ── */
/* Width and background overrides take priority over per-post inline rules
   thanks to higher specificity (body context) and the !important on the
   page-spanning width. */
body .related-posts { width: 100% !important; max-width: none !important; margin: 80px 0 0 !important; padding: 64px 24px !important; background: var(--gray-50, #f9fafb) !important; border-top: 1px solid var(--gray-200, #e5e7eb) !important; }
body .related-posts-inner { max-width: 1120px; margin: 0 auto; padding: 0; }
body .related-posts-inner h2 { font-size: 1.6rem; font-weight: 800; color: var(--brand-navy, #1a2744); margin: 0 0 28px; letter-spacing: -0.01em; text-align: center; line-height: 1.25; }
body .related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; max-width: 980px; margin: 0 auto; }
body .related-card { display: block; background: #fff; border: 1px solid var(--gray-200, #e5e7eb); border-radius: 12px; padding: 22px; text-decoration: none; transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s; }
body .related-card:hover { border-color: var(--brand-blue, #2563eb); transform: translateY(-2px); box-shadow: var(--shadow-md, 0 4px 6px -1px rgba(0,0,0,0.07)); }
body .related-card h3 { font-size: 1.02rem; font-weight: 700; color: var(--gray-900, #111827); line-height: 1.4; margin: 0 0 6px; }
body .related-card p { font-size: 0.88rem; color: var(--gray-500, #6b7280); line-height: 1.55; margin: 0; }

@media (max-width: 640px) {
  .faq-section { padding: 0 20px; margin-top: 40px; }
  .faq-section h2#faq-heading { padding-top: 32px; font-size: 1.4rem; }
  body .related-posts { padding: 48px 20px !important; margin-top: 56px !important; }
  body .related-posts-inner h2 { font-size: 1.4rem; }
}

/* ── Social share bar (top of every blog post) ── */
.share-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 32px; padding: 0; }
.share-bar .share-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-500, #6b7280); margin-right: 4px; }
.share-bar .share-btn { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; text-decoration: none; color: #fff; background: var(--gray-700, #374151); border: 0; padding: 0; font: inherit; cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease, background-color 0.15s ease; line-height: 1; position: relative; }
.share-bar .share-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 10px -3px rgba(0,0,0,0.22); opacity: 0.92; color: #fff; }
.share-bar .share-btn:focus-visible { outline: 2px solid var(--brand-blue, #2563eb); outline-offset: 2px; }
.share-bar .share-btn svg { width: 14px; height: 14px; flex: 0 0 auto; fill: currentColor; display: block; }
.share-bar .share-btn.facebook { background: #1877f2; }
.share-bar .share-btn.linkedin { background: #0a66c2; }
.share-bar .share-btn.x        { background: #0f1419; }
.share-bar .share-btn.email    { background: #475569; }
.share-bar .share-btn.copy     { background: #1a2744; }
.share-bar .share-btn.copy .icon-check { display: none; }
.share-bar .share-btn.copy.copied { background: #16a34a; opacity: 1; transform: none; }
.share-bar .share-btn.copy.copied .icon-link  { display: none; }
.share-bar .share-btn.copy.copied .icon-check { display: block; }
.share-bar .share-btn.copy.copied::after {
  content: "Copied!";
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #1a2744;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
}
.share-bar .share-btn .share-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
