.fh-mp { --mp-ink:#172e43; --mp-blue:#27547c; --mp-line:#d6dfe5; --mp-muted:#475e70; color:var(--mp-ink); font-family:inherit; scroll-margin-top:6rem; }
.fh-mp *, .fh-mp *::before, .fh-mp *::after { box-sizing:border-box; }
.fh-mp .mp-filters { display:flex; flex-wrap:wrap; gap:6px 10px; border-bottom:1px solid var(--mp-line); padding:0 0 15px; margin:0 0 28px; }
.fh-mp .mp-filters a { text-decoration:none; color:var(--mp-muted); font-weight:600; font-size:.94rem; line-height:1.35; padding:9px 15px; border-radius:3px; }
.fh-mp .mp-filters a:hover { background:#edf3f7; color:var(--mp-blue); }
.fh-mp .mp-filters a[aria-current] { background:var(--mp-ink); color:#fff; }
.fh-mp .mp-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:28px 22px; align-items:stretch; }
.fh-mp .mp-card { margin:0; background:#fff; border:1px solid var(--mp-line); overflow:hidden; border-radius:4px; }
.fh-mp .mp-card>a { display:flex; flex-flow:column; height:100%; color:var(--mp-ink); text-decoration:none; }
.fh-mp .mp-cover { overflow:hidden; }
.fh-mp .mp-cover img { width:100%; aspect-ratio:4/3; object-fit:cover; display:block; transition:transform .25s ease; }
.fh-mp .mp-card a:hover img { transform:scale(1.025); }
.fh-mp .mp-card-body { position:relative; flex:1; padding:19px 48px 21px 19px; }
.fh-mp .mp-type { display:inline-block; color:var(--mp-blue); text-transform:uppercase; font-size:.76rem; line-height:1.5; font-weight:700; letter-spacing:.09em; }
.fh-mp .mp-card h3 { color:var(--mp-ink); margin:5px 0; font:inherit; font-size:clamp(1.15rem,2vw,1.45rem); font-weight:600; line-height:1.18; overflow-wrap:anywhere; }
.fh-mp .mp-town { color:var(--mp-muted); font-size:.94rem; }
.fh-mp .mp-arrow { position:absolute; right:16px; top:19px; font-family:system-ui,sans-serif; font-size:1.2rem; color:var(--mp-blue); }
.fh-mp .mp-card:hover { border-color:var(--mp-blue); }
.fh-mp :is(a,button):focus-visible { outline:3px solid #2471a5; outline-offset:2px; }
.fh-mp .mp-card a:focus-visible { outline-offset:-4px; }
.fh-mp .mp-paging { display:flex; justify-content:center; align-items:center; gap:1em; flex-wrap:wrap; padding:24px 0 8px; }
.fh-mp .mp-paging a { color:var(--mp-blue); }
/* BeTheme prints this sibling of the site header with a second project title. */
body.single-fh_motuchi_proyecto #Header_wrapper #Subheader { display:none !important; }
.fh-mp.mp-single { max-width:1280px; margin:0 auto; padding:clamp(24px,4vw,64px) clamp(16px,4vw,48px) clamp(42px,7vw,96px); }
.fh-mp.mp-detail { --mp-brand:#76aadb; --mp-deep:#142d42; }
.fh-mp .mp-feature { overflow:hidden; background:var(--mp-deep); color:#fff; border-radius:4px; }
.fh-mp .mp-feature-with-photo { display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1.3fr); }
.fh-mp .mp-intro { align-self:center; min-width:0; padding:clamp(26px,4vw,62px); overflow-wrap:anywhere; }
.fh-mp .mp-category { display:flex; gap:11px; align-items:center; font-size:12px; line-height:1.5; letter-spacing:.15em; font-weight:700; text-transform:uppercase; color:#bdd9ef; }
.fh-mp .mp-category::before { content:""; flex:none; width:28px; height:2px; background:var(--mp-brand); }
.fh-mp.mp-single .mp-project-title { margin:16px 0 0; font-size:clamp(32px,3.8vw,58px); line-height:1.05; letter-spacing:-.035em; color:#fff; font-weight:600; }
.fh-mp .mp-location { color:#d0e2ed; font-size:15px; line-height:1.55; margin:12px 0 0; }
.fh-mp .mp-description { color:#f2f5f7; max-width:62ch; margin:24px 0 0; padding-top:18px; border-top:1px solid #4c6273; font-size:16px; line-height:1.65; }
.fh-mp .mp-description:first-child,.fh-mp .mp-location:first-child { margin-top:0; padding-top:0; border:0; }
.fh-mp .mp-description p { margin:0 0 .8em; }
.fh-mp .mp-description p:last-child { margin-bottom:0; }
.fh-mp .mp-cover-photo,.fh-mp .mp-tile { position:relative; display:block; min-width:0; margin:0; overflow:hidden; background:#ebeff1; }
.fh-mp .mp-cover-photo { min-height:clamp(300px,30vw,410px); }
.fh-mp .mp-cover-photo:only-child { grid-column:1/-1; }
.fh-mp .mp-photo { display:block; position:absolute; inset:0; overflow:hidden; cursor:zoom-in; }
/* WordPress can emit inline percentage heights based on the source image.
   The thumbnail frame, not that percentage, defines the visible crop. */
.fh-mp .mp-photo img { display:block; position:absolute; inset:0; width:100% !important; height:100% !important; max-width:none !important; max-height:none; object-fit:cover; object-position:center; margin:0; transition:transform .28s ease; }
.fh-mp .mp-photo:focus-visible { outline-offset:-4px; outline:3px solid #fff; z-index:1; }
@media(hover:hover) { .fh-mp .mp-photo:hover img { transform:scale(1.025); } }
.fh-mp .mp-zoom-label { position:absolute; top:14px; right:14px; padding:5px 10px; background:#142d42e8; color:white; border-radius:3px; font-size:12px; line-height:1.6; font-weight:600; }
.fh-mp .mp-zoom-label span { font-size:16px; vertical-align:middle; margin-left:3px; }
.fh-mp .mp-gallery-section { margin:clamp(32px,5vw,68px) 0 0; }
.fh-mp .mp-gallery-heading { display:flex; align-items:center; gap:22px; margin:0 0 20px; }
.fh-mp .mp-gallery-heading::after { content:""; flex:1; height:1px; background:var(--mp-line); }
.fh-mp .mp-gallery-heading h2 { margin:0; color:var(--mp-ink); font-size:clamp(22px,2.5vw,34px); line-height:1.15; font-weight:600; letter-spacing:-.025em; }
.fh-mp .mp-album { display:grid; gap:clamp(9px,1.5vw,20px); grid-template-columns:repeat(3,minmax(0,1fr)); }
.fh-mp .mp-album.mp-cols-2 { grid-template-columns:repeat(2,minmax(0,1fr)); }
.fh-mp .mp-album.mp-cols-1 { grid-template-columns:1fr; }
.fh-mp .mp-tile { aspect-ratio:4/3; border-radius:3px; }
.fh-mp .mp-cols-1 .mp-tile { aspect-ratio:2/1; }
.fh-mp .mp-detail figcaption,.fh-mp.mp-detail figcaption { position:absolute; z-index:1; bottom:0; left:0; right:0; padding:26px 14px 10px; margin:0; color:white; background:linear-gradient(transparent,rgba(10,23,32,.9)); pointer-events:none; font-size:14px; line-height:1.4; text-align:left; overflow-wrap:anywhere; }
.fh-mp .mp-feature:empty { display:none; }
@media(max-width:900px) { .fh-mp .mp-album { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:760px) {
	.fh-mp .mp-feature-with-photo { grid-template-columns:1fr; }
	.fh-mp .mp-cover-photo { min-height:0; aspect-ratio:16/10; }
	.fh-mp .mp-intro { padding:25px; }
	.fh-mp .mp-description { margin-top:17px; padding-top:13px; }
}
@media(max-width:560px) { .fh-mp .mp-album,.fh-mp .mp-album.mp-cols-2 { grid-template-columns:1fr; } .fh-mp .mp-cols-1 .mp-tile { aspect-ratio:4/3; } }
.fh-mp .mp-viewer { position:fixed; inset:0; margin:auto; padding:12px; border:0; border-radius:4px; width:min(1080px,96vw); max-width:96vw; height:min(90vh,860px); height:min(90dvh,860px); max-height:94vh; background:#152737; color:white; }
.fh-mp .mp-viewer:not([open]), .fh-mp .mp-viewer [hidden] { display:none; }
.fh-mp .mp-viewer[open] { display:grid; grid-template-rows:auto minmax(0,1fr) auto; gap:8px; }
.fh-mp .mp-viewer::backdrop { background:rgba(12,24,36,.88); }
.fh-mp .mp-toolbar,.fh-mp .mp-controls { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.fh-mp .mp-counter { font-variant-numeric:tabular-nums; }
.fh-mp .mp-stage img { display:block; width:100%; height:100%; object-fit:contain; }
.fh-mp .mp-caption { flex:1; text-align:center; max-height:4.5em; overflow:auto; line-height:1.4; }
.fh-mp .mp-viewer button { background:#263f53; color:white; font:inherit; padding:8px 13px; min-width:44px; min-height:44px; border:1px solid #758a9a; border-radius:3px; cursor:pointer; margin:0; }
@media(max-width:900px) { .fh-mp .mp-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:600px) { .fh-mp .mp-grid { grid-template-columns:1fr; } .fh-mp .mp-filters { gap:4px; } .fh-mp .mp-filters a { padding:8px 10px; } }
@media(prefers-reduced-motion:reduce) { .fh-mp .mp-cover img,.fh-mp .mp-photo img { transition:none; } .fh-mp .mp-card a:hover img,.fh-mp .mp-photo:hover img { transform:none; } }
