/* Pre Build PC landing (action/home.php), round 3 design, live for everyone. Raise ?v= on the link in home.php with every edit. */
.mpbh { padding-bottom: 40px; }
.mpbh-title { margin: 4px 0 0; padding: 0; border: 0; color: var(--mr-ink, #1c1c1e); font-size: 28px; font-weight: 700; line-height: 1.2; text-transform: none; }
.mpbh-lead { margin: 6px 0 20px; color: #6b7075; font-size: 15px; }
.mpbh-banner { display: block; margin-bottom: 20px; }
.mpbh-banner img { display: block; width: 100%; height: auto; border-radius: 14px; }

.mpbh-diy { display: flex; align-items: center; gap: 24px; margin-bottom: 28px; padding: 22px 28px; border-radius: 14px; overflow: hidden;
  background: radial-gradient(120% 140% at 100% 0, #4a0a10 0, #17171a 55%); color: #fff; text-decoration: none; }
.mpbh-diy:hover, .mpbh-diy:focus { color: #fff; text-decoration: none; }
.mpbh-diy img { flex: none; width: 92px; height: 92px; object-fit: contain; border-radius: 10px; background: #fff; }
.mpbh-diy-txt { display: block; min-width: 0; }
.mpbh-diy-h { display: block; font-size: 20px; font-weight: 700; line-height: 1.25; }
.mpbh-diy-p { display: block; margin-top: 4px; color: #c9cbd0; font-size: 14px; }
.mpbh-go { flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; margin-left: auto; padding: 0 20px;
  border-radius: var(--mr-radius, 8px); background: var(--mr-red, #e30613); color: #fff; font-size: 15px; font-weight: 500; transition: background-color .15s; }
.mpbh-diy:hover .mpbh-go { background: var(--mr-red-hover, #b8040f); }

.mpbh-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.mpbh-tile { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--mr-line, #e7e8ea); border-radius: 14px; background: #fff;
  color: var(--mr-ink, #1c1c1e); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.mpbh-tile:hover, .mpbh-tile:focus-visible { transform: translateY(-3px); border-color: transparent; box-shadow: 0 10px 28px rgba(0,0,0,.10); color: var(--mr-ink, #1c1c1e); text-decoration: none; }
.mpbh-pic { aspect-ratio: 16 / 10; overflow: hidden; background: #f5f5f7; }
.mpbh-pic img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.mpbh-tile:hover .mpbh-pic img { transform: scale(1.05); }
.mpbh-txt { display: flex; flex: 1; flex-direction: column; padding: 16px 18px 18px; }
.mpbh-tile h2 { margin: 0; padding: 0; color: inherit; font-size: 18px; font-weight: 700; line-height: 1.3; text-transform: none; transition: color .15s; }
.mpbh-tile:hover h2 { color: var(--mr-red, #e30613); }
.mpbh-desc { display: -webkit-box; margin: 6px 0 14px; overflow: hidden; color: #6b7075; font-size: 13.5px; line-height: 1.5;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mpbh-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; font-size: 13px; }
.mpbh-foot span { color: #6b7075; }
.mpbh-foot b { color: var(--mr-red, #e30613); font-weight: 500; }

@media (prefers-reduced-motion: reduce) {
  .mpbh-tile, .mpbh-pic img { transition: none; }
  .mpbh-tile:hover { transform: none; }
  .mpbh-tile:hover .mpbh-pic img { transform: none; }
}
@media (max-width: 1199.98px) { .mpbh-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767.98px) {
  .mpbh-title { font-size: 24px; }
  .mpbh-lead { margin-bottom: 16px; font-size: 14px; }
  .mpbh-diy { flex-wrap: wrap; gap: 14px; margin-bottom: 20px; padding: 16px; }
  .mpbh-diy img { width: 64px; height: 64px; }
  .mpbh-diy-txt { flex: 1; }
  .mpbh-diy-h { font-size: 17px; }
  .mpbh-diy-p { font-size: 13px; }
  .mpbh-go { justify-content: center; width: 100%; margin: 0; }
  .mpbh-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .mpbh-txt { padding: 10px 12px 12px; }
  .mpbh-tile h2 { font-size: 15px; }
  .mpbh-desc, .mpbh-foot > span { display: none; }
  .mpbh-foot { margin-top: 8px; }
}
