/* Maal Home | directional identity, V41.
   A restrained half-rhombus replaces small navigation arrows, never content icons
   or the original logo. Reused across all public templates. */
.mh-brand-chevron {
  --mh-chevron-width: 16px;
  --mh-chevron-height: 24px;
  display: inline-block !important;
  vertical-align: -0.18em;
  flex: 0 0 auto;
  inline-size: var(--mh-chevron-width) !important;
  block-size: var(--mh-chevron-height) !important;
  min-inline-size: 0;
  background-color: currentColor;
  -webkit-mask: url('../images/maal-half-diamond-original-v41.png') center / contain no-repeat;
  mask: url('../images/maal-half-diamond-original-v41.png') center / contain no-repeat;
  font-size: 0 !important;
  line-height: 0 !important;
  font-style: normal;
  opacity: .93;
  transition: opacity .18s ease;
}
.mh-brand-chevron--right { transform: scaleX(-1); }

/* Navigation marker uses the supplied exact half-diamond artwork, never a CSS-drawn arrow. */
.mh-reference-categories .mh-brand-chevron {
  --mh-chevron-width: 18px;
  --mh-chevron-height: 30px;
  color: #1578b3;
}
.mh-reference-categories a.active .mh-brand-chevron,
.mh-reference-categories a:hover .mh-brand-chevron,
.mh-reference-categories a:focus-visible .mh-brand-chevron { color: #fff; opacity: 1; }
.mh-reference-categories a { min-height: 41px; }

/* Read-more actions and property cards: a single subtle brand cue per action. */
.mh-feature-footer .mh-brand-chevron,
.mh-reference-article-footer .mh-brand-chevron,
.mh-article-end .mh-brand-chevron,
.mh-article-back .mh-brand-chevron,
.mh-news-article .mh-brand-chevron,
.mh-blog-read .mh-brand-chevron {
  --mh-chevron-width: 14px;
  --mh-chevron-height: 23px;
}
.project-card-action .mh-brand-chevron,
.mh-model-card-action .mh-brand-chevron { --mh-chevron-width: 13px; --mh-chevron-height: 21px; }
.project-card-action a,
.mh-feature-footer a,
.mh-reference-article-footer a,
.mh-article-end a { gap: 7px; }
.mh-model-card-action .mh-brand-chevron,
.project-card-action .mh-brand-chevron { margin-inline-start: 2px; }

/* Existing footer contact/social icons remain untouched. */
.official-reference-footer .footer-link-icon.mh-brand-chevron {
  --mh-chevron-width: 12px;
  --mh-chevron-height: 20px;
  color: #8ac1eb;
  opacity: .9;
}
.official-reference-footer .footer-links-list a:hover .mh-brand-chevron,
.official-reference-footer .footer-links-list a:focus-visible .mh-brand-chevron { color: currentColor; opacity: 1; }

/* Preserve the established round CTA for apartment models; only the internal arrow changes. */
.apartment-model-details-page .back-btn .mh-brand-chevron {
  --mh-chevron-width: 16px;
  --mh-chevron-height: 24px;
}
.apartment-model-details-page .cta-arrow .mh-brand-chevron {
  --mh-chevron-width: 13px;
  --mh-chevron-height: 19px;
  color: inherit;
}

/* Project-photo carousel buttons retain their click targets and direction. */
.project-photo-carousel .owl-nav .mh-brand-chevron {
  --mh-chevron-width: 15px;
  --mh-chevron-height: 23px;
  color: inherit;
  opacity: 1;
}

/* The photo gallery retains its position and button size, with the brand navy
   in place of an unrelated legacy orange; do not alter the carousel logic. */
.project-photo-carousel .owl-nav .owl-prev,
.project-photo-carousel .owl-nav .owl-next {
  display: flex; align-items: center; justify-content: center;
  background: #0b3b76; color: #fff;
  box-shadow: 0 2px 8px rgba(4, 24, 59, .14);
}
.project-photo-carousel .owl-nav .owl-prev { border-radius: 0 7px 7px 0; }
.project-photo-carousel .owl-nav .owl-next { border-radius: 7px 0 0 7px; }
.project-photo-carousel .owl-nav .owl-prev:hover,
.project-photo-carousel .owl-nav .owl-next:hover { background: #1268a7; }

/* One restrained hover cue, no repetitive animation on cards or page titles. */
.mh-reference-categories a:focus-visible,
.official-reference-footer .footer-links-list a:focus-visible,
.project-card-action a:focus-visible { outline: 2px solid #1979bf; outline-offset: 3px; }
@media (max-width: 600px) {
  .mh-reference-categories .mh-brand-chevron { --mh-chevron-width: 17px; --mh-chevron-height: 27px; }
  .project-card-action .mh-brand-chevron,
  .mh-model-card-action .mh-brand-chevron { --mh-chevron-width: 12px; --mh-chevron-height: 20px; }
}
@media (prefers-reduced-motion: reduce) { .mh-brand-chevron { transition: none !important; } }
