/* PharmacyOM wordmark — hollow O/M filled with Oman flag.
   Always LTR so RTL pages don't reverse to “MOPharmacy”. */
.pom-mark {
  display: inline-flex;
  align-items: baseline;
  flex-direction: row;
  gap: 0;
  font-family: "Readex Pro", "IBM Plex Sans Arabic", sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: inherit;
  text-decoration: none;
  direction: ltr;
  unicode-bidi: isolate;
}
.pom-mark__text { display: inline-block; unicode-bidi: isolate; }
.pom-mark__om {
  display: inline-flex;
  flex-direction: row;
  align-items: baseline;
  direction: ltr;
  unicode-bidi: isolate;
}
.pom-flag-letter {
  position: relative;
  display: inline-block;
  font-weight: 800;
  line-height: 0.9;
  vertical-align: baseline;
  margin-left: 0.02em;
  direction: ltr;
  unicode-bidi: isolate;
}
.pom-flag-letter::before {
  content: attr(data-letter);
  position: absolute;
  inset: 0;
  color: transparent;
  -webkit-text-stroke: 0.055em rgba(255, 255, 255, 0.95);
  text-stroke: 0.055em rgba(255, 255, 255, 0.95);
  z-index: 0;
  pointer-events: none;
}
.pom-flag-letter > span {
  position: relative;
  z-index: 1;
  display: inline-block;
  background-image: url("https://flagcdn.com/w320/om.png");
  background-size: cover;
  background-position: center 40%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
/* Dark/light stroke variants */
.pom-mark--on-dark .pom-flag-letter::before {
  -webkit-text-stroke-color: rgba(255, 255, 255, 0.92);
}
.pom-mark--on-light .pom-flag-letter::before {
  -webkit-text-stroke-color: rgba(15, 61, 36, 0.55);
}
.pom-mark--nav {
  font-size: 1.1rem;
  gap: 0;
}
.pom-mark--hero {
  font-size: clamp(2.4rem, 7vw, 3.7rem);
}
.pom-mark--hero .pom-flag-letter {
  margin-left: 0.04em;
}
