/* Add child theme overrides here. */

.mes-read-more {
    color: var(--breakdance-color-brand, #F59F24); /* Use BD brand color if available, else WP blue */
    cursor: pointer;
    text-decoration: underline;
    margin-left: 5px;
    font-weight: 600;
}

.mes-read-more:hover {
    color: #af711a;
    text-decoration: none;
}

/* Imagify serves AVIF/WebP for already-optimized images via a <picture> wrapper,
   while not-yet-optimized images stay as a bare <img>. That makes some Breakdance
   image elements behave differently (e.g. one card in "Co pořádáme"). This rule makes
   the <picture> wrapper behave like the <img> so card sizing stays uniform regardless
   of optimization state. The inner <img> keeps its per-element Breakdance sizing
   (.bde-image2-<id> has higher specificity, so width/height/object-fit are unchanged). */
picture:has(> img.bde-image2) {
    display: block;
    width: 100%;
    line-height: 0;
}

