/* 博多ぶらり 共通スタイル(駐車場/観光地/飲食店で共有)
 * Cocoon Childのfunctions.phpからenqueueして読み込む
 */

.hb-article {
	max-width: 720px;
	margin: 0 auto;
}

.hb-title {
	font-size: 1.8em;
	line-height: 1.4;
	margin-top: 1.2em;
	margin-bottom: 0.6em;
}

.hb-eyecatch img {
	width: 100%;
	height: auto;
	border-radius: 0;
}

.hb-body {
	margin: 2em 0;
	line-height: 1.9;
	font-size: 1.05em;
}

.hb-section {
	margin: 2em 0;
	padding: 1.4em 0;
	background: transparent;
	border: none;
	box-shadow: none;
}

.hb-section-title {
	font-size: 1.15em;
	border-left: none;
	padding-left: 0;
	margin: 0 0 0.8em;
}

/* 記事本文と「関連記事」系セクションの間に区切り線を入れる */
.hb-related {
	border-top: 1px solid #cccccc;
	padding-top: 2em;
}

.hb-info-table {
	width: 100%;
	border-collapse: collapse;
}

.hb-info-table th,
.hb-info-table td {
	padding: 0.6em 0.8em;
	border-bottom: 1px solid var(--hb-border, #e0e0e0);
	text-align: left;
	vertical-align: top;
}

.hb-info-table th {
	width: 8.5em;
	background: var(--hb-highlight-bg, #f0f4f9);
	white-space: nowrap;
}

.hb-note {
	margin-top: 1em;
	padding: 0.8em 1em;
	background: var(--hb-highlight-bg, #fff8e1);
	border-radius: 6px;
}

.hb-note h3 {
	margin: 0 0 0.4em;
	font-size: 1em;
}

.hb-map-embed {
	margin-bottom: 1em;
}

.hb-map-embed iframe {
	width: 100%;
	height: 300px;
	border: 0;
	border-radius: 12px;
}

.hb-photo-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1em;
}

.hb-photo-item img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 10px;
	margin-bottom: 0.4em;
}

.hb-photo-desc {
	font-size: 0.9em;
	margin: 0;
}

.hb-last-updated {
	color: var(--hb-text-light, #888);
	font-size: 0.9em;
	text-align: right;
}

@media (max-width: 600px) {
	.hb-photo-grid {
		grid-template-columns: 1fr;
	}

	.hb-info-table th {
		width: 6.5em;
	}

	.hb-title {
		font-size: 1.4em;
	}
}

/* 一覧・アーカイブページ(archive-*.php / taxonomy-*.php) */

.hb-archive-header {
	margin-bottom: 1.5em;
}

.hb-archive-title {
	font-size: 1.4em;
}

.hb-archive-desc {
	color: var(--hb-text-light, #666);
}

.hb-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 1.5em;
	margin-bottom: 2em;
}

.hb-card {
	border: none;
	border-radius: 12px;
	overflow: hidden;
	background: var(--hb-surface, #fff);
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hb-card:hover {
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
	transform: translateY(-2px);
}

.hb-card-link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.hb-card-thumb {
	position: relative;
}

.hb-card-thumb img {
	width: 100%;
	height: 160px;
	object-fit: cover;
	display: block;
}

.hb-card-noimage {
	width: 100%;
	height: 160px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f0f0f0;
	color: #aaa;
	font-size: 0.9em;
}

.hb-card-body {
	padding: 0.8em 1em;
}

.hb-card-tag {
	position: absolute;
	top: 0.6em;
	left: 0.6em;
	padding: 0.25em 0.7em;
	background: var(--hb-accent, #2b8cb6);
	color: #fff;
	font-size: 0.75em;
	border-radius: 999px;
}

.hb-card-title {
	margin: 0 0 0.4em;
	font-size: 1em;
	line-height: 1.4;
}

.hb-card-address {
	margin: 0 0 0.3em;
	font-size: 0.85em;
	color: var(--hb-text-light, #666);
}

.hb-card-meta {
	margin: 0;
	font-size: 0.9em;
	font-weight: bold;
}

.hb-pagination {
	text-align: center;
}

/* サイドバー:エリア/ジャンル一覧ウィジェット */

[id^="hakataburari_taxonomy_list"],
[id^="hakataburari_taxonomy_list"] * {
	background: none !important;
	background-color: transparent !important;
}

.hb-taxonomy-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hb-taxonomy-list li {
	border-bottom: 1px solid var(--hb-border, #e0e0e0);
}

.hb-taxonomy-list li:last-child {
	border-bottom: none;
}

.hb-taxonomy-list a {
	display: flex;
	justify-content: space-between;
	padding: 0.05em 0.2em;
	line-height: 1.2;
	text-decoration: none;
}

.hb-taxonomy-count {
	color: var(--hb-text-light, #999);
	font-size: 0.85em;
}
