/* Atelier Azur 2.6 — the WordPress Media Library controls above inject the
   selected photo and colour preset without altering Gutenberg saved blocks. */
.azur-editable-home .azur-block-hero,.hero-section{background-repeat:no-repeat;background-size:cover;background-position:center}
.azur-editable-home .azur-editable-card,.practice-card{background-repeat:no-repeat;background-size:cover;background-position:center}
/* Preserve readable overlay and the consistent midnight-blue hover treatment. */
body:not(.wp-admin) .azur-editable-home .azur-editable-card:is(:hover,:focus-within),
body:not(.wp-admin) .practices-grid>.practice-card:is(:hover,:focus-visible){
  background:linear-gradient(140deg,#102b4f,#174b8b)!important;
  color:#fff!important
}
body:not(.wp-admin) .azur-editable-home .azur-editable-card:is(:hover,:focus-within) :is(h3,p,a,span),
body:not(.wp-admin) .practices-grid>.practice-card:is(:hover,:focus-visible) :is(h3,p,a,span){color:#fff!important}
@media(prefers-reduced-motion:reduce){.azur-editable-card,.practice-card{animation:none!important;transition:none!important}}

/* v2.6: a card comes to the FRONT, never reorders the grid. Gutenberg Columns
   and the legacy grid may otherwise clip a rising sibling at row boundaries. */
body:not(.wp-admin) .azur-editable-home .azur-adjustable-frame,
body:not(.wp-admin) .azur-editable-home .azur-card-column,
body:not(.wp-admin) .azur-editable-home .azur-card-row,
body:not(.wp-admin) .azur-editable-home .azur-card-row>.wp-block-column,
body:not(.wp-admin) .practices-grid,
body:not(.wp-admin) .azur-editable-section .azur-area-row,
body:not(.wp-admin) .azur-editable-section .azur-area-row>.wp-block-column {
    overflow:visible!important;
}
body:not(.wp-admin) .azur-editable-home .azur-card-row,
body:not(.wp-admin) .azur-editable-section .azur-area-row {
    position:relative;
    z-index:auto;
}
body:not(.wp-admin) .azur-editable-home .azur-card-row>.wp-block-column,
body:not(.wp-admin) .azur-editable-section .azur-area-row>.wp-block-column {
    position:relative;
    z-index:0;
}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  body:not(.wp-admin) .azur-editable-home .azur-card-row:hover,
  body:not(.wp-admin) .azur-editable-section .azur-area-row:hover {z-index:20}
  body:not(.wp-admin) .azur-editable-home .azur-card-row>.wp-block-column:hover,
  body:not(.wp-admin) .azur-editable-section .azur-area-row>.wp-block-column:hover {z-index:22}
  body:not(.wp-admin) .azur-editable-home .azur-editable-card:hover,
  body:not(.wp-admin) .practices-grid>.practice-card:hover {
    z-index:30;
    transform:translateY(-13px) scale(1.04)!important;
    box-shadow:0 30px 70px rgba(10,43,86,.27),0 4px 16px rgba(10,43,86,.12)!important;
  }
}
body:not(.wp-admin) .azur-editable-home .azur-card-row:focus-within,
body:not(.wp-admin) .azur-editable-section .azur-area-row:focus-within {z-index:20}
body:not(.wp-admin) .azur-editable-home .azur-card-row>.wp-block-column:focus-within,
body:not(.wp-admin) .azur-editable-section .azur-area-row>.wp-block-column:focus-within {z-index:22}
body:not(.wp-admin) .azur-editable-home .azur-editable-card:focus-within,
body:not(.wp-admin) .practices-grid>.practice-card:focus-visible {
    z-index:30;
    box-shadow:0 24px 58px rgba(10,43,86,.25)!important;
}
@media(hover:none), (prefers-reduced-motion:reduce) {
    body:not(.wp-admin) .azur-editable-home .azur-editable-card,
    body:not(.wp-admin) .practices-grid>.practice-card {transform:none!important}
}
