/* ==========================================================================
   Utilities — small single-purpose classes usable from UX Builder "Class" fields.
   Keep this list short; prefer components.
   ========================================================================== */

.my-text-center { text-align: center; }
.my-text-muted  { color: var(--my-color-text-muted); }
.my-text-accent { color: var(--my-color-accent-dark); }
.my-text-invert, .my-text-invert h1, .my-text-invert h2, .my-text-invert h3, .my-text-invert p { color: var(--my-color-text-invert); }
.my-lead        { font-size: var(--my-fs-lead); }

.my-bg-alt     { background-color: var(--my-color-bg-alt); }
.my-bg-primary { background-color: var(--my-color-primary); }

.my-mt-0 { margin-top: 0 !important; }
.my-mb-0 { margin-bottom: 0 !important; }
.my-mb-5 { margin-bottom: var(--my-space-5) !important; }

.my-rounded    { border-radius: var(--my-radius-md); overflow: hidden; }
.my-rounded-lg { border-radius: var(--my-radius-lg); overflow: hidden; }

/* Hero overlay helper for Flatsome [ux_banner] (add class "my-hero" on the banner). */
.my-hero .overlay { display: none !important; }
.my-hero .banner-bg::after { content: ""; position: absolute; inset: 0; background: var(--my-overlay-hero-sm); }
.my-hero .banner-layers { position: relative; z-index: 2; }
@media (min-width: 850px) { .my-hero .banner-bg::after { background: var(--my-overlay-hero); } }
/* Flatsome Theme Options print ".banner h1 { color }" inline: out-rank it (0,2,1). */
.my-hero h1, .my-hero.banner h1, .my-hero .banner-layers h1,
.my-hero.banner h2, .my-hero.banner h3 { color: var(--my-color-text-invert); }
.my-hero h1 { max-width: 24ch; text-shadow: var(--my-text-shadow-hero); }
.my-hero p { text-shadow: var(--my-text-shadow-hero); }
.my-hero p  { color: var(--my-color-text-invert); opacity: 0.9; font-size: var(--my-fs-lead); max-width: 52ch; }

.my-hero .my-heading__eyebrow { font-size: var(--my-fs-xs); opacity: 1; color: var(--my-color-accent); max-width: none; }
.my-hero .my-hero__note, .my-hero .my-hero__caption { font-size: var(--my-fs-small); opacity: 0.8; margin-top: var(--my-space-3); }

.my-note { margin: var(--my-space-4) 0 0; font-size: var(--my-fs-small); color: var(--my-color-text-muted); text-align: center; }

/* Flatsome custom CSS justifies <p>; Meyland blocks are left-aligned (centered where noted). */
.my-hero p, .my-card p, .my-card li, .my-form p, .my-form label, .my-feature p, .my-heading p, .my-text-left { text-align: left; }
.my-heading--center p, .my-heading--center .my-heading__title { text-align: center; }
.my-note { text-align: center; }

#du-an, #lien-he { scroll-margin-top: var(--my-scroll-offset); }

.my-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }

@media (max-width: 549px) { .my-hide-mobile { display: none !important; } }
@media (min-width: 550px) { .my-show-mobile { display: none !important; } }
