<!-- Related Events -->
<section class="event_related" id="event_related_2" aria-labelledby="event_related_2_title" aria-describedby="event_related_2_description">
    <div class="event_related_header">
        <div class="fs-row">
            <div class="fs-cell">
                <div class="event_related_header_inner">
                    <h2 class="event_related_title" id="event_related_2_title">
                        Related Events
                    </h2>
                    <div class="event_related_description" id="event_related_2_description">
                        <p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Curabitur blandit tempus porttitor. Etiam porta sem malesuada magna mollis euismod. Donec ullamcorper nulla non metus auct.</p>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="event_related_body">
        <div class="fs-row">
            <div class="fs-cell">
                <ul class="event_related_items" aria-labelledby="event_related_2_title">
                    <li class="event_related_item">
                        <figure class="event_related_item_figure">
                            <a class="event_related_item_figure_link" href="#" aria-labelledby="event_related_2_item_1_title" tabindex="-1">

                                <img class="event_related_item_image" srcset="https://images.fastspot.com/framework/980x654/1 980w, https://images.fastspot.com/framework/740x494/1 740w, https://images.fastspot.com/framework/500x334/1 500w, https://images.fastspot.com/framework/300x200/1 300w" src="https://images.fastspot.com/framework/300x200/1" alt="" loading="lazy" width="300" height="200">
                            </a>
                        </figure>
                        <div class="event_related_item_wrapper">
                            <div class="event_related_item_header">
                                <h2 class="event_related_item_title" id="event_related_2_item_1_title">

                                    <a class="
		event_related_item_title_link
				
	" href="#">
                                        <span class="event_related_item_title_link_inner">
                                            <span class="event_related_item_title_link_label">
                                                In Enim Justo Rhoncus Ut
                                            </span>
                                        </span>
                                    </a>
                                </h2>
                                <div class="event_related_item_time_wrapper">
                                    <time class="event_related_item_time" datetime="2023-05-31 17:00:00">
                                        May 31
                                    </time>
                                </div>
                            </div>
                            <div class="event_related_item_body">
                                <div class="event_related_item_description">
                                    <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus.</p>
                                </div>
                                <div class="event_related_item_details">
                                    <div class="event_related_item_detail">
                                        <span class="event_related_item_detail_icon" aria-hidden="true">
                                            <svg class="icon icon_clock">
                                                <use href="/images/icons.svg#clock" />
                                            </svg>
                                        </span>
                                        <span class="event_related_item_detail_hint">
                                            Time:&nbsp;
                                        </span>
                                        <span class="event_related_item_detail_label">
                                            5:00 PM - 7:00 PM
                                        </span>
                                    </div>
                                    <div class="event_related_item_detail">
                                        <span class="event_related_item_detail_icon" aria-hidden="true">
                                            <svg class="icon icon_place">
                                                <use href="/images/icons.svg#place" />
                                            </svg>
                                        </span>
                                        <span class="event_related_item_detail_hint">
                                            Location:&nbsp;
                                        </span>
                                        <span class="event_related_item_detail_label">
                                            Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia
                                        </span>
                                    </div>
                                    <div class="event_related_item_detail event_related_item_detail_category">
                                        <span class="event_related_item_detail_icon" aria-hidden="true">
                                            <svg class="icon icon_label">
                                                <use href="/images/icons.svg#label" />
                                            </svg>
                                        </span>
                                        <span class="event_related_item_detail_hint" id="event_related_2_item_1_detail_hint_category">
                                            Categories:&nbsp;
                                        </span>
                                        <ul class="event_related_item_detail_list" aria-labelledby="event_related_2_item_1_title event_related_2_item_1_detail_hint_category">
                                            <li class="event_related_item_detail_item">

                                                <a class="
		button_text
				
	" href="#">
                                                    <span class="button_text_inner">
                                                        <span class="button_text_label">
                                                            Donec pede justo
                                                        </span>
                                                    </span>
                                                </a>
                                            </li>
                                            <li class="event_related_item_detail_item">

                                                <a class="
		button_text
				
	" href="#">
                                                    <span class="button_text_inner">
                                                        <span class="button_text_label">
                                                            Vulputate
                                                        </span>
                                                    </span>
                                                </a>
                                            </li>
                                            <li class="event_related_item_detail_item">

                                                <a class="
		button_text
				
	" href="#">
                                                    <span class="button_text_inner">
                                                        <span class="button_text_label">
                                                            Sed fringilla mauris
                                                        </span>
                                                    </span>
                                                </a>
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </li>
                    <li class="event_related_item">
                        <figure class="event_related_item_figure">
                            <a class="event_related_item_figure_link" href="#" aria-labelledby="event_related_2_item_2_title" tabindex="-1">

                                <img class="event_related_item_image" srcset="https://images.fastspot.com/framework/980x654/4 980w, https://images.fastspot.com/framework/740x494/4 740w, https://images.fastspot.com/framework/500x334/4 500w, https://images.fastspot.com/framework/300x200/4 300w" src="https://images.fastspot.com/framework/300x200/4" alt="" loading="lazy" width="300" height="200">
                            </a>
                        </figure>
                        <div class="event_related_item_wrapper">
                            <div class="event_related_item_header">
                                <h2 class="event_related_item_title" id="event_related_2_item_2_title">

                                    <a class="
		event_related_item_title_link
				
	" href="#">
                                        <span class="event_related_item_title_link_inner">
                                            <span class="event_related_item_title_link_label">
                                                Phasellus gravida semper nisi. Nullam vel sem. Pellentesque libero tortor
                                            </span>
                                        </span>
                                    </a>
                                </h2>
                                <div class="event_related_item_time_wrapper">
                                    <time class="event_related_item_time" datetime="2023-05-31 17:00:00">
                                        May 31
                                    </time>
                                </div>
                            </div>
                            <div class="event_related_item_body">
                                <div class="event_related_item_description">
                                    <p>Aenean posuere, tortor sed cursus feugiat, nunc augue blandit nunc, eu sollicitudin urna dolor sagittis lacus. Donec elit libero, sodales nec, volutpat a, suscipit non, turpis. Nullam sagittis. Suspendisse pulvinar, augue ac venenatis condimentum, sem libero volutpat nibh, nec pellentesque velit pede quis nunc. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Fusce id purus.</p>
                                </div>
                                <div class="event_related_item_details">
                                    <div class="event_related_item_detail">
                                        <span class="event_related_item_detail_icon" aria-hidden="true">
                                            <svg class="icon icon_place">
                                                <use href="/images/icons.svg#place" />
                                            </svg>
                                        </span>
                                        <span class="event_related_item_detail_hint">
                                            Location:&nbsp;
                                        </span>
                                        <span class="event_related_item_detail_label">
                                            Praesent congue erat at massa
                                        </span>
                                    </div>
                                    <div class="event_related_item_detail event_related_item_detail_category">
                                        <span class="event_related_item_detail_icon" aria-hidden="true">
                                            <svg class="icon icon_label">
                                                <use href="/images/icons.svg#label" />
                                            </svg>
                                        </span>
                                        <span class="event_related_item_detail_hint" id="event_related_2_item_2_detail_hint_category">
                                            Categories:&nbsp;
                                        </span>
                                        <ul class="event_related_item_detail_list" aria-labelledby="event_related_2_item_2_title event_related_2_item_2_detail_hint_category">
                                            <li class="event_related_item_detail_item">

                                                <a class="
		button_text
				
	" href="#">
                                                    <span class="button_text_inner">
                                                        <span class="button_text_label">
                                                            Donec
                                                        </span>
                                                    </span>
                                                </a>
                                            </li>
                                        </ul>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </li>
                    <li class="event_related_item">
                        <div class="event_related_item_wrapper">
                            <div class="event_related_item_header">
                                <h2 class="event_related_item_title" id="event_related_2_item_3_title">

                                    <a class="
		event_related_item_title_link
				
	" href="#">
                                        <span class="event_related_item_title_link_inner">
                                            <span class="event_related_item_title_link_label">
                                                In Enim Justo Rhoncus Ut
                                            </span>
                                        </span>
                                    </a>
                                </h2>
                                <div class="event_related_item_time_wrapper">
                                    <time class="event_related_item_time" datetime="2023-05-31 17:00:00">
                                        May 31
                                        &nbsp;- Jun 13
                                    </time>
                                </div>
                            </div>
                            <div class="event_related_item_body">
                                <div class="event_related_item_details">
                                    <div class="event_related_item_detail">
                                        <span class="event_related_item_detail_icon" aria-hidden="true">
                                            <svg class="icon icon_clock">
                                                <use href="/images/icons.svg#clock" />
                                            </svg>
                                        </span>
                                        <span class="event_related_item_detail_hint">
                                            Time:&nbsp;
                                        </span>
                                        <span class="event_related_item_detail_label">
                                            5:00 PM - 7:00 PM
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</section>
<!-- END: Related Events -->
{#
	{% include '@component-event-related' with {
		title: 'Title',
		description: 'Description',
		items: [
			{
				image: '1',
				alt: '',
				title: 'Item Title',
				description: 'Item Description'
			}
		]
	} %}
#}

{% set id = uniqid('event_related') %}

<!-- Related Events -->
<section
	class="event_related"
	id="{{ id }}"
	aria-labelledby="{{ id }}_title"
	{% if description %}aria-describedby="{{ id }}_description"{% endif %}
>
	<div class="event_related_header">
		<div class="fs-row">
			<div class="fs-cell">
				<div class="event_related_header_inner">
					<h2 class="event_related_title" id="{{ id }}_title">
						{{ title }}
					</h2>
					{% if description %}
						<div class="event_related_description" id="{{ id }}_description">
							<p>{{ description }}</p>
						</div>
					{% endif %}
				</div>
			</div>
		</div>
	</div>
	<div class="event_related_body">
		<div class="fs-row">
			<div class="fs-cell">
				<ul
					class="event_related_items"
					aria-labelledby="{{ id }}_title"
				>
					{% for item in items %}
						{% set item_id = id ~ '_item_' ~ loop.index %}
						<li class="event_related_item">
							{% if item.image %}
								<figure class="event_related_item_figure">
									<a
										class="event_related_item_figure_link"
										href="{{ item.url }}"
										aria-labelledby="{{ item_id }}_title"
										tabindex="-1"
									>
										{% include '@partial-image' with {
											class: 'event_related_item_image',
											alt: item.alt,
											image: item.image,
											loading: 'lazy',
											crop: 'classic',
											max: 'med'
										} %}
									</a>
								</figure>
							{% endif %}
							<div class="event_related_item_wrapper">
								<div class="event_related_item_header">
									<h2 class="event_related_item_title" id="{{ item_id }}_title">
										{% include '@partial-link' with {
											classes: {
												base: 'event_related_item_title_link',
											},
											id: null,
											title: item.title,
											url: item.url
										} %}
									</h2>
									<div class="event_related_item_time_wrapper">
										<time
											class="event_related_item_time"
											datetime="{{ item.date.from }}"
										>
											{{ item.date.from|date('M d') }}
											{% if item.date.same_day == false %}
												&nbsp;- {{ item.date.to|date('M d') }}
											{% endif %}
										</time>
									</div>
								</div>
								<div class="event_related_item_body">
									{% if item.description %}
										<div class="event_related_item_description">
											<p>{{ item.description }}</p>
										</div>
									{% endif %}
									<div class="event_related_item_details">
										{% if item.date.all_day == false %}
											<div class="event_related_item_detail">
												<span class="event_related_item_detail_icon" aria-hidden="true">
													{{ icon('clock') }}
												</span>
												<span class="event_related_item_detail_hint">
													Time:&nbsp;
												</span>
												<span class="event_related_item_detail_label">
													{{ item.date.from|date('g:i A') }} - {{ item.date.to|date('g:i A') }}
												</span>
											</div>
										{% endif %}
										{% if item.location %}
											<div class="event_related_item_detail">
												<span class="event_related_item_detail_icon" aria-hidden="true">
													{{ icon('place') }}
												</span>
												<span class="event_related_item_detail_hint">
													Location:&nbsp;
												</span>
												<span class="event_related_item_detail_label">
													{{ item.location }}
												</span>
											</div>
										{% endif %}
										{% if item.categories %}
											<div class="event_related_item_detail event_related_item_detail_category">
												<span class="event_related_item_detail_icon" aria-hidden="true">
													{{ icon('label') }}
												</span>
												<span
													class="event_related_item_detail_hint"
													id="{{ item_id }}_detail_hint_category"
												>
													Categories:&nbsp;
												</span>
												<ul
													class="event_related_item_detail_list"
													aria-labelledby="{{ item_id }}_title {{ item_id }}_detail_hint_category"
												>
													{% for category in item.categories %}
														<li class="event_related_item_detail_item">
															{% include '@partial-link' with {
																classes: {
																	base: 'button_text'
																},
																id: null,
																title: category.title,
																url: category.url
															} %}
														</li>
													{% endfor %}
												</ul>
											</div>
										{% endif %}
									</div>
								</div>
							</div>
						</li>
					{% endfor %}
				</ul>
			</div>
		</div>
	</div>
</section>
<!-- END: Related Events -->

No notes defined.