<!-- Renders Info card module for 1x2 size-->
<DataTemplate xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
              xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
              xmlns:sc="using:SearchUI.Controls"
              xmlns:tm="using:SearchUI.TemplateManager"
              x:Key="Shared.InfoCard_1x2_8_1_RTM">
    <ContentControl Style="{CustomResource Resources.Shared.HeroModuleStyle}">
        <ItemsControl ItemsSource="{Binding Extended:fact}">
            <ItemsControl.ItemsPanel>
                <ItemsPanelTemplate>
                    <sc:OverflowStackPanel Orientation="Vertical" />
                </ItemsPanelTemplate>
            </ItemsControl.ItemsPanel>
            <ItemsControl.ItemTemplate>
                <DataTemplate>
                    <Grid>
                        <Grid.RowDefinitions>
                            <RowDefinition Height="Auto" />
                            <RowDefinition Height="Auto" />
                        </Grid.RowDefinitions>
                        <TextBlock Grid.Row="0"
                                   tm:RichText.Text="{Binding Extended:content.System_Search_Contents}"
                                   Style="{CustomResource TextStyle_MediumSmall_SemiLight_Saturated}"
                                   Margin="0, 0, 0, 1"
                                   TextTrimming="WordEllipsis"
                                   TextWrapping="Wrap"
                                   MaxLines="3"
                                   IsTextSelectionEnabled="True" />
                        <TextBlock Grid.Row="1"
                                   tm:RichText.Text="{Binding Extended:label.System_Search_Contents}"
                                   Style="{CustomResource TextStyle_Normal_SemiLight_Saturated}"
                                   Margin="0, 0, 0, 13"
                                   Opacity="0.6"
                                   TextWrapping="Wrap"
                                   MaxLines="2"
                                   IsTextSelectionEnabled="True" />
                    </Grid>
                </DataTemplate>
            </ItemsControl.ItemTemplate>
        </ItemsControl>
    </ContentControl>
</DataTemplate>