/* ---- MiP: bottom row on portfolio pages ---- */
nav.post-navigation .nav-links{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
nav.post-navigation .nav-links .nav-previous,
nav.post-navigation .nav-links .nav-next{
  flex:1 1 0;
  min-width:0;
  display:flex;
  align-items:center;
  gap:12px;
}
nav.post-navigation .nav-links .nav-previous{ flex-direction:row; justify-content:flex-start; text-align:left; }
nav.post-navigation .nav-links .nav-next{ flex-direction:row-reverse; justify-content:flex-start; text-align:right; }
nav.post-navigation .nav-links .meta-nav{ display:none !important; }
nav.post-navigation .nav-links .post-title{ margin:0 !important; }
nav.post-navigation .nav-links svg{ flex:0 0 auto; }


/* share block, moved into the middle of the row by the custom JS */
.single-share-box.mip-share-inline{
  flex:0 0 auto;
  width:auto !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  text-align:center;
}
.single-share-box.mip-share-inline .share-link-description{ text-align:center; }
.single-share-box.mip-share-inline .share-buttons{ justify-content:center; }

/* no share block on the Expertise pages */
article.dt_portfolio_category-expertise .single-share-box{ display:none !important; }

@media (max-width:800px){
  nav.post-navigation .nav-links{ flex-wrap:wrap; }
  .single-share-box.mip-share-inline{ order:3; flex:1 0 100%; margin-top:24px !important; }
}
/* arrows become normal flex items so they sit centred beside the title */
nav.post-navigation .nav-links .nav-previous,
nav.post-navigation .nav-links .nav-next{ padding:0 !important; }
nav.post-navigation .nav-links .nav-previous svg,
nav.post-navigation .nav-links .nav-next svg{
  position:static !important;
  top:auto !important;
  left:auto !important;
  right:auto !important;
  bottom:auto !important;
}
nav.post-navigation .nav-links .nav-previous svg,
nav.post-navigation .nav-links .nav-next svg{ transform:none !important; }
nav.post-navigation .nav-links .nav-previous svg,
nav.post-navigation .nav-links .nav-next svg{ width:32px !important; height:32px !important; }
nav.post-navigation .nav-links .nav-previous svg.mip-flip,
nav.post-navigation .nav-links .nav-next svg.mip-flip{ transform:scaleX(-1) !important; }
/* Expertise pages: keep the prev/next row (the share block stays hidden) */
article.dt_portfolio_category-expertise nav.post-navigation{ display:block !important; }
/* Projects filter: hide Furniture Design and Outdoor Design (categories kept, just not listed) */
.filter-categories a.furniture-design,
.filter-categories a.outdoor-design{ display:none !important; }
/* Our Studio: no slider arrows on the page, the magnifier keeps its own */
.page-id-17 .gallery-carousel-shortcode .owl-nav{ display:none !important; }