/* =========================================================
   Jordan Harbinger – Homepage refresh (Nov 2026)
   Loaded on the front page only, after custom.css.
   Matches Figma "FINAL FILES - HOME".
   ========================================================= */

:root {
	--jh-radius: 16px;
	--jh-radius-sm: 10px;
	--jh-orange: #ff5c00;
	--jh-ink: #1e1d22;
}

/* ---------- Slight modernisation: rounded corners ---------- */

.primary-btn {
	border-radius: 6px;
}

/* Episode tabs: featured + list thumbnails */
.podcast-section .inner-box .content-left .featured,
.podcast-section .inner-box .content-left .featured img {
	border-radius: var(--jh-radius);
	overflow: hidden;
}
.podcast-section .content-right .featured,
.podcast-section .content-right .featured img {
	border-radius: var(--jh-radius-sm);
	overflow: hidden;
}

/* Featured guests */
.featured-podcast-section .guest .info a {
	display: block;
	border-radius: var(--jh-radius-sm);
	overflow: hidden;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}
.featured-podcast-section .guest img.attachment-guest-image {
	display: block;
	border-radius: var(--jh-radius-sm);
}

/* About photo */
.about-section .featured img:not(.video-btn) {
	border-radius: var(--jh-radius);
}

/* Videos */
.videos-section .videos .embed-responsive {
	border-radius: var(--jh-radius);
	overflow: hidden;
	transform: translateZ(0); /* keeps iframe corners clipped in Safari */
}

/* Testimonials photo */
.testimonial-section .testimonial .featured img {
	border-radius: var(--jh-radius);
}

/* ---------- Hero authority metrics (Apple Top 10 + YouTube views) ---------- */

.banner-section .site-info ul li {
	padding-left: 18px;
	padding-right: 18px;
	vertical-align: middle;
}

/* ---------- Top 15 card (overlaps the bottom of the Awarded section) ---------- */

.page .section.home-top15 {
	position: relative;
	z-index: 2; /* above the Awarded section, below the sticky header (z-index 3) */
	max-width: 1045px;
	margin: -175px auto 0;
	padding: 0 15px;
}
.home-top15 img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--jh-radius);
	box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
}

/* ---------- Speaker section ---------- */

.page .section.home-speaker-section {
	position: relative;
	clear: both;
	overflow: hidden;
	background: #000;
	color: #fff;
	min-height: 640px;
	padding: 110px 0;
}
.home-speaker-section .speaker-photo {
	position: absolute;
	top: 60px;
	bottom: 0;
	left: 0;
	width: 68%;
	background-size: cover;
	background-position: left center;
	background-repeat: no-repeat;
}
/* fade the photo into black on the right */
.home-speaker-section .speaker-photo::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.85) 80%, #000 100%);
}
.home-speaker-section .inner {
	position: relative;
	z-index: 2;
}
.home-speaker-section .context {
	margin-left: 52%;
	max-width: 580px;
}
.home-speaker-section .speaker-script {
	display: block;
	font-family: 'stone_harbour_italic';
	font-size: 70px;
	line-height: 1;
	color: #fff;
	margin-bottom: 4px;
}
.home-speaker-section h2 {
	color: #fff;
	font-size: 76px;
	font-weight: 900;
	line-height: 1.02;
	text-transform: uppercase;
	margin: 0 0 22px;
}
.home-speaker-section p {
	color: #fff;
	font-size: 18px;
	line-height: 1.55;
	margin-bottom: 30px;
}
.home-speaker-section a.btn {
	font-size: 16px;
	padding: 16px 30px;
}
.home-speaker-section a.btn:hover {
	background-color: transparent;
	color: #fff;
	border-color: #fff;
}

/* Give the big "TESTIMONIALS" background word room below the Speaker band
   (it sits at top:-30px and was being cut off by the black section). */
.home-speaker-section + .testimonial-section {
	margin-top: 120px;
}

/* ---------- Responsive ---------- */

@media only screen and (max-width: 1200px) {
	.home-speaker-section h2 { font-size: 60px; }
	.home-speaker-section .context { padding-right: 20px; }
}

@media only screen and (max-width: 1023px) {
	.page .section.home-top15 {
		margin-top: 40px;
	}
	.page .section.home-speaker-section {
		padding: 0 0 60px;
		min-height: 0;
	}
	.home-speaker-section .speaker-photo {
		position: relative;
		top: 0;
		width: 100%;
		height: 0;
		padding-bottom: 55%;
	}
	.home-speaker-section .speaker-photo::after {
		background: linear-gradient(180deg, rgba(0,0,0,0) 60%, #000 100%);
	}
	.home-speaker-section + .testimonial-section {
		margin-top: 60px;
	}
	.home-speaker-section .context {
		margin: 0;
		max-width: none;
		padding: 0 20px;
	}
}

@media only screen and (max-width: 767px) {
	.home-speaker-section .speaker-script { font-size: 50px; }
	.home-speaker-section h2 { font-size: 42px; }
	.home-speaker-section p { font-size: 16px; }
	.home-top15 img { border-radius: var(--jh-radius-sm); }
	.banner-section .site-info ul li { padding-left: 8px; padding-right: 8px; }
}
