/*
Theme Name: Miploy Child
Theme URI: https://miploy.com
Description: Child theme of Twenty Twenty-Five holding Miploy's header, menu, homepage sections and footer styling so these customizations survive Twenty Twenty-Five updates.
Author: Miploy
Template: twentytwentyfive
Version: 1.1.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: miploy-child
*/

/* ---------- Miploy header / menu ---------- */
.miploy-header .wp-block-navigation{
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}
.miploy-header .wp-block-navigation a{transition:color .15s ease;}
.miploy-header .wp-block-navigation a:hover,
.miploy-header .wp-block-navigation a:hover .wp-block-navigation-item__label,
.miploy-header .wp-block-navigation .current-menu-item>a{color:#0063E1;}
.miploy-header .wp-block-button__link{
  transition:transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.miploy-header .wp-block-button__link:hover{
  transform:translateY(-1px);
  box-shadow:0 6px 16px rgba(0,99,225,.26);
  filter:brightness(1.05);
}
@media (max-width:781px){
  .miploy-header .wp-block-button__link{
    padding-top:10px;padding-bottom:10px;
    padding-left:20px;padding-right:20px;
    font-size:14px;
  }
}

/* ======================================================
   HOMEPAGE SECTIONS (matched to approved preview)
   ====================================================== */

/* ---- Marketplace: blue-dot bullet lists ---- */
.miploy-market .wp-block-list{list-style:none;margin:0;padding:0;}
.miploy-market .wp-block-list li{
  position:relative;
  padding:10px 0 10px 28px;
  border-bottom:1px solid rgba(13,13,13,.08);
  font-size:16px;
}
.miploy-market .wp-block-list li::before{
  content:"";position:absolute;left:0;top:14px;
  width:14px;height:14px;border-radius:50%;background:rgba(0,99,225,.15);
}
.miploy-market .wp-block-list li::after{
  content:"";position:absolute;left:4px;top:18px;
  width:6px;height:6px;border-radius:50%;background:#0063E1;
}

/* ---- Feature cards strip ---- */
.miploy-feat{
  display:grid;grid-template-columns:repeat(4,1fr);
  gap:22px;max-width:1140px;margin:42px auto 0;
}
.miploy-feat .mfc{
  background:#fff;border:1px solid rgba(13,13,13,.08);
  border-radius:14px;padding:26px 22px;
  transition:transform .18s ease, box-shadow .18s ease;
}
.miploy-feat .mfc:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(13,13,13,.10);}
.miploy-feat .mfi{
  width:46px;height:46px;border-radius:11px;
  background:rgba(0,99,225,.10);
  display:flex;align-items:center;justify-content:center;margin-bottom:16px;
}
.miploy-feat .mfi svg{
  width:24px;height:24px;stroke:#0063E1;fill:none;
  stroke-width:2;stroke-linecap:round;stroke-linejoin:round;
}
.miploy-feat h3{font-size:17px;margin:0 0 6px;font-weight:700;}
.miploy-feat p{margin:0;font-size:14px;color:#5b5b57;line-height:1.5;}
@media(max-width:860px){.miploy-feat{grid-template-columns:1fr 1fr;gap:16px;}}
@media(max-width:520px){.miploy-feat{grid-template-columns:1fr;}}

/* ---- How MiPLOY Works ---- */
.miploy-how{background:#eef3fb;}
.miploy-how > .wp-block-heading,
.miploy-how h2{text-align:center;}
.miploy-how .wp-block-column > .wp-block-group{
  height:100%;
  border:1px solid rgba(13,13,13,.06);
  box-shadow:0 2px 6px rgba(13,13,13,.04);
  transition:transform .18s ease, box-shadow .18s ease;
}
.miploy-how .wp-block-column > .wp-block-group:hover{
  transform:translateY(-4px);box-shadow:0 16px 34px rgba(13,13,13,.10);
}
.miploy-how .mfnum{
  display:inline-flex;align-items:center;justify-content:center;
  width:44px;height:44px;border-radius:11px;
  background:#0063E1;color:#fff;font-weight:800;font-size:18px;
  margin:0 0 12px;line-height:1;
}

/* ---- Image / text split buttons -> pill ---- */
.miploy-split .wp-block-button__link{
  background:#0063E1;color:#fff;border-radius:999px;
  padding:13px 26px;font-weight:600;
  transition:transform .15s ease, box-shadow .15s ease;
}
.miploy-split .wp-block-button__link:hover{
  transform:translateY(-1px);box-shadow:0 10px 22px rgba(0,99,225,.28);
}

/* ---- Footer ---- */
.miploy-foot a:hover{color:#0063E1;}
.miploy-foot .wp-block-social-links{gap:12px;justify-content:center;}
.miploy-foot .wp-block-social-link a{
  width:38px;height:38px;border:1px solid #333;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  transition:border-color .15s ease;
}
.miploy-foot .wp-block-social-link a:hover{border-color:#0063E1;}
