/* Okukon Owned Media - base layout
   column系ページでのみ読み込まれる。テーマのスタイルに上書きされることを想定して控えめに。 */

.okukon-om {
	box-sizing: border-box;
}
.okukon-om *,
.okukon-om *::before,
.okukon-om *::after {
	box-sizing: inherit;
}

.okukon-om-container {
	max-width: 1080px;
	margin: 0 auto;
	padding: 32px 16px 64px;
}
.okukon-om-container--narrow {
	max-width: 760px;
}

.okukon-om-page-header {
	margin-bottom: 32px;
	padding-bottom: 16px;
	border-bottom: 1px solid #e5e7eb;
}
.okukon-om-page-kicker {
	margin: 0 0 4px;
	font-size: 12px;
	letter-spacing: 0.08em;
	color: #6b7280;
}
.okukon-om-page-title {
	margin: 0;
	font-size: 28px;
	line-height: 1.3;
}
.okukon-om-page-description {
	margin-top: 12px;
	color: #4b5563;
}

.okukon-om-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 24px;
}
.okukon-om-filter-item {
	display: inline-block;
	padding: 8px 16px;
	font-size: 14px;
	color: #374151;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.okukon-om-filter-item:hover {
	background: #f3f4f6;
}
.okukon-om-filter-item.is-active {
	background: #111827;
	color: #fff;
	border-color: #111827;
}

.okukon-om-card-list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 24px;
}

.okukon-om-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow 0.2s ease;
}
.okukon-om-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.okukon-om-card-thumb {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
}
.okukon-om-card-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.okukon-om-card-thumb--empty {
	background-color: #f3f4f6;
	background-image:
		linear-gradient(135deg, transparent 48%, #e5e7eb 48%, #e5e7eb 52%, transparent 52%),
		linear-gradient(45deg,  transparent 48%, #e5e7eb 48%, #e5e7eb 52%, transparent 52%);
	background-size: 24px 24px;
}
.okukon-om-card-body {
	padding: 16px;
}
.okukon-om-card-terms {
	min-height: 22px; /* pill (約20px) + 余白を常に確保 → 全カードでタイトル位置を揃える */
	margin-bottom: 8px;
}
.okukon-om-term {
	display: inline-block;
	margin-right: 6px;
	padding: 2px 8px;
	font-size: 12px;
	background: #f3f4f6;
	border-radius: 999px;
	color: #374151;
	text-decoration: none;
}
.okukon-om-card-title {
	margin: 0 0 8px;
	font-size: 18px;
	line-height: 1.4;
}
.okukon-om-card-title a {
	color: inherit;
	text-decoration: none;
}
.okukon-om-card-date {
	display: block;
	margin-bottom: 8px;
	font-size: 12px;
	color: #6b7280;
}
.okukon-om-card-excerpt {
	font-size: 14px;
	color: #4b5563;
}

.okukon-om-article-header {
	margin-bottom: 24px;
}
.okukon-om-article-terms {
	margin-bottom: 8px;
}
.okukon-om-article-title {
	margin: 0 0 8px;
	font-size: 28px;
	line-height: 1.4;
}
.okukon-om-article-meta {
	font-size: 13px;
	color: #6b7280;
}
.okukon-om-article-thumb {
	margin: 0 0 24px;
}
.okukon-om-article-thumb img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 8px;
}
.okukon-om-article-content {
	font-size: 16px;
	line-height: 1.8;
}

.okukon-om-pagination {
	margin-top: 32px;
}

.okukon-om-empty {
	padding: 32px;
	text-align: center;
	color: #6b7280;
	background: #f9fafb;
	border-radius: 8px;
}
