/* Collapsible SEO keyphrase index — hub pages only */
.seo-keyphrase-index {
	margin: 1.5rem 0 2rem;
	padding: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.seo-keyphrase-index__summary {
	cursor: pointer;
	list-style: none;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.85rem 0;
	font-size: 0.9rem;
	color: #666;
	user-select: none;
}

.seo-keyphrase-index__summary::-webkit-details-marker {
	display: none;
}

.seo-keyphrase-index__summary::before {
	content: "+";
	flex-shrink: 0;
	width: 1.1rem;
	height: 1.1rem;
	line-height: 1.1rem;
	text-align: center;
	font-size: 0.85rem;
	font-weight: 600;
	color: #555;
	border: 1px solid #ccc;
	border-radius: 3px;
}

.seo-keyphrase-index[open] .seo-keyphrase-index__summary::before {
	content: "−";
}

.seo-keyphrase-index__summary:hover {
	color: #007bff;
}

.seo-keyphrase-index__summary:focus {
	outline: 2px solid #007bff;
	outline-offset: 2px;
}

.seo-keyphrase-index__panel {
	padding: 0 0 1.5rem;
}

.seo-keyphrase-index__title {
	font-size: 1.35rem;
	margin-bottom: 0.5rem;
}

.seo-keyphrase-index__intro {
	color: #555;
	margin-bottom: 1.25rem;
	font-size: 0.95rem;
}

.seo-keyphrase-index__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 1rem;
}

.seo-keyphrase-index__item {
	border: 1px solid #e8e8e8;
	border-radius: 6px;
	padding: 1rem 1.1rem;
	background: #fafafa;
}

.seo-keyphrase-index__item.is-active-line {
	border-color: #007bff;
	background: #f0f7ff;
}

.seo-keyphrase-index__item h3 {
	font-size: 1rem;
	line-height: 1.35;
	margin: 0 0 0.5rem;
}

.seo-keyphrase-index__item h3 a {
	color: inherit;
	text-decoration: none;
}

.seo-keyphrase-index__item h3 a:hover {
	color: #007bff;
	text-decoration: underline;
}

.seo-keyphrase-index__item p {
	margin: 0;
	font-size: 0.875rem;
	color: #666;
	line-height: 1.5;
}

@media (max-width: 575px) {
	.seo-keyphrase-index__list {
		grid-template-columns: 1fr;
	}
}
