/*!
Theme Name: Ontrack
Theme URI: http://underscores.me/
Author: KCFA
Author URI: http://underscores.me/
Description: Community members area theme for Ontrack.
Version: 1.2.6
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: ontrack
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/* Page Container
--------------------------------------------- */
#page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

/* Content Area
--------------------------------------------- */
.site-main {
	flex: 1;
	padding: 3em 0;
	background-color: transparent;
}

#primary {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2em;
	width: 100%;
	box-sizing: border-box;
}

/* Content Container
--------------------------------------------- */
.content-area {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2em;
	width: 100%;
	box-sizing: border-box;
}

/* Entry Content
--------------------------------------------- */
.entry-content {
	max-width: 100%;
	line-height: 1.8;
}

.entry-content > * {
	max-width: 100%;
}

.entry-content p {
	margin-bottom: 1.5em;
}

.entry-content img {
	height: auto;
	max-width: 100%;
	margin: 1.5em 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 2em;
	margin-bottom: 1em;
	font-weight: 600;
}

.entry-content h2 {
	font-size: 2rem;
}

.entry-content h3 {
	font-size: 1.5rem;
}

.entry-content h4 {
	font-size: 1.25rem;
}

.entry-content ul,
.entry-content ol {
	margin: 1.5em 0;
	padding-left: 2em;
}

.entry-content a {
	color: #4169e1;
	text-decoration: underline;
}

.entry-content a:hover {
	color: #191970;
}

/* Entry Header
--------------------------------------------- */
.entry-header {
	margin-bottom: 2em;
}

.entry-title {
	font-size: 2.5rem;
	font-weight: 700;
	margin: 0 0 0.5em;
	color: #404040;
	line-height: 1.2;
}

/* Article/Post Styling
--------------------------------------------- */
article {
	margin-bottom: 3em;
	padding: 0;
}

article:last-child {
	margin-bottom: 0;
}

/* Post Thumbnail
--------------------------------------------- */
.post-thumbnail {
	margin: 0 0 2em;
}

.post-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
}

/* Responsive Layout
--------------------------------------------- */
@media screen and (max-width: 768px) {
	#primary,
	.content-area {
		padding: 0 1em;
	}
	
	.site-main {
		padding: 1.5em 0;
	}
	
	.entry-title {
		font-size: 2rem;
	}
}

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Header
--------------------------------------------- */
.site-header {
	padding: 1.5em 0;
	background: #fff;
	border-bottom: 2px solid #e0e0e0;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
	position: relative;
	z-index: 100;
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2em;
}

@media screen and (max-width: 37.5em) {
	.header-container {
		padding: 0 1em;
	}
	
	.site-header {
		padding: 1em 0;
	}
	
	.site-branding {
		gap: 0.5em;
	}
	
	.site-title {
		font-size: 1rem;
	}
	
	.site-branding .custom-logo {
		max-height: 50px;
	}
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 0.75em;
	flex: 0 0 auto;
}

.site-branding .custom-logo-link {
	margin: 0;
	display: flex;
	align-items: center;
	line-height: 0;
}

.site-branding .custom-logo {
	max-height: 60px;
	width: auto;
	height: auto;
}

.site-title {
	margin: 0;
	font-size: 1.25rem;
	line-height: 1.3;
	font-weight: 500;
}

.site-title a {
	text-decoration: none;
	color: #404040;
	display: block;
}

.site-title a:hover,
.site-title a:focus {
	color: #4169e1;
}

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	flex: 0 0 auto;
	position: relative;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
	color: #404040;
	font-weight: 500;
	transition: color 0.2s ease;
}

.main-navigation a:hover,
.main-navigation a:focus {
	color: #4169e1;
}

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
	color: #800080;
	text-decoration: underline;
	text-underline-offset: .5em;
}

/* Menu Toggle (Hamburger)
--------------------------------------------- */
.menu-toggle {
	display: block;
	background: transparent;
	border: none;
	padding: 0.5em;
	cursor: pointer;
	width: 40px;
	height: 40px;
	position: relative;
	z-index: 1000;
}

.menu-toggle:focus {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.menu-toggle span {
	display: block;
	width: 25px;
	height: 3px;
	background-color: #404040;
	margin: 5px 0;
	transition: all 0.3s ease;
	position: relative;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -7px);
}

.menu-toggle .screen-reader-text {
	position: absolute;
	clip: rect(1px, 1px, 1px, 1px);
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Mobile Menu
--------------------------------------------- */
.main-navigation.toggled ul {
	display: block;
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: #fff;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	padding: 1em 0;
	margin-top: 0.5em;
	z-index: 999;
	width: 100%;
}

@media screen and (max-width: 37.5em) {
	.main-navigation {
		position: static;
	}
	
	.main-navigation.toggled ul {
		margin-top: 0;
		box-shadow: none;
		border-top: 1px solid #e0e0e0;
	}
}

.main-navigation.toggled li {
	border-bottom: 1px solid #e0e0e0;
}

.main-navigation.toggled li:last-child {
	border-bottom: none;
}

.main-navigation.toggled a {
	padding: 1em 2em;
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
		flex-direction: row;
		align-items: center;
		gap: 2em;
	}

	.main-navigation li {
		margin: 0;
	}

	.main-navigation a {
		padding: 0.5em 0;
		white-space: nowrap;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-content {
	max-width: 100%;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/* Footer
--------------------------------------------- */
.site-footer {
	background-color: #f5f5f5;
	border-top: 2px solid #e0e0e0;
	padding: 2em 0;
	margin-top: 3em;
	box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
	position: relative;
	z-index: 100;
}

.footer-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2em;
}

.site-info {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1em;
}

.site-info .copyright {
	margin: 0;
	color: #666;
	font-size: 0.9rem;
}

.footer-navigation ul {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 1.5em;
	flex-wrap: wrap;
}

.footer-navigation a {
	color: #666;
	text-decoration: none;
	font-size: 0.9rem;
	transition: color 0.2s ease;
}

.footer-navigation a:hover,
.footer-navigation a:focus {
	color: #4169e1;
}

@media screen and (max-width: 768px) {
	.site-footer {
		padding: 1.5em 0;
	}
	
	.footer-container {
		padding: 0 1em;
	}
	
	.site-info {
		flex-direction: column;
		text-align: center;
	}
	
	.footer-navigation ul {
		justify-content: center;
	}
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/*--------------------------------------------------------------
# Banner Slider
--------------------------------------------------------------*/

.banner-slider {
	position: relative;
	width: 100vw;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	overflow: hidden;
	margin-bottom: 3em;
	margin-top: 0;
}

.banner-slides {
	position: relative;
	width: 100%;
	height: 100%;
}

.banner-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	transition: opacity 1.5s ease-in-out;
	display: flex;
	align-items: center;
	justify-content: center;
}

.banner-slide.active {
	opacity: 1;
	position: relative;
	z-index: 1;
}

.banner-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.4);
	z-index: 1;
}

.banner-content {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2em;
	text-align: center;
}

.banner-text {
	color: #fff;
}

.banner-title {
	font-size: 3rem;
	font-weight: 700;
	margin: 0 0 1em;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	line-height: 1.2;
}

.banner-description {
	font-size: 1.25rem;
	margin-bottom: 2em;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
	line-height: 1.6;
}

.banner-description p {
	margin-bottom: 1em;
}

.banner-button {
	display: inline-block;
	padding: 1em 2em;
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 600;
	font-size: 1.1rem;
	transition: opacity 0.3s ease, transform 0.2s ease;
	text-shadow: none;
	border: 2px solid transparent;
}

.banner-button:hover,
.banner-button:focus {
	opacity: 0.9;
	transform: translateY(-2px);
	color: #fff;
	text-decoration: none;
}

.banner-controls {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: space-between;
	z-index: 10;
	pointer-events: none;
}

.banner-prev,
.banner-next {
	background: transparent;
	border: none;
	width: 80px;
	height: 100%;
	font-size: 3rem;
	cursor: pointer;
	transition: background-color 0.3s ease;
	pointer-events: all;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
	padding: 0;
}

.banner-prev {
	justify-content: flex-start;
	padding-left: 1em;
}

.banner-next {
	justify-content: flex-end;
	padding-right: 1em;
}

.banner-prev:hover,
.banner-next:hover {
	background: rgba(0, 0, 0, 0.1);
}

.banner-indicators {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 10px;
	z-index: 10;
}

.banner-indicator {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 2px solid #fff;
	background: transparent;
	cursor: pointer;
	padding: 0;
	transition: background-color 0.3s ease;
}

.banner-indicator.active,
.banner-indicator:hover {
	background-color: #fff;
}

@media screen and (max-width: 768px) {
	.banner-title {
		font-size: 2rem;
	}
	
	.banner-description {
		font-size: 1rem;
	}
	
	.banner-button {
		padding: 0.8em 1.5em;
		font-size: 1rem;
	}
	
	.banner-prev,
	.banner-next {
		width: 60px;
		font-size: 2.5rem;
	}
	
	.banner-prev {
		padding-left: 0.5em;
	}
	
	.banner-next {
		padding-right: 0.5em;
	}
	
	.banner-content {
		padding: 0 1em;
	}
}

/*--------------------------------------------------------------
# Full Page Layout
--------------------------------------------------------------*/

/* Hide header and footer for full page layout */
.ontrack-full-page-layout .site-header,
.ontrack-full-page-layout .site-footer {
	display: none;
}

/* Full page layout content styling */
.ontrack-full-page-layout #page {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.ontrack-full-page-layout .site-main {
	flex: 1;
	padding: 3em 0;
	margin: 0;
	background-color: transparent;
}

.ontrack-full-page-layout #primary {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2em;
	width: 100%;
	box-sizing: border-box;
}

.ontrack-full-page-layout .entry-content {
	max-width: 100%;
	line-height: 1.8;
}

.ontrack-full-page-layout article {
	margin: 0;
	padding: 0;
}

/* Remove sidebar for full page layout */
.ontrack-full-page-layout #secondary {
	display: none;
}

/* Full width content sections */
.ontrack-full-page-layout .entry-content > * {
	max-width: 100%;
}

/* Allow for custom full-width sections */
.ontrack-full-page-layout .entry-content .alignfull {
	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;
	max-width: 100vw;
}

/* Responsive adjustments for full page layout */
@media screen and (max-width: 768px) {
	.ontrack-full-page-layout #primary {
		padding: 0 1em;
	}

	.ontrack-full-page-layout .site-main {
		padding: 1.5em 0;
	}
}

/*--------------------------------------------------------------
# Ontrack audio player
--------------------------------------------------------------*/

/* Audio collection page: compact header with thumbnail sidebar */
/*--------------------------------------------------------------
# Audio collection single page
--------------------------------------------------------------*/
.ontrack-audio-collection-hero {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	margin-bottom: 1.25em;
	background: #1e293b;
}

.ontrack-audio-collection-hero img {
	display: block;
	width: 100%;
	height: 200px;
	object-fit: cover;
	opacity: 0.85;
}

.ontrack-audio-collection-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient( to top, rgba( 0, 0, 0, 0.82 ) 0%, rgba( 0, 0, 0, 0.25 ) 55%, transparent 100% );
	display: flex;
	align-items: flex-end;
	padding: 1.25rem;
}

.ontrack-audio-collection-hero__title {
	margin: 0;
	color: #fff;
	font-size: 1.5rem;
	line-height: 1.2;
	text-shadow: 0 1px 4px rgba( 0, 0, 0, 0.5 );
}

.ontrack-audio-collection-desc {
	margin: 0 0 1.25em;
	font-size: 0.9em;
	color: #475569;
}

/*--------------------------------------------------------------
# Video collection single page
--------------------------------------------------------------*/
.ontrack-video-collection-header {
	margin-bottom: 1.25em;
}

.ontrack-video-collection-header .entry-header {
	padding: 0;
	margin-bottom: 0.4em;
}

.ontrack-video-collection-header .entry-content {
	margin: 0;
	font-size: 0.9em;
	color: #475569;
}

/*--------------------------------------------------------------
# Shared playlist section label
--------------------------------------------------------------*/
.ontrack-playlist-label {
	margin: 0;
	padding: 0.6em 1.25em;
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #94a3b8;
	border-top: 1px solid #e2e8f0;
	background: #f8fafc;
}

/* Ensure [hidden] attribute works even when elements have display: flex/block */
.ontrack-audio-player-loading[hidden],
.ontrack-audio-player-container[hidden],
.ontrack-audio-player-error[hidden],
.ontrack-video-player-loading[hidden],
.ontrack-video-player-main[hidden],
.ontrack-video-player-error[hidden] {
	display: none;
}

.ontrack-audio-player-wrap {
	margin: 1.5em 0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
	background: #fff;
}

.ontrack-audio-player-loading {
	display: flex;
	align-items: center;
	gap: 0.75em;
	padding: 1.25em 1.5em;
	color: #64748b;
	font-size: 0.9em;
}

.ontrack-audio-loading-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #94a3b8;
	flex-shrink: 0;
	animation: klac-pulse 1.2s ease-in-out infinite;
}

@keyframes klac-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.4; transform: scale(0.75); }
}

.ontrack-audio-player-container {
	display: flex;
	flex-direction: column;
}

.ontrack-audio-header {
	display: flex;
	align-items: center;
	gap: 0.75em;
	padding: 0.875em 1.25em;
	background: #1e293b;
	color: #fff;
	min-height: 3.25em;
}

.ontrack-audio-header-icon {
	flex-shrink: 0;
	color: #94a3b8;
	display: flex;
	align-items: center;
}

.ontrack-audio-now-playing {
	font-size: 0.9em;
	font-weight: 500;
	color: #f1f5f9;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.ontrack-audio-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1em;
	padding: 1em 1.25em 0.75em;
	background: #fff;
}

.ontrack-audio-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: none;
	background: none;
	color: #334155;
	cursor: pointer;
	border-radius: 50%;
	transition: background 0.15s, color 0.15s;
}

.ontrack-audio-btn:hover {
	background: #f1f5f9;
	color: #1e293b;
}

.ontrack-audio-prev,
.ontrack-audio-next {
	width: 2.25em;
	height: 2.25em;
}

.ontrack-audio-play {
	width: 3em;
	height: 3em;
	background: #1e293b;
	color: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}

.ontrack-audio-play:hover {
	background: #0f172a;
	color: #fff;
}

.ontrack-audio-progress-wrap {
	display: flex;
	align-items: center;
	gap: 0.6em;
	padding: 0 1.25em 0.875em;
	background: #fff;
}

.ontrack-audio-time-current,
.ontrack-audio-time-duration {
	font-size: 0.78em;
	color: #94a3b8;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
	min-width: 2.8em;
}

.ontrack-audio-time-duration {
	text-align: right;
}

.ontrack-audio-seek-wrap {
	flex: 1;
}

.ontrack-audio-seek {
	width: 100%;
	height: 4px;
	accent-color: #1e293b;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	background: #e2e8f0;
	border-radius: 2px;
	outline: none;
}

.ontrack-audio-seek::-webkit-slider-thumb {
	-webkit-appearance: none;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #1e293b;
	cursor: pointer;
}

.ontrack-audio-seek::-moz-range-thumb {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: #1e293b;
	border: none;
	cursor: pointer;
}

.ontrack-audio-element {
	display: none;
}

.ontrack-audio-playlist {
	list-style: none;
	margin: 0;
	padding: 0;
	max-height: 14em;
	overflow-y: auto;
}

.ontrack-audio-playlist-item {
	margin: 0;
	border-left: 3px solid transparent;
	transition: border-color 0.15s;
}

.ontrack-audio-playlist-item + .ontrack-audio-playlist-item {
	border-top: 1px solid #f8fafc;
}

.ontrack-audio-playlist-item.is-active {
	background: #f1f5f9;
	border-left-color: #1e293b;
}

.ontrack-audio-playlist-item.is-active .ontrack-audio-playlist-link {
	font-weight: 600;
	color: #1e293b;
}

.ontrack-audio-playlist-link {
	display: block;
	width: 100%;
	text-align: left;
	padding: 0.75em 1.25em;
	background: none;
	border: none;
	font-size: 0.875em;
	color: #475569;
	cursor: pointer;
	transition: background 0.12s;
}

.ontrack-audio-playlist-link:hover {
	background: #f8fafc;
	color: #1e293b;
}

.ontrack-audio-player-error {
	padding: 1em 1.25em;
	color: #b91c1c;
	background: #fef2f2;
	font-size: 0.9em;
}

/*--------------------------------------------------------------
# Ontrack video player
--------------------------------------------------------------*/
.ontrack-video-player-wrap {
	margin: 1.5em 0;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, .12);
	background: #fff;
}

.ontrack-video-player-loading {
	display: flex;
	align-items: center;
	gap: 0.75em;
	padding: 1.25em 1.5em;
	color: #64748b;
	font-size: 0.9em;
}

.ontrack-video-player-main {
	display: flex;
	flex-direction: column;
}

.ontrack-video-embed-wrap {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden;
	background: #000;
}

.ontrack-video-iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.ontrack-video-now-playing {
	margin: 0;
	padding: 0.875em 1.25em;
	font-weight: 600;
	font-size: 0.95em;
	color: #1e293b;
	background: #f1f5f9;
	border-bottom: 1px solid #e2e8f0;
}

.ontrack-video-playlist {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	max-height: 16em;
	overflow-y: auto;
}

.ontrack-video-playlist-item {
	margin: 0;
	border-bottom: 1px solid #f1f5f9;
	border-left: 3px solid transparent;
	transition: border-color 0.15s;
}

.ontrack-video-playlist-item:last-child {
	border-bottom: none;
}

.ontrack-video-playlist-item.is-active {
	background: #f1f5f9;
	border-left-color: #1e293b;
}

.ontrack-video-playlist-item.is-active .ontrack-video-playlist-link {
	font-weight: 600;
	color: #1e293b;
}

.ontrack-video-playlist-link {
	display: flex;
	align-items: center;
	gap: 0.75em;
	width: 100%;
	text-align: left;
	padding: 0.65em 1.25em;
	background: none;
	border: none;
	font-size: 0.875em;
	cursor: pointer;
	color: #475569;
	transition: background 0.12s;
}

.ontrack-video-playlist-link:hover {
	background: #f8fafc;
	color: #1e293b;
}

.ontrack-video-playlist-thumb {
	width: 5em;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	flex-shrink: 0;
	border-radius: 3px;
	background: #e2e8f0;
}

.ontrack-video-player-error {
	padding: 1em 1.25em;
	color: #b91c1c;
	background: #fef2f2;
	font-size: 0.9em;
}

/*--------------------------------------------------------------
# Collection archive grid
--------------------------------------------------------------*/
.ontrack-collection-grid {
	display: grid;
	grid-template-columns: repeat( auto-fill, minmax( 280px, 1fr ) );
	gap: 1.75rem;
	margin: 2rem 0;
}

.ontrack-collection-card {
	display: flex;
	flex-direction: column;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 8px rgba( 0, 0, 0, 0.10 );
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.ontrack-collection-card:hover {
	box-shadow: 0 8px 24px rgba( 0, 0, 0, 0.16 );
	transform: translateY( -4px );
}

.ontrack-collection-card__thumbnail {
	position: relative;
	display: block;
	overflow: hidden;
	text-decoration: none;
}

.ontrack-collection-card__thumbnail img,
.ontrack-collection-card__thumbnail-placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.ontrack-collection-card__thumbnail-placeholder {
	background: linear-gradient( 135deg, #e8e8e8 0%, #c8c8c8 100% );
}

.ontrack-collection-card:hover .ontrack-collection-card__thumbnail img {
	transform: scale( 1.05 );
}

.ontrack-collection-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient( to top, rgba( 0, 0, 0, 0.78 ) 0%, rgba( 0, 0, 0, 0.25 ) 55%, transparent 100% );
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 1rem;
	gap: 0.35rem;
}

.ontrack-collection-card__badge {
	display: inline-block;
	align-self: flex-start;
	background: rgba( 255, 255, 255, 0.2 );
	border: 1px solid rgba( 255, 255, 255, 0.35 );
	color: #fff;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.2em 0.55em;
	border-radius: 4px;
}

.ontrack-collection-card__title {
	font-size: 1.1rem;
	margin: 0;
	line-height: 1.3;
	color: #fff;
	text-shadow: 0 1px 4px rgba( 0, 0, 0, 0.5 );
}

.ontrack-collection-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.1rem 1.25rem 1.25rem;
	gap: 0.75rem;
}

.ontrack-collection-card__summary {
	font-size: 0.9rem;
	color: #555;
	margin: 0;
}

.ontrack-collection-card__summary p {
	margin: 0;
}

.ontrack-collection-card__cta {
	align-self: flex-start;
	margin-top: auto;
}

/* =====================================================================
   Members Area
   ===================================================================== */

.ontrack-members-area {
	max-width: 1100px;
	margin: 0 auto;
	padding: 2rem 1rem 4rem;
}

/* Animation */
.ontrack-members-animation {
	width: 100%;
	max-height: 420px;
	overflow: hidden;
	border-radius: 6px;
	margin-bottom: 2.5rem;
}

.ontrack-members-animation__video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Welcome */
.ontrack-members-welcome {
	text-align: center;
	margin-bottom: 3rem;
}

.ontrack-members-welcome__heading {
	font-size: 2rem;
	margin-bottom: 1.5rem;
}

.ontrack-members-welcome__content {
	max-width: 680px;
	margin: 1.5rem auto 0;
	text-align: left;
}

/* Countdown */
.ontrack-countdown {
	display: inline-block;
	margin: 0 auto 1.5rem;
}

.ontrack-countdown__label {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #666;
	margin-bottom: 0.75rem;
}

.ontrack-countdown__grid {
	display: flex;
	gap: 1.25rem;
	justify-content: center;
}

.ontrack-countdown__unit {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 4rem;
}

.ontrack-countdown__value {
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.ontrack-countdown__unit-label {
	font-size: 0.7rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #888;
	margin-top: 0.25rem;
}

.ontrack-countdown__inprogress {
	font-weight: 600;
	color: #2e7d32;
	margin-top: 0.5rem;
}

/* Collection sections */
.ontrack-members-section {
	margin-bottom: 3rem;
}

.ontrack-members-section__title {
	font-size: 1.4rem;
	border-bottom: 2px solid #e0e0e0;
	padding-bottom: 0.5rem;
	margin-bottom: 1.5rem;
}

.ontrack-members-section__archive-link {
	margin-top: 1rem;
	text-align: right;
	font-size: 0.9rem;
}

.ontrack-members-section__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	border-bottom: 2px solid #e0e0e0;
	padding-bottom: 0.5rem;
	margin-bottom: 1.5rem;
}

.ontrack-members-section__header .ontrack-members-section__title {
	border-bottom: none;
	padding-bottom: 0;
	margin-bottom: 0;
}

.ontrack-members-section__see-all {
	font-size: 0.85rem;
	color: #0668b1;
	text-decoration: none;
	white-space: nowrap;
}

.ontrack-members-section__see-all:hover {
	text-decoration: underline;
}

/* Upcoming events — compact row list */
.ontrack-event-list--compact {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.ontrack-event-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	padding: 0.85rem 1rem;
	text-decoration: none;
	color: inherit;
	transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.ontrack-event-row:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	border-color: #c8d8e8;
}

.ontrack-event-row__icon {
	font-size: 1.1rem;
	flex-shrink: 0;
}

.ontrack-event-row__content {
	flex: 1;
	min-width: 0;
}

.ontrack-event-row__title {
	display: block;
	font-weight: 600;
	font-size: 0.95rem;
	color: #1a1a1a;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.ontrack-event-row__meta {
	display: block;
	font-size: 0.82rem;
	color: #666;
	margin-top: 0.15rem;
}

.ontrack-event-row__arrow {
	font-size: 1.4rem;
	color: #aaa;
	flex-shrink: 0;
	line-height: 1;
}

/* Event archive — card list */
.ontrack-event-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.ontrack-event-card {
	display: flex;
	gap: 1.25rem;
	background: #fff;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	overflow: hidden;
}

.ontrack-event-card__thumbnail {
	flex-shrink: 0;
	width: 160px;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #f0f0f0;
}

.ontrack-event-card__thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ontrack-event-card__body {
	flex: 1;
	min-width: 0;
	padding: 1rem 1rem 1rem 0;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.ontrack-event-card__title {
	font-size: 1.05rem;
	font-weight: 600;
	margin: 0;
}

.ontrack-event-card__title a {
	color: inherit;
	text-decoration: none;
}

.ontrack-event-card__title a:hover {
	text-decoration: underline;
}

.ontrack-event-card__meta {
	font-size: 0.85rem;
	color: #666;
}

.ontrack-event-card__sep {
	margin: 0 0.3rem;
	color: #bbb;
}

.ontrack-event-card__excerpt {
	font-size: 0.9rem;
	color: #555;
	line-height: 1.5;
}

.ontrack-event-card__cta {
	margin-top: auto;
	align-self: flex-start;
	padding-top: 0.5rem;
}

@media screen and (max-width: 480px) {
	.ontrack-event-card {
		flex-direction: column;
	}

	.ontrack-event-card__thumbnail {
		width: 100%;
		aspect-ratio: 16 / 9;
	}

	.ontrack-event-card__body {
		padding: 0.85rem;
	}
}

/* Event single */
.ontrack-event-single {
	max-width: 800px;
	margin: 0 auto 3rem;
}

.ontrack-event-single__banner {
	margin-bottom: 1.75rem;
	border-radius: 8px;
	overflow: hidden;
	text-align: center;
}

.ontrack-event-single__banner img {
	display: block;
	width: 100%;
	height: auto;
}

.ontrack-event-single__title {
	font-size: 1.8rem;
	font-weight: 700;
	margin: 0 0 1rem;
}

.ontrack-event-single__meta {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-bottom: 1.25rem;
	padding: 1rem 1.25rem;
	background: #f7f9fc;
	border-radius: 8px;
}

.ontrack-event-single__meta-row {
	display: flex;
	gap: 0.75rem;
	font-size: 0.95rem;
}

.ontrack-event-single__meta-label {
	font-weight: 600;
	flex-shrink: 0;
	min-width: 72px;
	color: #555;
}

.ontrack-event-single__meta-value {
	color: #1a1a1a;
}

.ontrack-event-single__stream-btn {
	margin-top: 0.5rem;
}

.ontrack-event-single__content {
	margin-top: 1.75rem;
}

.ontrack-event-single__footer {
	margin-top: 2rem;
	padding-top: 1.25rem;
	border-top: 1px solid #e8e8e8;
}

.ontrack-event-single__footer a {
	color: #555;
	text-decoration: none;
	font-size: 0.9rem;
}

.ontrack-event-single__footer a:hover {
	text-decoration: underline;
}

/* Sub-navigation */
.ontrack-members-subnav {
	border-bottom: 2px solid #e0e0e0;
	margin-bottom: 2rem;
}

.ontrack-members-subnav__list,
.ontrack-members-subnav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0;
}

.ontrack-members-subnav__item,
.ontrack-members-subnav li {
	margin: 0;
}

.ontrack-members-subnav__link,
.ontrack-members-subnav a {
	display: block;
	padding: 0.6rem 1.1rem;
	font-size: 0.9rem;
	font-weight: 500;
	color: inherit;
	text-decoration: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
}

.ontrack-members-subnav__link:hover,
.ontrack-members-subnav a:hover {
	color: inherit;
	border-bottom-color: currentColor;
}

.ontrack-members-subnav__item.is-active .ontrack-members-subnav__link,
.ontrack-members-subnav .current-menu-item a,
.ontrack-members-subnav .current_page_item a {
	border-bottom-color: currentColor;
	font-weight: 700;
}

/* Section page content */
.ontrack-members-section-content__header {
	margin-bottom: 1.5rem;
}

.ontrack-members-section-content__title {
	font-size: 1.6rem;
}

/* Access denied */
.ontrack-access-denied {
	max-width: 540px;
	margin: 4rem auto;
	padding: 2.5rem;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	text-align: center;
}

.ontrack-access-denied__heading {
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

.ontrack-access-denied p {
	margin-bottom: 1rem;
	color: #444;
}

/* =====================================================================
   Front Page: Focus Areas
   ===================================================================== */

.home-focus-areas {
	background: #f7f7f7;
	padding: 3.5rem 2rem;
}

.home-focus-grid {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 1.75rem;
	max-width: 1200px;
	margin: 0 auto;
}

@media screen and (max-width: 56em) {
	.home-focus-grid {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media screen and (max-width: 37.5em) {
	.home-focus-grid {
		grid-template-columns: 1fr;
	}
}

.home-focus-card {
	display: flex;
	flex-direction: column;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 2px 8px rgba( 0, 0, 0, 0.09 );
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.home-focus-card:hover {
	box-shadow: 0 8px 24px rgba( 0, 0, 0, 0.14 );
	transform: translateY( -4px );
}

.home-focus-card__image {
	overflow: hidden;
}

.home-focus-card__image img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.home-focus-card:hover .home-focus-card__image img {
	transform: scale( 1.04 );
}

.home-focus-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.25rem 1.4rem 1.4rem;
	gap: 0.6rem;
}

.home-focus-card__title {
	font-size: 1.1rem;
	margin: 0;
	line-height: 1.3;
	color: #222;
}

.home-focus-card__excerpt {
	font-size: 0.9rem;
	color: #555;
	line-height: 1.6;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.home-focus-card__link {
	align-self: flex-start;
	margin-top: auto;
	padding-top: 0.5rem;
	font-size: 0.88rem;
	font-weight: 600;
	color: #4169e1;
	text-decoration: none;
	transition: color 0.2s ease;
}

.home-focus-card__link:hover {
	color: #2a4db5;
}
