/*
 * Less Lethal AF — Launcher Page Styles
 * Used by all launcher post pages (.llp-* classes)
 * Loaded site-wide via the rhythm-blog-child theme.
 */

/* ── Homepage / archive post grid image fix ─────────────────────────────
 * The theme uses aspect-ratio: 1/0.7 + object-fit: cover on post thumbnails,
 * which heavily crops tall or square images. Switch to contain so the full
 * image is always visible inside a consistent-height box.
 */
.blog-archive-layout.archive-grid-layout article .blog-post-container .blog-post-inner .blog-post-image {
    aspect-ratio: unset !important;
    height: 200px !important;
}
.blog-archive-layout.archive-grid-layout article .blog-post-container .blog-post-inner .blog-post-image img {
    height: 200px !important;
    object-fit: contain !important;
    object-position: center center !important;
    background: #f5f5f5;
}

.llp-wrap {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, sans-serif;
  color: #1a1a1a;
  line-height: 1.7;
  max-width: 900px;
  margin: 0 auto;
}
.llp-lead {
  background: #1a1a1a;
  color: #e8e8e8;
  padding: 22px 28px;
  border-radius: 6px;
  margin: 0 0 24px;
  font-size: 1.05em;
  line-height: 1.75;
}
.llp-lead strong { color: #e84040; }
.llp-images {
  display: flex;
  gap: 10px;
  margin: 0 0 24px;
  flex-wrap: nowrap;
}
.llp-images img {
  flex: 1 1 0;
  min-width: 0;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  object-position: center top;
  border-radius: 4px;
  border: 1px solid #ddd;
  background: #f8f8f8;
  padding: 8px;
  box-sizing: border-box;
  display: block;
}
@media (max-width: 480px) {
  .llp-images { gap: 6px; }
  .llp-images img { max-height: 150px; padding: 5px; }
}
.llp-quickref { border: 1px solid #ddd; border-radius: 6px; overflow: hidden; margin: 0 0 32px; }
.llp-qr-head { background: #1a1a1a; color: #f0f0f0; padding: 11px 18px; font-size: 0.76em; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; }
.llp-qr-head span { color: #c0392b; }
.llp-qr-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(108px, 1fr)); background: #dfdfdf; gap: 1px; border-bottom: 1px solid #dfdfdf; }
.llp-qr-stat { background: #fff; padding: 14px 10px 12px; text-align: center; }
.llp-qr-val { display: block; font-size: 1.55em; font-weight: 800; color: #c0392b; line-height: 1.05; letter-spacing: -0.02em; }
.llp-qr-unit { font-size: 0.48em; font-weight: 700; color: #aaa; letter-spacing: 0.05em; vertical-align: super; }
.llp-qr-lbl { display: block; font-size: 0.68em; color: #777; text-transform: uppercase; letter-spacing: 0.05em; margin-top: 5px; font-weight: 600; line-height: 1.3; }
.llp-qr-table { width: 100%; border-collapse: collapse; font-size: 0.88em; }
.llp-qr-table td { padding: 7px 14px; border-top: 1px solid #ebebeb; vertical-align: top; line-height: 1.5; }
.llp-qr-table td:first-child { font-weight: 600; color: #444; width: 36%; background: #fafafa; }
.llp-qr-table tr:first-child td { border-top: none; }
@media (max-width: 480px) {
  .llp-qr-stats { grid-template-columns: repeat(3, 1fr); }
  .llp-qr-table td:first-child { width: 42%; }
}
.llp-section { margin: 0 0 28px; }
.llp-section h3 { font-size: 1.1em; font-weight: 700; color: #1a1a1a; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 2px solid #e84040; }
.llp-section p { margin: 0 0 12px; }
.llp-section ul { margin: 8px 0 12px 20px; padding: 0; }
.llp-section ul li { margin-bottom: 5px; }
.llp-issues { background: #fff8f8; border-left: 3px solid #e84040; padding: 14px 18px; border-radius: 0 4px 4px 0; margin: 0 0 10px; }
.llp-issues ul { margin: 6px 0 0 18px; padding: 0; }
.llp-issues ul li { margin-bottom: 5px; font-size: 0.95em; }
.llp-accessories { background: #f8fffd; border-left: 3px solid #27ae60; padding: 14px 18px; border-radius: 0 4px 4px 0; margin: 0 0 10px; }
.llp-accessories ul { margin: 6px 0 0 18px; padding: 0; }
.llp-accessories ul li { margin-bottom: 5px; font-size: 0.95em; }
.llp-verdict { background: #1a1a1a; color: #e8e8e8; padding: 22px 28px; border-radius: 6px; margin: 0 0 28px; }
.llp-verdict h3 { color: #e84040; font-size: 1em; text-transform: uppercase; letter-spacing: 0.1em; margin: 0 0 10px; }
.llp-verdict p { margin: 0 0 8px; line-height: 1.7; font-size: 0.97em; }
.llp-verdict p:last-child { margin: 0; }
.llp-buy { border: 1px solid #e0e0e0; border-radius: 6px; padding: 18px 22px; margin: 0 0 28px; background: #fafafa; }
.llp-buy h3 { font-size: 0.85em; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: #555; margin: 0 0 12px; }
.llp-buy-links { display: flex; flex-wrap: wrap; gap: 10px; }
.llp-buy-link { display: inline-block; background: #1a1a1a; padding: 9px 18px; border-radius: 4px; font-size: 0.88em; font-weight: 600; line-height: 1.2; transition: background 0.15s; color: #fff !important; text-decoration: none !important; }
.llp-buy-link:hover { background: #333 !important; }
.llp-buy-link.secondary { background: #555; }
.llp-buy-link.secondary:hover { background: #333 !important; }
.llp-resources-section { margin: 0 0 28px; }
.llp-resources-section h3 { font-size: 1.1em; font-weight: 700; color: #1a1a1a; margin: 0 0 14px; padding-bottom: 6px; border-bottom: 2px solid #e84040; }
.llp-resources-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.llp-res-col { background: #fafafa; border: 1px solid #e8e8e8; border-radius: 6px; padding: 16px 18px; }
.llp-res-col h4 { font-size: 0.82em; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #444; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 1px solid #e0e0e0; }
.llp-res-col ul { margin: 0; padding: 0; list-style: none; }
.llp-res-col ul li { margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid #efefef; }
.llp-res-col ul li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.llp-res-col ul li a { color: #c0392b; font-weight: 600; font-size: 0.9em; text-decoration: none; }
.llp-res-col ul li a:hover { text-decoration: underline; }
.llp-res-note { display: block; font-size: 0.78em; color: #777; margin-top: 2px; line-height: 1.4; }
.llp-res-col .llaf-list { margin: 0; padding: 0; list-style: none; }
.llp-res-col .llaf-item { margin-bottom: 8px; padding: 0 0 8px 0; border: none; border-bottom: 1px solid #efefef; border-radius: 0; background: none; }
.llp-res-col .llaf-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.llp-res-col .llaf-item a { color: #c0392b; font-weight: 600; font-size: 0.9em; text-decoration: none; }
.llp-res-col .llaf-item a:hover { text-decoration: underline; }
.llaf-type { display: none; }
.llaf-notes { display: block; font-size: 0.78em; color: #777; margin: 2px 0 0; padding: 0; line-height: 1.4; }

/* ═══════════════════════════════════════════════════════════════════════
 * Less Lethal AF — Launcher Guide Page Styles
 * Used by the Launcher Guide comparison page (.ll-* classes)
 * ═══════════════════════════════════════════════════════════════════════ */

/* ── Table of Contents ─────────────────────────────────────────────── */
.ll-toc {
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 20px 24px 20px 20px;
  margin: 0 0 36px;
  display: inline-block;
  min-width: 260px;
  max-width: 100%;
}
.ll-toc h2 {
  font-size: 0.82em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #555;
  margin: 0 0 12px;
}
.ll-toc ol {
  margin: 0;
  padding: 0 0 0 20px;
  columns: 2;
  column-gap: 32px;
}
@media (max-width: 600px) {
  .ll-toc ol { columns: 1; }
}
.ll-toc ol li {
  margin-bottom: 5px;
  font-size: 0.9em;
  break-inside: avoid;
}
.ll-toc ol li a:link {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
}
.ll-toc ol li a:visited {
  color: #999;
  text-decoration: none;
  font-weight: 500;
}
.ll-toc ol li a:hover {
  color: #c0392b;
  text-decoration: underline;
}

/* ── Individual Launcher Block ─────────────────────────────────────── */
.ll-launcher {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 28px 28px 20px;
  margin: 0 0 36px;
  background: #fff;
}
.ll-launcher h2 {
  font-size: 1.25em;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 4px;
  line-height: 1.3;
}
.ll-badge {
  display: inline-block;
  font-size: 0.55em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 8px;
  border-radius: 3px;
  vertical-align: middle;
  margin-left: 6px;
  position: relative;
  top: -2px;
}
.ll-badge.blue  { background: #dbeafe; color: #1d4ed8; }
.ll-badge.green { background: #dcfce7; color: #15803d; }
.ll-badge.red   { background: #fee2e2; color: #b91c1c; }
.ll-badge.gold  { background: #fef9c3; color: #a16207; }
.ll-tagline {
  font-size: 0.82em;
  color: #777;
  margin: 0 0 12px;
  font-style: italic;
}
.ll-summary {
  font-size: 0.95em;
  line-height: 1.75;
  color: #333;
  margin: 0 0 18px;
}

/* ── Images inside guide launcher block ────────────────────────────── */
.ll-launcher .ll-images {
  display: flex;
  gap: 10px;
  margin: 0 0 18px;
  flex-wrap: nowrap;
}
.ll-launcher .ll-images img {
  flex: 1 1 0;
  min-width: 0;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  object-position: top center;
  border-radius: 4px;
  border: 1px solid #ddd;
  background: #f8f8f8;
  padding: 6px;
  box-sizing: border-box;
  display: block;
}
@media (max-width: 480px) {
  .ll-launcher .ll-images { gap: 6px; }
  .ll-launcher .ll-images img { max-height: 120px; }
}

/* ── Specs Table ───────────────────────────────────────────────────── */
.ll-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88em;
  margin: 0 0 16px;
}
.ll-specs-table thead tr th {
  background: #1a1a1a;
  color: #f0f0f0;
  font-size: 0.75em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 8px 14px;
  text-align: left;
}
.ll-specs-table tbody tr td {
  padding: 7px 14px;
  border-top: 1px solid #ebebeb;
  vertical-align: top;
  line-height: 1.5;
}
.ll-specs-table tbody tr td:first-child {
  font-weight: 600;
  color: #444;
  width: 36%;
  background: #fafafa;
}
.ll-specs-table tbody tr.src-row td {
  font-size: 0.82em;
  color: #888;
  background: #f5f5f5;
}
.ll-specs-table tbody tr.src-row td a {
  color: #c0392b;
  text-decoration: none;
}
.ll-specs-table tbody tr.src-row td a:hover {
  text-decoration: underline;
}
@media (max-width: 480px) {
  .ll-specs-table tbody tr td:first-child { width: 42%; }
}

/* ── Section Labels / Known Issues / Accessories ───────────────────── */
.ll-section-label {
  font-size: 0.78em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  margin: 18px 0 8px;
}
.ll-known-issues {
  background: #fff8f8;
  border-left: 3px solid #e84040;
  padding: 12px 16px;
  border-radius: 0 4px 4px 0;
  margin: 0 0 8px;
}
.ll-known-issues ul {
  margin: 0;
  padding: 0 0 0 18px;
}
.ll-known-issues ul li {
  margin-bottom: 5px;
  font-size: 0.92em;
  line-height: 1.5;
}
.ll-accessories {
  background: #f8fffe;
  border-left: 3px solid #27ae60;
  padding: 12px 16px;
  border-radius: 0 4px 4px 0;
  margin: 0 0 8px;
}
.ll-accessories ul {
  margin: 0;
  padding: 0 0 0 18px;
}
.ll-accessories ul li {
  margin-bottom: 5px;
  font-size: 0.92em;
  line-height: 1.5;
}


/* =====================================================
   Tutorial / Guide post styles (e.g. Pistelle X-68)
   ===================================================== */
.llp-wrap{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,sans-serif;color:#1a1a1a;line-height:1.7;max-width:900px;margin:0 auto}
.llp-lead{background:#1a1a1a;color:#e8e8e8;padding:22px 28px;border-radius:6px;margin:0 0 24px;font-size:1.05em;line-height:1.75}
.llp-lead strong{color:#e84040}
.llp-hero-img{width:100%!important;max-height:320px;object-fit:contain;object-position:center;display:block!important;margin:0 0 24px;border-radius:6px;border:1px solid #ddd;background:#f8f8f8;padding:12px;box-sizing:border-box}
.llp-section{margin:0 0 28px}
.llp-section h3{font-size:1.1em;font-weight:700;color:#1a1a1a;margin:0 0 10px;padding-bottom:6px;border-bottom:2px solid #e84040}
.llp-section p{margin:0 0 12px}
.llp-section ul,.llp-section ol{margin:8px 0 12px 22px;padding:0}
.llp-section ul li,.llp-section ol li{margin-bottom:6px}
.llp-step-num{display:inline-flex!important;align-items:center;justify-content:center;background:#e84040;color:#fff;font-size:0.72em;font-weight:700;border-radius:50%;width:22px;height:22px;margin-right:8px;vertical-align:middle;flex-shrink:0}
.llp-warning{background:#fff8f8;border-left:3px solid #e84040!important;padding:14px 18px;border-radius:0 4px 4px 0;margin:0 0 16px;font-size:0.95em}
.llp-warning strong{color:#c0392b}
.llp-tip{background:#f0f7ff;border-left:3px solid #2980b9!important;padding:14px 18px;border-radius:0 4px 4px 0;margin:0 0 16px;font-size:0.95em}
.llp-tip strong{color:#1a5276}
.llp-step-img{width:100%!important;border-radius:6px;border:1px solid #ddd!important;margin:12px 0 4px;display:block!important;background:#f8f8f8}
.llp-step-img-center{width:auto!important;max-width:100%;max-height:300px;display:block!important;margin:12px auto 4px}
.llp-caption{font-size:0.83em;color:#666;margin:0 0 16px;font-style:italic;display:block}
.llp-img-pair{display:flex!important;gap:10px;margin:12px 0 16px;flex-wrap:nowrap}
.llp-img-pair img{flex:1 1 0;min-width:0;border-radius:6px;border:1px solid #ddd!important;background:#f8f8f8;object-fit:cover;max-height:240px;width:auto!important}
.llp-oring-table{width:100%!important;border-collapse:collapse!important;margin:12px 0 20px;font-size:0.93em}
.llp-oring-table th{background:#1a1a1a;color:#f0f0f0;padding:8px 12px;text-align:left;font-size:0.78em;text-transform:uppercase;letter-spacing:0.08em}
.llp-oring-table td{padding:9px 12px!important;border-bottom:1px solid #eee!important;vertical-align:middle!important}
.llp-oring-table tr:nth-child(even) td{background:#fafafa}
.llp-oring-table td img{width:80px!important;height:60px!important;object-fit:cover;border-radius:4px;border:1px solid #ddd!important;display:block!important}
.llp-verdict{background:#1a1a1a;color:#e8e8e8;padding:22px 28px;border-radius:6px;margin:0 0 28px}
.llp-verdict h3{color:#e84040;font-size:1em;text-transform:uppercase;letter-spacing:0.1em;margin:0 0 10px}
.llp-verdict p{margin:0 0 8px;line-height:1.7;font-size:0.97em}
.llp-verdict p:last-child{margin:0}
.llp-resources-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px}
.llp-res-col{background:#fafafa;border:1px solid #e8e8e8;border-radius:6px;padding:16px 18px}
.llp-res-col h4{font-size:0.82em;font-weight:700;text-transform:uppercase;letter-spacing:0.08em;color:#444;margin:0 0 10px;padding-bottom:6px;border-bottom:1px solid #e0e0e0}
.llp-res-col ul{margin:0;padding:0;list-style:none}
.llp-res-col ul li{margin-bottom:8px;padding-bottom:8px;border-bottom:1px solid #efefef}
.llp-res-col ul li:last-child{margin-bottom:0;padding-bottom:0;border-bottom:none}
.llp-res-col ul li a{color:#c0392b;font-weight:600;font-size:0.9em;text-decoration:none}
.llp-res-col ul li a:hover{text-decoration:underline}
@media(max-width:600px){
  .llp-img-pair{flex-wrap:wrap}
  .llp-oring-table td img{width:60px!important;height:45px!important}
}

/* Guide/tutorial call-to-action link */
.llp-guide-link{display:block;background:#1a1a1a;color:#fff!important;text-decoration:none!important;padding:16px 22px;border-radius:6px;margin:0 0 28px;font-weight:600;font-size:1em;border-left:4px solid #e84040;transition:background 0.15s}
.llp-guide-link:hover{background:#2e2e2e!important}
.llp-guide-link .llp-guide-link-label{display:block;font-size:0.75em;font-weight:700;text-transform:uppercase;letter-spacing:0.1em;color:#e84040;margin-bottom:4px}
.llp-guide-link .llp-guide-link-title{display:block;font-size:1em;color:#fff}
.llp-guide-link .llp-guide-link-arrow{float:right;font-size:1.2em;line-height:1;margin-top:2px;color:#e84040}

/* ─────────────────────────────────────────────────────────────────
   Tutorial link block (Pistelle X-68 and similar launcher posts)
   ───────────────────────────────────────────────────────────────── */
.llp-wrap .llp-tutorial-link {
    margin: 0 0 12px;
}
.llp-wrap .llp-tutorial-link a,
.llp-wrap .llp-tutorial-link a:link,
.llp-wrap .llp-tutorial-link a:visited {
    display: block;
    background: #fafafa !important;
    border: 1px solid #e0e0e0 !important;
    border-left: 3px solid #e84040 !important;
    border-radius: 0 4px 4px 0;
    padding: 12px 16px;
    color: #1a1a1a !important;
    text-decoration: none !important;
    font-size: 0.95em;
    font-weight: 600;
    transition: background 0.15s;
}
.llp-wrap .llp-tutorial-link a:hover {
    background: #f0f0f0 !important;
    color: #c0392b !important;
    text-decoration: none !important;
}