/*! nepenthes custom assets — built from src/nepenthes-custom/assets/css/home-talk.css
 *  コメント付きの読みやすいソースはGitリポジトリを参照してください。
 *  直接編集しないこと（次回ビルドで上書きされます）。 */
#npt-home-talk {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 40px;
	row-gap: 1.5rem;
	width: calc(100% - 30px);
	max-width: 1280px;
	margin: 0 auto 3rem;

	padding: 0;
}

#npt-home-talk[hidden] {
	display: none;
}

@media (max-width: 770px) {
	#npt-home-talk {
		grid-template-columns: 1fr;
	}
}

#npt-home-talk .npt-talk-card {
	opacity: 0;
	transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

#npt-home-talk .npt-talk-card.visible {
	opacity: 1;
}

#npt-home-talk .thumbnail-container {
	width: 100%;
	aspect-ratio: 10 / 7;
	position: relative;
	overflow: hidden;
}

#npt-home-talk .thumbnail {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

#npt-home-talk .author {
	display: flex;
	height: 8rem;
	margin: 0 1rem;
}

#npt-home-talk .author-section-left {
	display: inline-block;
	flex-shrink: 0;
	width: 58px;
	margin-right: 1rem;
}

#npt-home-talk .author-section-right {
	display: inline-block;
	width: calc(100% - 60px - 1rem);
}

#npt-home-talk .author-section-right .description {
	font-size: 0.875rem;
}

#npt-home-talk .circle-container {
	position: relative;
	height: 58px;
}

#npt-home-talk .circle-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	background: var(--wp--preset--color--base);
}

#npt-home-talk .profile-pic {
	width: 40px;
	height: 40px;
	border-radius: 50%;
}

#npt-home-talk .spinning-circumference {
	width: 58px;
	height: 58px;
	background: url('/wp-content/uploads/2026/05/author-updates-available.png') no-repeat center center fixed;
	border-radius: 50%;
	animation: npt-home-talk-spin 1.8s linear infinite;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
}

@keyframes npt-home-talk-spin {
	to {
		transform: rotate(360deg);
	}
}

#npt-home-talk .new-available {
	opacity: 1;
	transition: opacity 1s;
	overflow: auto;
}

#npt-home-talk span.new-available {
	font-weight: 600;
	color: #6203c0;
	margin-right: 5px;
	height: auto;
}

#npt-home-talk .new-not-available {
	overflow: hidden;
	opacity: 0;
	height: 0;
	width: 0;
	display: inline-block;
}
