
/* CSS Rules */

.events-page table td { border: none }

.banner-region img {
    max-width:100%;
    height:auto;
}

/* Event Styles _________________________________________________________________________________________ */

.main-content article h3 {
	margin-bottom: 25px; 
	font-size: 20px; 
    font-size: 2.0rem; 
    line-height: 1;
}

.main-content article * + h3 {
	margin-top: 1.5em;
}

.lo-event aside	{
	float: left; width: 220px; margin-left: 0;
}

.lo-event article {
	float: none; width: 700px; margin-left: 240px;
}

table,
thead, tfoot, tbody,
tr, th, td {
	padding: 0; margin: 0; border: 0;
}

table {
	width: 100%;
	border-collapse: collapse; border-spacing: 0;
}
	table td {
		border: 10px 0;
	}

.widget .widget-content {
	height: auto;
}

/* Event pages: sidebar (parts/event-menu.php and parts/widgets.php) ________________________________________
 *
 * Stacked/side-by-side article and aside handling lives in base.css (Main); on .events-page the aside stays
 * above the article on phones (Decided, Jon, 2026-11-02). Below laptop width the menu is a stack of rounded
 * buttons and "Other events" shrinks to its "View all" link; from laptop up the menu is one teal panel and
 * "Other events" a bordered list. The current page's link has aria-current="page" (amber).
 */

.menu,
.event-page-list,
.event-page-list li {
	display: block; padding: 0; margin: 0; border: 0;
	list-style: none;
}

.main-content > aside:has(.event-page-list) {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-bottom: 0;
}

.event-page-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

	.event-page-list a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		min-height: 56px;
		padding: 12px 18px;
		box-sizing: border-box;
		border-radius: 8px;
		font-size: 17px;
		font-weight: 700;
		line-height: 1.3;
		color: #FFFFFF;
		text-decoration: none;
		background: var(--brand-teal);
	}

		.event-page-list a::after {
			content: "";
			flex: 0 0 auto;
			width: 22px;
			height: 22px;
			background: currentColor;
			-webkit-mask: var(--icon-circle-arrow) no-repeat center / contain;
			mask: var(--icon-circle-arrow) no-repeat center / contain;
		}

		.event-page-list a:hover {
			color: #FFFFFF;
			text-decoration: none;
			background: var(--brand-teal-dark);
		}

		.event-page-list a[aria-current="page"] {
			font-weight: 800;
			color: var(--brand-teal);
			background: var(--brand-amber);
		}

	/* Sub-pages */
	.event-page-list ul {
		display: flex;
		flex-direction: column;
		gap: 6px;
		margin: 6px 0 0 16px;
	}

		.event-page-list ul a {
			min-height: 44px;
			font-size: 15px;
		}

.other-events__title,
.other-events__list,
.other-events__none {
	display: none;
}

.other-events__all {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 56px;
	padding: 12px 18px;
	box-sizing: border-box;
	border: 1.5px solid var(--brand-line);
	border-radius: 8px;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.3;
	color: var(--brand-teal);
	text-decoration: none;
	background: var(--brand-cream);
}

	.other-events__all::after {
		content: "";
		flex: 0 0 auto;
		width: 22px;
		height: 22px;
		background: currentColor;
		-webkit-mask: var(--icon-circle-arrow) no-repeat center / contain;
		mask: var(--icon-circle-arrow) no-repeat center / contain;
	}

	.other-events__all:hover {
		color: var(--brand-link);
		text-decoration: none;
	}

@media screen and (min-width: 960px) {

	/* A wider sidebar than the default 220px, with more room beside the article */
	.main-content:has(> aside .event-page-list) {
		gap: 20px 40px;
	}

		.main-content:has(> aside .event-page-list) > article {
			flex-basis: calc(100% - 300px);
		}

		.main-content > aside:has(.event-page-list) {
			flex: 0 0 260px;
			width: 260px;
			gap: 20px;
		}

	.event-page-list {
		gap: 0;
		overflow: hidden;
		border-radius: 8px;
		background: var(--brand-teal);
	}

		.event-page-list a {
			min-height: 0;
			padding: 16px 20px;
			border-radius: 0;
		}

		.event-page-list li + li > a {
			border-top: 1px solid rgba(255, 255, 255, 0.12);
		}

		.event-page-list ul {
			gap: 0;
			margin: 0;
		}

			.event-page-list ul a {
				padding: 12px 20px 12px 32px;
				font-size: 15px;
				font-weight: 600;
			}

	.other-events {
		overflow: hidden;
		border: 1.5px solid var(--brand-line);
		border-radius: 8px;
		background: #FFFFFF;
	}

		/* Two classes to win over ".main-content h2" in base.css */
		.other-events .other-events__title {
			display: block;
			margin: 0;
			padding: 16px 20px;
			border-bottom: 1.5px solid var(--brand-line);
			font-size: 19px;
			font-weight: 800;
			line-height: 1.3;
			color: var(--brand-teal);
			background: var(--brand-cream);
		}

		.other-events__list {
			display: block;
			margin: 0;
			padding: 0 20px;
			list-style: none;
		}

			.other-events__item {
				display: flex;
				flex-direction: column;
				gap: 6px;
				margin: 0;
				padding: 12px 0;
				border-bottom: 1px solid var(--brand-line-light);
				list-style: none;
			}

				.other-events__item > a {
					font-size: 15px;
					font-weight: 700;
					line-height: 1.35;
					color: var(--brand-teal);
				}

				.other-events__item > a:hover {
					color: var(--brand-link);
				}

				.other-events__meta {
					display: flex;
					flex-wrap: wrap;
					align-items: center;
					gap: 8px;
					font-size: 14px;
					line-height: 1.4;
					color: var(--brand-text-label);
				}

				/* Sentence case whatever the CMS text */
				.other-events__meta .event__label {
					display: inline-block;
					height: 22px;
					padding: 0 8px;
					border-radius: 999px;
					font-size: 11px;
					font-weight: 700;
					line-height: 22px;
					letter-spacing: 0.03em;
					text-transform: lowercase;
					color: #FFFFFF;
					background: var(--brand-grey);
				}

					.other-events__meta .event__label::first-letter {
						text-transform: uppercase;
					}

		.other-events__none {
			display: block;
			margin: 0;
			padding: 12px 20px;
			font-size: 15px;
		}

		.other-events__all {
			min-height: 0;
			padding: 16px 20px;
			border: 0;
			border-radius: 0;
			font-size: 16px;
			background: none;
		}

			.other-events__all::after {
				width: 18px;
				height: 18px;
				-webkit-mask-image: var(--icon-arrow);
				mask-image: var(--icon-arrow);
			}

}



/* Event pages: article (layout--event-default.php) _________________________________________________________
 *
 * Training courses get a summary panel and a list of dates. Section headings, in the template's sections and in
 * the CMS content, get the design's short amber rule. Prefixed with .event-overview to win over the legacy
 * ".main-content article h3" here and "article li" in base.css.
 */

.event-overview {
	display: flex;
	flex-direction: column;
	gap: 30px;
	font-size: 16px;
	line-height: 1.55;
	color: var(--brand-teal);
}

	.event-overview .event-page-title {
		margin: 20px 0 0 0;
		padding: 0;
		font-size: 32px;
		font-weight: 800;
		line-height: 1.15;
		color: var(--brand-teal);
	}

	.event-overview .event-section {
		display: flex;
		flex-direction: column;
		gap: 12px;
	}

	.event-overview .event-section > h2,
	.event-overview .event-content h2,
	.event-overview .event-content h3,
	.event-overview .event-content h4 {
		margin: 0 0 12px 0;
		padding: 0;
		font-size: 20px;
		font-weight: 800;
		line-height: 1.3;
		color: var(--brand-teal);
	}

		.event-overview .event-section > h2::after,
		.event-overview .event-content h2::after,
		.event-overview .event-content h3::after,
		.event-overview .event-content h4::after {
			content: "";
			display: block;
			width: 40px;
			height: 3px;
			margin-top: 8px;
			border-radius: 2px;
			background: var(--brand-amber);
		}

	.event-overview .event-section > h2 {
		margin: 0;
	}

	.event-overview .event-content * + h2,
	.event-overview .event-content * + h3,
	.event-overview .event-content * + h4 {
		margin-top: 32px;
	}

	.event-overview p {
		margin: 0 0 12px 0;
		padding: 0;
		line-height: 1.55;
	}

	.event-overview .event-section > p {
		margin: 0;
	}

	.event-overview .event-content ul,
	.event-overview .event-content ol {
		margin: 0 0 12px 0;
		padding: 0 0 0 22px;
	}

		.event-overview .event-content li {
			margin: 0 0 10px 0;
			padding: 0;
			line-height: 1.55;
			list-style: disc;
		}

		.event-overview .event-content ol > li {
			list-style: decimal;
		}

	/* Course summary */
	.course-summary {
		display: flex;
		flex-direction: column;
		gap: 18px;
		padding: 22px 20px;
		border-top: 6px solid var(--brand-orange);
		border-radius: 8px;
		background: var(--brand-cream);
	}

		.course-summary__facts {
			display: flex;
			flex-direction: column;
			gap: 18px;
			margin: 0;
		}

			.course-summary__fact {
				display: flex;
				flex-direction: column;
				gap: 4px;
			}

			.course-summary dt {
				font-size: 14px;
				font-weight: 700;
				line-height: 1.3;
				color: var(--brand-text-label);
			}

			.course-summary dd {
				margin: 0;
				font-size: 18px;
				font-weight: 800;
				line-height: 1.3;
				color: var(--brand-teal);
			}

			.course-summary dd.course-summary__note {
				font-size: 14px;
				font-weight: 400;
				line-height: 1.4;
				color: var(--brand-text-label);
			}

		.course-summary .register {
			display: flex;
			justify-content: center;
			min-height: 54px;
		}

	/* Dates of course; the labels are styled in base.css (Events) */
	.course-dates {
		margin: 0;
		padding: 0;
		list-style: none;
		border-top: 1px solid var(--brand-line);
	}

		.course-dates .course-dates__item {
			display: flex;
			flex-direction: column;
			align-items: flex-start;
			gap: 8px;
			margin: 0;
			padding: 12px 0;
			border-bottom: 1px solid var(--brand-line);
			list-style: none;
		}

			.course-dates__date {
				font-size: 16px;
				font-weight: 700;
			}

@media screen and (min-width: 720px) {

	.event-overview {
		gap: 36px;
		font-size: 17px;
	}

		.event-overview .event-page-title {
			font-size: 44px;
			line-height: 1.1;
		}

		.event-overview .event-section > h2,
		.event-overview .event-content h2,
		.event-overview .event-content h3,
		.event-overview .event-content h4 {
			font-size: 22px;
		}

		.course-summary {
			flex-direction: row;
			flex-wrap: wrap;
			align-items: center;
			justify-content: space-between;
			gap: 24px;
			padding: 28px 32px;
		}

			.course-summary__facts {
				flex: 1 1 420px;
				display: grid;
				grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
				gap: 20px 32px;
			}

			.course-summary .register {
				display: inline-flex;
			}

		.course-dates .course-dates__item {
			flex-direction: row;
			flex-wrap: wrap;
			align-items: center;
			justify-content: space-between;
			gap: 8px 16px;
		}

			.course-dates__date {
				font-size: 18px;
				font-weight: 600;
			}

}



/* Multimedia styles
   ----------------------------------------------------*/
	iframe{width:100%;}
	




/* New 2023  */

.event-info-block {
    display: block;
    margin-bottom: 1em;
}

    .event-info-block__title {
        display: inline-block;
        padding: 10px 0 5px 0;
        margin-bottom: 0.5em;
        border-bottom: 2px solid var(--brand-amber);
    }

    .event-info-block__info + .event-info-block__info {
        margin-top: 0.25em;
    }

    .event-info-block__info + .event-info-block__title {
        margin-top: 0;
    }


    
		
/* Speaker list
   ----------------------------------------------------*/

   .speaker-list {
    width: 100%;
    display: grid;
    grid-template-rows: 1fr;
    
    list-style: none; 
    background: none;
  }
  
  .speaker {
    list-style: none; 
    background: none;
    margin: 0;
    padding: 0;
  }
  
  @media screen and (min-width: 512px){
    .speaker-list {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1em;
    }
  }
  
  @media screen and (min-width: 720px){
    .speaker-list {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 1em;
    }
  }
      
  
  .speaker {
    margin: 0;
    padding: 0;
  }
  
  .speaker__link {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;  
    align-items: center;
    text-align: center;
  }
  .speaker__name,
  .speaker__image {
    display: block;
  }
  
  .speaker__name {
    padding-top: 0.5em;
    padding-bottom: 0.5em;
  }
  
  
  