.seo-hub {
	--seo-hub-accent: var(--fs-color-primary, #2b9aa0);
	--seo-hub-accent-dark: #1f6e73;
	--seo-hub-border: #d8dee4;
	--seo-hub-text: #24323d;
	--seo-hub-surface: linear-gradient(180deg, #ffffff 0%, #f8fbfb 100%);
	margin: 18px 0 30px;
	padding: 18px;
	border: 1px solid #edf1f3;
	border-radius: 18px;
	background: var(--seo-hub-surface);
	box-shadow: 0 14px 34px rgba(16, 34, 48, 0.07);
}

.seo-hub-top-tiles {
	display: flex;
	gap: 10px;
	margin-bottom: 18px;
	padding-bottom: 4px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.seo-hub-top-tiles::-webkit-scrollbar {
	display: none;
}

.seo-hub-tile {
	position: relative;
	display: flex;
	flex: 0 0 75%;
	align-items: flex-end;
	min-height: 120px;
	padding: 16px;
	border-radius: 18px;
	overflow: hidden;
	background-color: #d7e0e3;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	box-shadow: 0 14px 28px rgba(16, 34, 48, 0.14);
	color: #ffffff;
	text-decoration: none;
	scroll-snap-align: start;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.seo-hub .seo-hub-tile,
.seo-hub .seo-hub-tile:visited,
.seo-hub .seo-hub-tile:hover,
.seo-hub .seo-hub-tile:focus,
.seo-hub .seo-hub-tile:focus-visible {
	color: rgba(255, 255, 255, 0.98);
	text-decoration: none;
}

.seo-hub-tile::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(9, 15, 20, 0.08) 0%, rgba(9, 15, 20, 0.72) 100%);
}

.seo-hub-tile__title {
	position: relative;
	z-index: 1;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.25;
	text-wrap: balance;
}

.seo-hub .seo-hub-tile:hover .seo-hub-tile__title,
.seo-hub .seo-hub-tile:focus-visible .seo-hub-tile__title {
	color: #ffffff;
	opacity: 0.96;
}

.seo-hub-details {
	margin-bottom: 20px;
}

.seo-hub-details summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 11px 16px;
	border: 1px solid var(--seo-hub-border);
	border-radius: 14px;
	background: rgba(43, 154, 160, 0.03);
	color: var(--seo-hub-text);
	cursor: pointer;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	list-style: none;
}

.seo-hub-section-title {
	margin: 0;
	color: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0;
	text-transform: none;
}

.seo-hub-details summary::-webkit-details-marker {
	display: none;
}

.seo-hub-details summary::after {
	content: "+";
	flex: 0 0 auto;
	font-size: 24px;
	font-weight: 400;
	line-height: 1;
	transition: transform 0.2s ease;
}

.seo-hub-details[open] summary::after {
	transform: rotate(45deg);
}

.seo-hub-details-content {
	padding-top: 14px;
}

.seo-hub-chars-grid {
	display: grid;
	gap: 18px;
}

.seo-hub-chars-column {
	padding: 16px;
	border: 1px solid #edf1f3;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.84);
}

.seo-hub-chars-title {
	margin: 0 0 12px;
	color: var(--seo-hub-text);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0;
	text-transform: none;
}

.seo-hub-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.seo-hub-chip {
	display: inline-flex;
	align-items: center;
	padding: 6px 14px;
	border: 1px solid #ddd;
	border-radius: 20px;
	background: #ffffff;
	box-shadow: 0 2px 8px rgba(16, 34, 48, 0.05);
	color: #333333;
	font-size: 13px;
	line-height: 1.4;
	text-decoration: none;
	transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.seo-hub-chip:hover,
.seo-hub-chip:focus-visible {
	border-color: var(--seo-hub-accent);
	background: var(--seo-hub-accent);
	box-shadow: 0 10px 22px rgba(43, 154, 160, 0.2);
	color: #ffffff;
	outline: none;
	transform: translateY(-1px);
}

.seo-hub-brands__title {
	margin: 0 0 10px;
	color: #6c7b86;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}

.seo-hub-brands-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.seo-hub-brands-grid--collapsible {
	max-height: 85px;
	overflow: hidden;
	transition: max-height 0.4s ease;
}

.seo-hub-brands-grid--collapsible.is-expanded {
	max-height: 2000px;
}

.seo-hub-show-more {
	display: inline;
	margin-top: 14px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #667784;
	cursor: pointer;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	transition: color 0.2s ease, opacity 0.2s ease;
}

.seo-hub-show-more::after {
	content: " ...";
	letter-spacing: 0.08em;
}

.seo-hub-show-more:hover,
.seo-hub-show-more:focus-visible {
	color: #495862;
	opacity: 1;
	outline: none;
	text-decoration: underline;
	text-underline-offset: 0.14em;
}

.seo-hub-show-more[aria-expanded="true"]::after {
	content: "";
}

.seo-hub-show-more.is-hidden {
	display: none;
}

@media (min-width: 768px) {
	.seo-hub {
		padding: 24px;
	}

	.seo-hub-top-tiles {
		display: grid;
		grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
		gap: 14px;
		overflow: visible;
		scroll-snap-type: none;
	}

	.seo-hub-tile {
		flex: 1 1 auto;
	}

	.seo-hub-tile:hover,
	.seo-hub-tile:focus-visible {
		box-shadow: 0 18px 36px rgba(16, 34, 48, 0.18);
		outline: none;
		transform: translateY(-3px);
	}

	.seo-hub-details summary {
		padding: 0 0 10px;
		border: 0;
		border-bottom: 1px solid #eef2f4;
		border-radius: 0;
		background: transparent;
		cursor: default;
		pointer-events: none;
		font-size: 15px;
		font-weight: 600;
		color: #52616c;
	}

	.seo-hub-section-title {
		font-size: 15px;
		font-weight: 600;
	}

	.seo-hub-details summary::after {
		display: none;
	}

	.seo-hub-details-content {
		padding-top: 18px;
	}

	.seo-hub-chars-grid {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
		gap: 20px;
	}
}
