/* ==========================================================================
   Ocean — Google-style homepage (search + browse + categories)
   ========================================================================== */

.ogh-google-home .main-header-bar .custom-logo-link,
.ogh-google-home .site-branding .custom-logo-link,
.ogh-google-home .ast-site-identity {
	/* keep header slim; hero logo is the main mark */
}

.ogh-google-home .site-header .custom-logo {
	max-height: 36px;
	width: auto;
}

.ogh-google-home #secondary,
.ogh-google-home .widget-area {
	display: none !important;
}

.ogh-google-home #primary,
.ogh-google-home .content-area,
.ogh-google-home .site-content,
.ogh-google-home #content .ast-container,
.ogh-google-home .ast-article-post,
.ogh-google-home .ast-article-single,
.ogh-google-home .entry-content {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	margin: 0 auto !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.ogh-google-home .site-content > .ast-container {
	display: block !important;
}

.ogh-google-home .entry-header,
.ogh-google-home .ast-archive-description {
	display: none !important;
}

.ogh-home {
	min-height: calc(100vh - 160px);
	display: flex;
	flex-direction: column;
	align-items: center;
	background: #fff;
	color: #202124;
	padding: 0 16px 48px;
	box-sizing: border-box;
}

.ogh-hero {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
	max-width: 720px;
	padding: 64px 0 28px;
	text-align: center;
}

.ogh-logo {
	display: inline-block;
	margin: 0 auto 8px;
	line-height: 0;
}

.ogh-logo img {
	display: block;
	max-height: 96px;
	width: auto;
	max-width: min(520px, 88vw);
	margin: 0 auto;
	height: auto;
}

.ogh-logo-text {
	text-decoration: none;
	margin-bottom: 18px;
}

.ogh-logo-mark {
	font-size: clamp(2.6rem, 7vw, 3.8rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.1;
	background: linear-gradient(90deg, #4285f4 0%, #34a853 40%, #fbbc05 70%, #ea4335 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.ogh-search {
	width: 100%;
}

.ogh-search-box {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 100%;
	min-height: 50px;
	padding: 0 20px;
	border: 1px solid #dfe1e5;
	border-radius: 24px;
	background: #fff;
	transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.ogh-search-box:hover,
.ogh-search-box:focus-within {
	border-color: transparent;
	box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
}

.ogh-search-icon {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
	fill: #9aa0a6;
}

.ogh-search-input {
	flex: 1 1 auto;
	border: 0;
	outline: 0;
	background: transparent;
	font-size: 16px;
	line-height: 1.4;
	color: #202124;
	padding: 12px 0;
}

.ogh-search-actions {
	display: flex;
	justify-content: center;
	margin-top: 22px;
}

.ogh-browse {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 20px;
	background: #f1f3f4;
	color: #3c4043;
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	border: 1px solid transparent;
}

.ogh-browse svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

.ogh-browse:hover {
	background: #fff;
	border-color: #dadce0;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
	color: #202124;
}

.ogh-featured {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 22px 28px;
	margin-top: 36px;
	width: 100%;
}

.ogh-featured-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 76px;
	text-decoration: none;
	color: #3c4043;
	gap: 8px;
}

.ogh-featured-avatar {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #e8f0fe center/cover no-repeat;
	border: 1px solid #e0e0e0;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.ogh-featured-label {
	font-size: 12px;
	line-height: 1.25;
	text-align: center;
	max-width: 76px;
}

.ogh-cats {
	width: 100%;
	max-width: 820px;
	margin-top: 28px;
	padding-top: 8px;
}

.ogh-cats-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
}

.ogh-cat-pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 999px;
	background: #f1f3f4;
	color: #3c4043;
	text-decoration: none;
	font-size: 13px;
	font-weight: 500;
	border: 1px solid transparent;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.ogh-cat-pill span {
	color: #80868b;
	font-weight: 400;
}

.ogh-cat-pill:hover {
	background: #fff;
	border-color: #dadce0;
	color: #1a73e8;
}

.ogh-cat-pill:hover span {
	color: #1a73e8;
}

.ogh-empty {
	text-align: center;
	color: #5f6368;
	font-size: 14px;
}

@media (max-width: 560px) {
	.ogh-hero {
		padding-top: 36px;
	}

	.ogh-featured {
		gap: 16px 18px;
	}
}
