/* Home materials grid */
/* Main feed spacing is intentionally local to the WP theme because the
   homepage is assembled from WP queries instead of the original app shell. */

.tb-home-slider__media {
	display: block;
}

.MainSlider_slider__slideContent__aiGj0 {
	z-index: 4;
}

.tb-home-slider__title-link,
.MainSlider_slider__button__2NxrW {
	color: inherit;
	text-decoration: none;
}

.tb-home-slider__title-link {
	display: inline;
}

.MainSlider_slider__button__2NxrW {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.MainLogo_logo__imageWrapper___LHf_,
.MainLogo_logo__caption__pepbN {
	background: none;
}

.MainLogo_logo__image__FKTPL,
.MainLogo_logo__captionImage__Zewrp {
	opacity: 1;
}

.wp-home-articles .MainGrid_grid__IR_yh {
	padding-top: 48px;
	padding-right: 136px;
	padding-left: 136px;
	padding-bottom: 0;
	column-gap: 123.5px;
	row-gap: 80px;
}

.wp-home-articles {
	padding-top: 88px;
}

.wp-home-articles .GridCard_gridCard__link__JjMqm {
	z-index: 3;
}

.wp-home-articles .GridCard_gridCard__image__nIEXU {
	background: #dbd8e0;
}

.tb-load-more {
	border: 0;
	cursor: pointer;
}

.wp-home-articles .GridCard_gridCard__tagsAndDuration__vH9UL {
	padding-top: 12px;
	gap: 8px;
}

.wp-home-articles .GridCard_gridCard__tagsAndDuration__vH9UL .tag-2 {
	text-decoration: none;
}

.wp-home-articles .GridCard_gridCard__title__AY0U1 {
	padding-top: 12px;
}

.tb-load-more:hover {
	opacity: 0.6;
}

.tb-load-more:disabled {
	opacity: 0.45;
	cursor: default;
}

.tb-articles-page__load-more {
	margin-top: 96px;
}

/* Home podcasts */
/* Podcast rows are still a custom reconstruction of the original block:
   marquee, drag-scroll, and card spacing live here rather than in imported
   compiled component CSS. */

.tb-home-podcasts {
	position: relative;
	margin-top: 150px;
	overflow: hidden;
	cursor: url("../_next/static/media/cursor.a42d97f0.svg") 28 28, grab;
}

.tb-home-podcasts__marquee {
	display: flex;
	position: absolute;
	top: 18%;
	left: 0;
	z-index: 2;
	width: 100%;
	overflow: hidden;
	font-family: "Murs Gothic", "MursGothic", "Inter", Arial, sans-serif;
	font-size: 4.1666666667vw;
	font-weight: 800;
	line-height: 1.5;
	text-transform: uppercase;
	white-space: nowrap;
	pointer-events: none;
}

.tb-home-podcasts__marquee span {
	padding-right: 30px;
	animation: tb-marquee 3s linear infinite;
}

.tb-home-podcasts__row {
	display: grid;
	grid-template-columns: repeat(3, auto);
	column-gap: 152px;
	padding: 0 7.1354166667vw 0;
	overflow-x: auto;
	scroll-behavior: smooth;
	scrollbar-width: none;
	user-select: none;
}

.tb-home-podcasts__row::-webkit-scrollbar {
	display: none;
}

.tb-podcasts-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 80px;
	padding: 40px 7.1354166667vw 0;
}

.tb-podcast-card {
	display: flex;
	flex-direction: column;
	padding: 0 40px 72px;
	color: #181818;
	align-items: stretch;
}

.tb-podcast-card--home {
	width: 45vw;
	padding: 0 56px 72px;
}

.tb-podcast-card__preview {
	position: relative;
	display: flex;
	z-index: 3;
	transition: transform 0.2s ease;
	transform-origin: top center;
}

.tb-podcast-card__preview:hover {
	transform: scale(1.04);
}

.tb-podcast-card__image {
	display: block;
	width: 100%;
	aspect-ratio: 662 / 390;
	object-fit: cover;
	object-position: center;
	user-select: none;
	pointer-events: none;
}

.tb-podcast-card__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 90px;
	height: 90px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	transform: translate(-50%, -50%);
	text-decoration: none;
}

.tb-podcast-card__play-icon {
	display: block;
	width: 32px;
	height: 28px;
}

.tb-podcast-card__meta {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	padding-top: 16px;
	align-items: center;
}

.tb-podcast-card__title {
	display: block;
	margin-top: 16px;
	color: inherit;
	text-decoration: none;
	transition: transform 0.2s ease;
}

.tb-podcast-card__title:hover {
	transform: scale(1.02);
}

.tb-podcast-card__meta .tag-1:first-child {
	transition: transform 0.2s ease;
}

.tb-podcast-card__meta .tag-1:first-child:hover {
	transform: scale(1.02);
}

.tb-home-podcasts__row.tb-dragging,
.tb-home-podcasts.tb-dragging,
.PodcastsSection_podcastsSection__zUt1o.tb-dragging {
	cursor: grabbing;
}

.tb-home-podcasts__row.tb-dragging,
.PodcastsSection_podcastsSection__raw__8EqjW.tb-dragging {
	scroll-behavior: auto;
}

.PodcastGridCard_podcastGridCard__preview__smGtN:has(.PodcastGridCard_podcastGridCard__play__QgQ7Z:hover),
.PodcastGridCard_podcastGridCard__preview__smGtN:has(.PodcastGridCard_podcastGridCard__play__QgQ7Z:focus) {
	scale: 1.04;
}

@keyframes tb-marquee {
	to {
		transform: translate3d(-100%, 0, 0);
	}
}

/* Wide desktop adjustments */

@media screen and (max-width: 1919px) {
	.tb-home-podcasts__marquee {
		font-size: 80px;
	}
}

/* Keep the outgoing slide in flow while both complete the horizontal move. */
.MainSlider_slider__85FV5 .swiper {
	touch-action: pan-y;
	overflow: hidden;
}
.MainSlider_slider__85FV5 .swiper-slide {
	display: none;
}
.MainSlider_slider__85FV5 .swiper-slide.tb-active-slide {
	display: block;
}
.MainSlider_slider__85FV5 .swiper-slide.tb-entering-slide {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
}
.MainSlider_slider__85FV5 .swiper-slide.tb-slide-moving {
	transition: transform 300ms ease;
	will-change: transform;
}

.MainSlider_slider__85FV5 .MainSlider_slider__controlLeft__GHcIs {
	cursor: url("../_next/static/media/cursor-slider-left.eed81e67.svg") 14 9, pointer;
}

.MainSlider_slider__85FV5 .MainSlider_slider__controlRight__A864q {
	cursor: url("../_next/static/media/cursor-slider-right.b0038829.svg") 14 9, pointer;
}

/* Archive and search pages */
/* Archive pages need explicit top offsets because they share the floating
   header but do not have the homepage hero to create natural spacing. */

.tb-search-results,
.page_tagResult__uIui0 {
	min-height: 50vh;
	padding-top: 10.5729166667vw;
	padding-bottom: 5vw;
	color: #181818;
	background: #fff;
}

.tb-articles-page {
	min-height: 50vh;
	padding-top: 152px;
}

.tb-search-results__title,
.page_tagResult__title__G8pYb {
	margin: 0;
	padding: 0 7.1354166667vw;
}

.tb-articles-page__title {
	margin: 0;
	padding: 0 7.1354166667vw;
}

/* Large desktop spacing overrides */

@media screen and (max-width: 1919px) {
	.tb-articles-page__title {
		padding-inline: 136px;
	}

	.tb-search-results,
	.page_tagResult__uIui0 {
		padding-top: 203px;
		padding-bottom: 96px;
	}

	.tb-search-results__title,
	.page_tagResult__title__G8pYb {
		padding-inline: 136px;
	}

	.tb-home-podcasts__row,
	.tb-home-podcasts__marquee,
	.tb-podcasts-grid {
		padding-inline: 136px;
	}
}

/* Tablet and small desktop overrides */
/* These breakpoint rules deliberately override the floating desktop header and
   podcast layout once the original app shell would collapse to edge-to-edge. */

@media screen and (max-width: 1439px) {
	.Header_header__MwWvM {
		top: 0;
		left: 0;
		right: 0;
		box-shadow: none;
	}

	.Header_header_absolute__x4DUv {
		position: fixed;
		top: 0;
	}

	.wp-home-articles .MainGrid_grid__IR_yh {
		padding: 40px 56px 0;
		column-gap: 24px;
		row-gap: 32px;
	}

	.wp-home-articles {
		padding-top: 72px;
	}

	.tb-load-more,
	.tb-articles-page__load-more {
		margin-top: 72px;
	}

	.tb-search-results__title,
	.page_tagResult__title__G8pYb,
	.tb-articles-page__title {
		padding-inline: 56px;
	}

	.tb-search-results,
	.page_tagResult__uIui0 {
		padding-top: 124px;
		padding-bottom: 72px;
	}

	.tb-articles-page {
		padding-top: 120px;
	}

	.tb-home-podcasts {
		margin-top: 72px;
		background: #dbd8e0;
	}

	.tb-home-podcasts__marquee {
		position: static;
		font-size: 52px;
	}

	.tb-home-podcasts__marquee span {
		padding-right: 16px;
	}

	.tb-home-podcasts__row {
		column-gap: 24px;
		grid-template-columns: repeat(3, auto);
		padding: 24px 56px 56px;
	}

	.tb-podcasts-grid {
		column-gap: 24px;
		gap: 32px;
		padding-top: 32px;
	}

	.tb-podcast-card--home {
		width: 42vw;
		background-color: unset !important;
		color: inherit !important;
		padding: 0;
	}

	.tb-podcast-card {
		padding: 0 20px 24px;
	}

	.tb-podcast-card__play {
		transform: translate(-50%, -50%) scale(0.8);
	}

	.tb-podcast-card__title {
		margin-top: 12px;
		font-size: 18px;
	}

	.tb-podcast-card__meta {
		padding-top: 12px;
	}
}

/* Mobile overrides */
/* Mobile keeps the edge-to-edge header and a simplified feed/podcast layout to
   match the compact original treatment within the WP theme structure. */

@media screen and (max-width: 767px) {
	.Header_header__MwWvM {
		top: 0;
		left: 0;
		right: 0;
	}

	.wp-home-articles .MainGrid_grid__IR_yh {
		grid-template-columns: minmax(0, 1fr);
		padding: 32px 24px 0;
		row-gap: 24px;
	}

	.wp-home-articles {
		padding-top: 56px;
	}

	.tb-load-more,
	.tb-articles-page__load-more {
		width: calc(100% - 48px);
		margin-top: 56px;
	}

	.tb-search-results,
	.page_tagResult__uIui0 {
		padding-top: 108px;
		padding-bottom: 56px;
	}

	.tb-articles-page {
		padding-top: 88px;
	}

	.tb-search-results__title,
	.page_tagResult__title__G8pYb,
	.tb-articles-page__title {
		padding-inline: 24px;
	}

	.tb-home-podcasts {
		margin-top: 56px;
	}

	.tb-home-podcasts__row {
		padding: 16px 24px 24px;
	}

	.tb-podcasts-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
		padding-top: 24px;
	}

	.tb-podcast-card--home {
		width: 88vw;
	}

	.tb-podcast-card__play {
		width: 72px;
		height: 72px;
	}

	.tb-podcast-card__meta {
		padding-top: 12px;
	}

	.tb-podcast-card__title {
		margin-top: 12px;
		font-size: 18px;
	}
}

/* Keep the tag archive navigation clear of WordPress's editor toolbar. */
body.tag.admin-bar #wpadminbar { position: fixed; top: 0; }
@media (max-width: 1439px) {
	body.tag.admin-bar [data-tb-site-header] { top: 32px; }
}
@media (max-width: 782px) {
	body.tag.admin-bar [data-tb-site-header] { top: 46px; }
}
