/* Shared interaction for project cards on every page, independent of the layout. */
.wp-site-blocks a.mf-project-card .mf-project-frame{display:block;position:relative;overflow:hidden}
.wp-site-blocks a.mf-project-card .mf-project-frame img{display:block;transform:none;transition:transform .35s ease}
.wp-site-blocks a.mf-project-card :is(.mf-project-frame,.mg-project-caption) .mf-project-action{display:grid;place-items:center;width:32px;height:32px;min-width:32px;flex:0 0 32px;background:#fff;color:#111;border-radius:2px;box-shadow:none;border:0;pointer-events:none;transition:background .2s ease}
.wp-site-blocks a.mf-project-card .mf-project-frame>.mf-project-action{position:absolute;right:10px;bottom:10px}
.wp-site-blocks a.mf-project-card .mf-project-action .mg-profile-mark{display:inline-block;position:relative;width:14px;height:14px;min-width:14px;flex:0 0 14px;color:inherit;line-height:1}
.wp-site-blocks a.mf-project-card .mf-project-action .mg-profile-mark:before,
.wp-site-blocks a.mf-project-card .mf-project-action .mg-profile-mark:after{content:'';position:absolute;width:6px;height:6px;box-sizing:border-box;transform:none;transition:transform .2s ease}
.wp-site-blocks a.mf-project-card .mf-project-action .mg-profile-mark:before{top:0;left:0;border-top:1px solid currentColor;border-left:1px solid currentColor}
.wp-site-blocks a.mf-project-card .mf-project-action .mg-profile-mark:after{bottom:0;right:0;border-right:1px solid currentColor;border-bottom:1px solid currentColor}
@media(hover:hover) and (pointer:fine){
 .wp-site-blocks a.mf-project-card:hover .mf-project-frame img{transform:scale(1.025)}
 .wp-site-blocks a.mf-project-card:hover :is(.mf-project-frame,.mg-project-caption) .mf-project-action{background:#f6e70e}
 .wp-site-blocks a.mf-project-card:hover .mf-project-action .mg-profile-mark:before{transform:translate(1px,1px)}
 .wp-site-blocks a.mf-project-card:hover .mf-project-action .mg-profile-mark:after{transform:translate(-1px,-1px)}
}
.wp-site-blocks a.mf-project-card:focus-visible .mf-project-frame img{transform:scale(1.025)}
.wp-site-blocks a.mf-project-card:focus-visible :is(.mf-project-frame,.mg-project-caption) .mf-project-action{background:#f6e70e}
.wp-site-blocks a.mf-project-card:focus-visible .mf-project-action .mg-profile-mark:before{transform:translate(1px,1px)}
.wp-site-blocks a.mf-project-card:focus-visible .mf-project-action .mg-profile-mark:after{transform:translate(-1px,-1px)}
@media(max-width:650px){.wp-site-blocks a.mf-project-card :is(.mf-project-frame,.mg-project-caption) .mf-project-action{width:28px;height:28px;min-width:28px;flex-basis:28px}}
@media(prefers-reduced-motion:reduce){
 .wp-site-blocks a.mf-project-card .mf-project-frame img,
 .wp-site-blocks a.mf-project-card :is(.mf-project-frame,.mg-project-caption) .mf-project-action,
 .wp-site-blocks a.mf-project-card .mf-project-action .mg-profile-mark:before,
 .wp-site-blocks a.mf-project-card .mf-project-action .mg-profile-mark:after{transition:none}
 .wp-site-blocks a.mf-project-card:is(:hover,:focus-visible) .mf-project-frame img,
 .wp-site-blocks a.mf-project-card:is(:hover,:focus-visible) .mf-project-action .mg-profile-mark:before,
 .wp-site-blocks a.mf-project-card:is(:hover,:focus-visible) .mf-project-action .mg-profile-mark:after{transform:none}
}

.wp-site-blocks a.mf-project-card .mg-project-caption .mf-project-action{border:1px solid #dedede}

@media(hover:none),(pointer:coarse){
 .wp-site-blocks a.mf-project-card:hover:not(:focus-visible) .mf-project-frame img,
 .wp-site-blocks a.mf-project-card:hover:not(:focus-visible) .mf-project-action .mg-profile-mark:before,
 .wp-site-blocks a.mf-project-card:hover:not(:focus-visible) .mf-project-action .mg-profile-mark:after{transform:none}
 .wp-site-blocks a.mf-project-card:hover:not(:focus-visible) :is(.mf-project-frame,.mg-project-caption) .mf-project-action{background:#fff}
}
