/* Shared English interface casing. Works for page content and dynamically opened forms.
   CSS changes display only: field values, translation keys and review data stay intact. */
html:lang(en) :is(h1,h2,h3,h4,h5,h6,button,summary,legend,label,dt,select,option),
html:lang(en) :is(nav,.nav,.site-links,.crumbs) a,
html:lang(en) :is(.button,.btn,.cta,.join,.vd-self-btn,.vd-simple-account),
html:lang(en) :is(.trip-footer-links,.trip-choice-row,.vd-trip-actions,.vd-self-actions,.vd-self-card) a,
html:lang(en) a:is([href^="/"],[href^="#"]):not(.brand):not(.vd-simple-brand):not(.entry):not(.vd-person-tag):not(.vd-profile-rating),
html:lang(en) :is(#vd-scuba-viator,#vd-scuba-gyg) {
  text-transform: capitalize;
}

/* Never capitalize a diver's actual writing, typed values, names, URLs or map labels. */
html:lang(en) :is(input,textarea,blockquote,.vdr-copy,[contenteditable]),
html:lang(en) :is(input,textarea,blockquote,.vdr-copy,[contenteditable]) *,
html:lang(en) :is(#vd-language,#vd-language option,.vdr-lang,.vdr-lang option),
html:lang(en) :is(.listing,.entry,.vd-tag-result,.vd-person-tag,.vd-person-rating-head,#vd-lookup-results,.leaflet-container,.maplibregl-map) *,
html:lang(en) :is(.vdr-operator-link,.vdr-location-link,.vd-tag-result,.vd-person-tag,.facts a,.vd-self-card h3,#page-title,#vd-account-name) {
  text-transform: none;
}

/* The profile label and rating are adjacent, not spread across the hero. */
.vd-profile .hero .vd-profile-label-row {
  justify-content: flex-start;
  gap: 18px;
}
@media (max-width: 560px) {
  .vd-profile .hero .vd-profile-label-row { gap: 12px; }
}
html:lang(en) :is(.crumbs,.profile-role,.vd-self-chip,.pill){text-transform:capitalize}html:lang(en) p{text-transform:none}

/* Proportionate inline rating, aligned with the profile category. */
.vd-profile .hero .vd-profile-label-row{align-items:center;gap:13px}.vd-profile .hero .vd-profile-label-row .vd-profile-rating{display:inline-flex;flex-direction:row;align-items:center;gap:8px;padding:0;margin:0;line-height:1;border:0;background:none;box-shadow:none}.vd-profile .hero .vd-profile-label-row .vd-average-stars{font-size:23px;line-height:1;letter-spacing:0;text-shadow:none}.vd-profile .hero .vd-profile-label-row .vd-average-fill{color:#ebc784}.vd-profile .hero .vd-profile-label-row .vd-rating-count{font-size:11px;line-height:1;color:#c5d5dd;white-space:nowrap;letter-spacing:0}.vd-profile .hero .vd-profile-label-row .vd-rating-count::before{content:'('}.vd-profile .hero .vd-profile-label-row .vd-rating-count::after{content:')'}@media(max-width:560px){.vd-profile .hero .vd-profile-label-row{gap:10px}.vd-profile .hero .vd-profile-label-row .vd-average-stars{font-size:19px}.vd-profile .hero .vd-profile-label-row .vd-profile-rating{gap:6px}.vd-profile .hero .vd-profile-label-row .vd-rating-count{font-size:10px}}
