/* Only the four primary home navigation cards receive likes. No original styles changed. */
.mc-home-modern .mc-main-catalogues .mhi-section-card { position: relative; }
.mc-home-modern .mhi-like-host {
  position:absolute; top:17px; right:17px; z-index:1;
  display:inline-flex; align-items:center; justify-content:flex-end;
  min-width:36px;
}
.mc-home-modern .mhi-like-button,
.mc-home-modern .mhi-like-button:hover,
.mc-home-modern .mhi-like-button:focus {
  display:inline-flex; align-items:center; gap:4px;
  padding:0; margin:0; border:0; border-radius:0;
  background:transparent; box-shadow:none!important; text-shadow:none!important;
  color:#00467b; font-family:inherit; font-size:16px; line-height:1.4; font-weight:500;
  text-decoration:none; cursor:pointer;
}
.mc-home-modern .mhi-like-button:hover,
.mc-home-modern .mhi-like-button:focus { color:#000; }
.mc-home-modern .mhi-like-button i { font-size:14px; line-height:1; }
.mc-home-modern .mhi-like-button:disabled { opacity: .65; cursor:default; }
.mc-home-modern .mhi-like-notice {
  position:absolute; right:0; bottom:calc(100% + 4px); z-index:3;
  color:#1f7a3a; background:#fff; padding:2px 3px;
  font-size:12px; font-weight:400; line-height:1.2;
  white-space:nowrap; pointer-events:none;
}
.mc-home-modern .mhi-like-notice.is-error { color:#9b1c1c; }
/* Buttons reuse the author's original .mc-actions and .mc-btn rules. */
.mc-home-modern .mc-tools .mhi-tool-actions { margin-top:auto; padding-top:15px; }
.mc-home-modern .mc-tools .mhi-tool-action { cursor:pointer; }
@media(max-width:767px) {
  .mc-home-modern .mhi-like-host { top:15px; right:15px; }
  .mc-home-modern .mc-tools .mhi-tool-action { width:100%; }
}
@media(max-width:380px) {
  .mc-home-modern .mhi-like-host { top:13px; right:13px; }
}
