% has_block = media_section.alignment == "block_left" || media_section.alignment == "block_right" || media_section.alignment == "block_center" alignment = has_block ? media_section.alignment.split("_")[1]: media_section.alignment %> <% if media_section.andand.linked.present? %> <%= "