/* A Lifetime Of Wisdom: the few styles that are this site's own. Everything else is the old theme's styles
   (the other files in this folder), kept as they were so the site looks the same. */

/* The partner logos drifting sideways (the old theme did this with a script). */
.nectar-flickity.alow-ticker .flickity-viewport { overflow: hidden; }
.nectar-flickity.alow-ticker .flickity-slider { display: flex; width: max-content; animation: alow-ticker 40s linear infinite; }
.nectar-flickity.alow-ticker .cell { flex: 0 0 auto; }
@keyframes alow-ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .nectar-flickity.alow-ticker .flickity-slider { animation: none; } }

/* The strip of short videos: scrolls sideways and snaps to each one. */
.nectar-flickity.alow-scroller .flickity-viewport { overflow-x: auto !important; overflow-y: hidden !important; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab; }
.nectar-flickity.alow-scroller .flickity-viewport::-webkit-scrollbar { display: none; }
.nectar-flickity.alow-scroller .flickity-viewport.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.nectar-flickity.alow-scroller .flickity-slider { display: flex; }
.nectar-flickity.alow-scroller .cell { flex: 0 0 auto; scroll-snap-align: center; }

/* Form messages after sending. */
.alow-form-thanks, .alow-form-error { margin: 0 0 20px; padding: 14px 18px; text-align: center; font-weight: 600; }
.alow-form-thanks { background: #00b7be; color: #fff; }
.alow-form-error { background: #b3261e; color: #fff; }
form.alow-form-sent .evf-field-container, form.alow-form-sent .evf-submit-container { display: none; }

/* Episode titles link to the episode's page without looking like links. */
body .alow-ep-title a, body .alow-ep-latest-title a { color: inherit !important; text-decoration: none; }
.alow-ep-title a:hover, .alow-ep-latest-title a:hover { text-decoration: underline; }

/* Anyone using the keyboard can see where they are. */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 2px solid #00b7be; outline-offset: 2px; }

/* An episode's own page: the player and the listen buttons under the video. */
.alow-ep-page-listen { max-width: 640px; margin: 24px auto 0; }
.alow-ep-page-listen .alow-ep-audio { margin: 0 0 6px; }
.alow-ep-page-art { max-width: 640px; margin: 0 auto; border-radius: 14px; overflow: hidden; }
.alow-ep-page-art img { display: block; width: 100%; height: auto; }
.alow-ep-page-notes a { color: #00b7be; text-decoration: underline; }

/* Episode cards, the listen buttons and the page numbers (from the old site's own episodes plugin). */
:root { --alow-accent: #03c0c9; }

.alow-ep-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 28px;
	margin: 0 0 40px;
}

@media (max-width: 1100px) {
	.alow-ep-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
	.alow-ep-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
	.alow-ep-grid { grid-template-columns: 1fr; }
}

.alow-ep-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 2px 10px rgba(20, 24, 40, 0.08);
	transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.alow-ep-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 26px rgba(20, 24, 40, 0.14);
}

.alow-ep-art {
	position: relative;
	width: 100%;
	height: 0;
	padding-top: 42.857%; /* 21:9 */
	overflow: hidden;
	background: #eef0f4;
}

.alow-ep-art img {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	object-fit: cover !important;
	object-position: top !important;
	display: block !important;
	margin: 0 !important;
}

.alow-ep-duration {
	position: absolute;
	right: 10px;
	bottom: 10px;
	background: rgba(10, 12, 20, 0.78);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	padding: 5px 9px;
	border-radius: 999px;
	letter-spacing: 0.02em;
}

.alow-ep-body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px 18px 20px;
	flex: 1;
}

.alow-ep-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: #6b7280;
}

.alow-ep-number {
	color: var(--alow-accent, #c98a2b);
	font-weight: 700;
}

.alow-ep-title {
	font-size: 18px;
	line-height: 1.3;
	margin: 0;
	color: inherit;
}

.alow-ep-excerpt {
	font-size: 14px;
	line-height: 1.55;
	color: #4b5563;
	margin: 0;
	flex: 1;
}

.alow-ep-audio {
	width: 100%;
	height: 38px;
	margin-top: 4px;
}

.alow-ep-platforms {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 6px;
}

.alow-ep-platforms a.alow-ep-btn,
.alow-ep-platforms a.alow-ep-btn:hover,
.alow-ep-platforms a.alow-ep-btn:focus,
.alow-ep-platforms a.alow-ep-btn:visited {
	text-decoration: none !important;
}

.alow-ep-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	border-radius: 0;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	color: #fff;
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.alow-ep-btn span {
	text-decoration: none;
}

.alow-ep-btn:hover {
	opacity: 0.85;
	transform: translateY(-1px);
	color: #fff;
	text-decoration: none !important;
}

.alow-ep-btn svg { flex-shrink: 0; }

.alow-ep-btn--youtube { background: #ff0000; }
.alow-ep-btn--spotify { background: #1db954; }
.alow-ep-btn--apple   { background: #872ec4; }
.alow-ep-btn--other   { background: var(--alow-accent, #c98a2b); }

/* Pagination: 1 2 3 ... */
.alow-ep-pagination ul.page-numbers {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.alow-ep-pagination .page-numbers li {
	margin: 0;
}

.alow-ep-pagination a.page-numbers,
.alow-ep-pagination span.page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border-radius: 0;
	border: 1px solid #e2e5ea;
	background: #fff;
	color: #374151;
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	transition: all 0.15s ease;
}

.alow-ep-pagination a.page-numbers:hover {
	border-color: var(--alow-accent, #c98a2b);
	color: var(--alow-accent, #c98a2b);
}

.alow-ep-pagination span.page-numbers.current {
	background: var(--alow-accent, #c98a2b);
	border-color: var(--alow-accent, #c98a2b);
	color: #fff;
}

.alow-ep-pagination span.page-numbers.dots {
	border: none;
	background: transparent;
}

.alow-ep-empty {
	text-align: center;
	padding: 40px 0;
	color: #6b7280;
}

/* Homepage "latest episode" block */
.alow-ep-latest {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	max-width: 420px;
	margin: 0 auto;
}

.alow-ep-latest-art {
	position: relative;
	width: 100%;
	height: 0;
	padding-top: 42.857%; /* 21:9 */
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(20, 24, 40, 0.14);
}

.alow-ep-latest-art img {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	object-fit: cover !important;
	object-position: top !important;
	display: block !important;
	margin: 0 !important;
}

.alow-ep-latest-title {
	margin: 18px 0 0;
	font-size: 20px;
	line-height: 1.3;
}

.alow-ep-latest-platforms {
	justify-content: center;
	margin-top: 14px;
}

@media (prefers-reduced-motion: reduce) {
	.alow-ep-card,
	.alow-ep-pagination a.page-numbers {
		transition: none;
	}
	.alow-ep-card:hover {
		transform: none;
	}
}

/* With scripts off, or for anyone who has asked for less motion, nothing waits to fade in. */
.no-js .has-animation, .no-js .img-with-animation, .no-js #header-outer { opacity: 1 !important; transform: none !important; }
.no-js .nectar-split-heading[data-has-fit-text="true"] { opacity: 1 !important; font-size: 12vw; }
@media (prefers-reduced-motion: reduce) { .has-animation, .img-with-animation { opacity: 1 !important; transform: none !important; } }

/* The video that opens over the page from a "Play Video" picture. */
.alow-lightbox { position: fixed; inset: 0; z-index: 100000; background: rgba(0, 0, 0, .88); display: flex; align-items: center; justify-content: center; padding: 60px 4vw; }
.alow-lightbox-frame { width: min(1100px, 100%); aspect-ratio: 16 / 9; max-height: 100%; background: #000; }
.alow-lightbox-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.alow-lightbox-close { position: absolute; top: 12px; right: 16px; width: 44px; height: 44px; border: 0; background: none; color: #fff; font-size: 38px; line-height: 1; cursor: pointer; }

/* The theme hid a band's background until its script had set up the scrolling effect; here it just shows. */
body .parallax_section .row-bg { opacity: 1 !important; }

/* ===== Design changes, Nov 2026 (on top of the look carried across from the old site) ===== */

/* Footer: policies, contact and the name, under the social icons. */
.alow-footer { background: #000; color: #fff; padding: 28px 40px; font-size: 15px; line-height: 1.5; position: relative; z-index: 10; }
.alow-footer-inner { max-width: 1720px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; }
.alow-footer p { padding: 0; margin: 0; }
.alow-footer ul { display: flex; flex-wrap: wrap; gap: 6px 26px; margin: 0; padding: 0; list-style: none; }
.alow-footer li { margin: 0; padding: 0; list-style: none; }
.alow-footer a { color: #fff; text-decoration: none; }
.alow-footer a:hover, .alow-footer a:focus-visible { color: #00b7be; text-decoration: underline; }
@media (max-width: 999px) { .alow-footer { padding: 28px 24px; } .alow-footer-inner { flex-direction: column; text-align: center; } .alow-footer ul { justify-content: center; } }

/* Menu: on laptop-sized windows the links sat under the Book Ride button. Closer together, they fit. */
@media (min-width: 1000px) and (max-width: 1340px) {
  body #header-outer #top nav > ul.sf-menu > li > a { padding-left: 11px !important; padding-right: 11px !important; font-size: 15px !important; white-space: nowrap; }
  body #header-outer #top nav > ul.sf-menu > li > a .menu-title-text, body #header-outer #top nav > ul.sf-menu > li > a .nectar-text-reveal-button__text { white-space: nowrap; }
  body #header-outer #logo img { height: 56px !important; }
}
@media (min-width: 1000px) and (max-width: 1120px) {
  body #header-outer #top nav > ul.sf-menu > li > a { padding-left: 6px !important; padding-right: 6px !important; font-size: 14px !important; }
  body #header-outer #top nav > ul.sf-menu:not(.buttons) > li:first-child { margin-left: 14px; }
  body #header-outer #top nav > ul.buttons.sf-menu > li > a { margin-left: 8px !important; }
  body #header-outer #logo img { height: 48px !important; }
}

/* Forms: each box has its name above it, so it's still there once someone starts typing. */
.everest-forms .evf-field-container .evf-field label.evf-field-label { display: block; text-align: left; font-size: 15px; font-weight: 600; line-height: 1.3; margin: 0 0 6px; color: inherit; }
.everest-forms .evf-field-container .evf-field label.evf-field-label .required { color: #00b7be; text-decoration: none; border: 0; }
.everest-forms .evf-field-container .evf-field { margin-bottom: 16px; }
.alow-form-note { font-size: 14px; line-height: 1.5; padding: 0 !important; margin: 14px 0 0; opacity: .85; }
.alow-form-note a { color: inherit; text-decoration: underline; }

/* Phone menu: the same typeface as the rest of the site. */
#slide-out-widget-area, #slide-out-widget-area .inner .off-canvas-menu-container li a, #slide-out-widget-area .menu li a { font-family: "Zalando Sans", sans-serif !important; }

/* Episode pictures: the artwork is square, so a taller window shows the whole face. */
.alow-ep-art, .alow-ep-latest-art { padding-top: 66.667%; }

/* Latest News: black like the rest of the site, with the same teal title strip as the other pages. */
body.category .container-wrap, body.category #ajax-content-wrap { background: #000; }
.alow-news-title { background: radial-gradient(50% 50% at 50% 50%, #00d3db 0%, #00b7be 100%) !important; padding: 2vw 0 !important; margin: 0 !important; text-align: center; }
.alow-news-title .section-title { padding: 0 !important; margin: 0 !important; border: 0 !important; float: none; width: 100%; }
.alow-news-title h1 { color: #fff; margin: 0; }
body.category .container-wrap { padding-top: 5vw !important; }
.everest-forms .evf-field-container .evf-field label.evf-field-label .evf-label { color: inherit !important; font-size: inherit; }
body.category .nectar-global-section.before-footer { background: #000; }
body.category .masonry-blog-item h3.title { font-size: clamp(22px, 2.1vw, 34px) !important; line-height: 1.05 !important; }
.everest-forms .evf-field-container .evf-field label.evf-field-label { width: 95%; margin-left: auto !important; margin-right: auto !important; font-family: inherit !important; text-transform: none !important; letter-spacing: 0 !important; }
.everest-forms .evf-field-container .evf-field label.evf-field-label abbr.required { display: inline !important; margin-left: 3px; }
.everest-forms .evf-field-container .evf-field label.evf-field-label .evf-label { text-transform: none !important; }

/* ===== No waiting, no fading: everything is there the moment the page opens =====
   The old theme slid the header down and faded pictures, headings and whole blocks in on every page.
   On a site of plain files that only made pages feel slow, so those effects are switched off. */
#header-outer, #header-outer #top, #header-outer #header-secondary-outer { opacity: 1 !important; animation: none !important; }
.has-animation, .img-with-animation, .wpb_animate_when_almost_visible,
.masonry-blog-item, .masonry-blog-item .inner-wrap, .posts-container article, .posts-container article .inner-wrap,
.nectar-post-grid-item, .nectar-post-grid-filters,
.featured-media-under-header__cat-wrap, .featured-media-under-header h1.entry-title, .featured-media-under-header__meta-wrap,
.featured-media-under-header__featured-media, .single .post-content .content-inner, .related-post-wrap .related-posts > div,
.row-bg-wrap, .row-bg-wrap .inner-wrap, .row-bg, .column-bg-overlay-wrap, .nectar-button, video.nectar-video-self-hosted, video.nectar-video-bg, .nectar-video-wrap {
  opacity: 1 !important; transform: none !important; animation: none !important; visibility: visible !important;
}
.row-bg, .row-bg-wrap .inner-wrap { transition: none !important; }

/* The home page's film: black behind it, with a still picture until the film starts. */
#desk, #mob, #desk .nectar-video-wrap, #mob .nectar-video-wrap { background-color: #000; }
video.nectar-video-bg { object-fit: cover; }

/* No effect between pages: the next page simply appears. (The old theme played a 1.2 second wipe.) */
@view-transition { navigation: none; }

/* Home page, latest episode: a bigger picture with its title on two lines, sitting closer to the words beside it. */
.alow-ep-latest { max-width: 465px; }
/* Beside the words (wide screens): the right edge stays where it was, so the picture is smaller from the left. */
@media (min-width: 1000px) { .alow-ep-latest { margin-left: auto; margin-right: max(0px, calc((100% - 620px) / 2)); } }
.alow-ep-latest-title { text-wrap: balance; }

/* Policy pages: the words start a comfortable distance under the title strip, and links can be seen. */
.alow-policy .wpb_column.padding-5-percent > .vc_column-inner { padding-top: 0 !important; }
.alow-policy .wpb_text_column a { color: #00b7be; text-decoration: underline; }
.alow-policy .wpb_text_column h2, .alow-policy .wpb_text_column h3, .alow-policy .wpb_text_column h4 { color: #fff; }
.alow-policy table, .alow-policy td, .alow-policy th { color: #fff; border-color: rgba(255, 255, 255, .25) !important; background: transparent !important; }

/* Title strip on phones: sits clear of the header, the same as on the other pages. */
@media (max-width: 690px) { .wpb_row.alow-title-band { padding-top: 15% !important; padding-bottom: 15% !important; } }

/* Nothing white can show at the edges of the black bands. */
body { background-color: #000; }

/* Links that are really buttons (no address): still show the hand pointer. */
a[role="button"]:not([href]) { cursor: pointer; }
