/*
Theme Name: Kolabo Corporate 2026
Theme URI: https://blog.kolabo.id/
Description: Child theme untuk blog Kolabo.
Author: Kolabo
Template: twentytwentyfour
Version: 1.0.5
Text Domain: kolabo-corporate-2026
*/

:root {
	--kolabo-shell-width: calc(100vw - 1rem);
}

body {
	background: #fff;
}

.wp-site-blocks,
body,
button,
input,
select,
textarea {
	font-family: "Inter", sans-serif;
}

.wp-block-heading,
.wp-block-site-title {
	font-family: "Inter", sans-serif;
}

.wp-site-blocks {
	min-height: 100vh;
}

.site-header-shell {
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(18px);
}

.site-header-inner,
.site-footer-inner,
.home-hero-shell,
.content-shell,
.archive-shell,
.single-shell,
.page-shell {
	width: var(--kolabo-shell-width);
	margin-inline: auto;
}

.content-shell.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.archive-shell.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.single-shell.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.page-shell.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: none !important;
	width: 100%;
}

.brand-kicker {
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 0.72rem;
	font-weight: 700;
	opacity: 0.72;
}

.hero-eyebrow,
.section-eyebrow {
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 0.72rem;
	font-weight: 700;
}

.home-hero-panel {
	position: relative;
	overflow: hidden;
	border-radius: 24px;
	box-shadow: 0 18px 44px rgba(18, 36, 58, 0.06);
}

.home-hero-panel::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 45%);
	pointer-events: none;
}

.hero-metric-card,
.insight-card,
.archive-card,
.single-related-card,
.corporate-surface {
	border: 1px solid #e6ebf1;
	border-radius: 20px;
	box-shadow: 0 14px 34px rgba(18, 36, 58, 0.05);
}

.hero-metric-card p:first-child {
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	opacity: 0.72;
}

.hero-metric-card p:last-child {
	font-size: 1.02rem;
	font-weight: 600;
}

.insight-card,
.archive-card,
.single-related-card {
	height: 100%;
	overflow: hidden;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.insight-card:hover,
.archive-card:hover,
.single-related-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 42px rgba(18, 36, 58, 0.08);
	border-color: rgba(34, 167, 121, 0.2);
}

.insight-card .wp-block-post-featured-image,
.archive-card .wp-block-post-featured-image,
.single-shell .wp-block-post-featured-image {
	overflow: hidden;
	border-radius: 18px;
}

.insight-card .wp-block-post-featured-image img,
.archive-card .wp-block-post-featured-image img {
	aspect-ratio: 1.35 / 1;
	object-fit: cover;
}

.insight-card h2,
.archive-card h2,
.single-shell h1,
.page-shell h1 {
	text-wrap: balance;
}

.insight-card .wp-block-read-more,
.archive-card .wp-block-read-more,
.single-related-card .wp-block-read-more {
	font-weight: 600;
	text-decoration: none;
}

.single-shell .wp-block-post-content > * {
	max-width: 100%;
}

.single-shell .wp-block-post-content p,
.page-shell .wp-block-post-content p {
	font-size: 1rem;
	line-height: 1.8;
}

.single-shell .wp-block-post-content h2,
.single-shell .wp-block-post-content h3,
.page-shell .wp-block-post-content h2,
.page-shell .wp-block-post-content h3 {
	margin-top: 2.4rem;
}

.category-chip-list .wp-block-post-terms,
.meta-inline .wp-block-post-date,
.meta-inline .wp-block-post-author-name {
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.03em;
}

.wp-block-site-title {
	font-size: 1.3rem;
}

.site-header-shell {
	box-shadow: 0 1px 0 rgba(18, 36, 58, 0.06);
}

.site-header-inner {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 1rem 2rem;
	align-items: center;
}

.site-brand-block,
.site-header-actions,
.home-hero-panel .wp-block-column {
	min-width: 0;
}

.site-header-actions {
	display: grid;
	grid-template-columns: auto minmax(280px, 340px);
	gap: 1rem;
	align-items: center;
	justify-content: end;
}

.site-header-actions .wp-block-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 0.85rem;
	margin: 0;
}

.site-header-actions .wp-block-button {
	margin: 0;
}

.site-header-actions .wp-block-button__link {
	white-space: nowrap;
}

.site-header-actions .wp-block-search {
	width: 100%;
	max-width: none;
	margin: 0;
}

.mobile-header-menu {
	display: none;
	position: relative;
}

.mobile-header-menu summary {
	list-style: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	border: 1px solid #dfe6ee;
	border-radius: 999px;
	background: #fff;
}

.mobile-header-menu summary::-webkit-details-marker {
	display: none;
}

.mobile-header-toggle {
	display: inline-flex;
	flex-direction: column;
	gap: 0.24rem;
}

.mobile-header-toggle span {
	display: block;
	width: 1.05rem;
	height: 2px;
	border-radius: 999px;
	background: #12243a;
}

.mobile-header-panel {
	position: absolute;
	right: 0;
	top: calc(100% + 0.75rem);
	width: min(22rem, calc(100vw - 1rem));
	padding: 1rem;
	border: 1px solid #e6ebf1;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 18px 44px rgba(18, 36, 58, 0.12);
}

.mobile-header-links {
	display: grid;
	gap: 0.75rem;
	margin-bottom: 0.85rem;
}

.mobile-header-link {
	color: #12243a;
	text-decoration: none;
	font-weight: 600;
}

.mobile-header-link.mobile-header-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.9rem 1rem;
	border-radius: 999px;
	background: #22a779;
	color: #fff;
}

.mobile-header-panel form {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	border: 1px solid #d6dde6;
	border-radius: 999px;
	padding: 0.4rem 0.45rem 0.4rem 1rem;
}

.mobile-header-panel input {
	flex: 1;
	min-width: 0;
	border: 0;
	outline: 0;
	font-size: 0.98rem;
	background: transparent;
}

.mobile-header-panel button {
	border: 0;
	border-radius: 999px;
	background: #22a779;
	color: #fff;
	padding: 0.7rem 1rem;
	font-weight: 600;
}

.home-hero-panel > .wp-block-columns {
	display: grid;
	grid-template-columns: minmax(0, 1.8fr) minmax(320px, 0.8fr);
	gap: clamp(1.5rem, 2.5vw, 3rem);
	align-items: start;
}

.home-hero-panel > .wp-block-columns > .wp-block-column {
	flex-basis: auto !important;
}

.wp-block-post-template.is-layout-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.insight-card h2,
.archive-card h2 {
	font-size: clamp(1.05rem, 1.2vw, 1.35rem);
}

.single-shell h1,
.page-shell h1 {
	font-size: clamp(1.55rem, 2vw, 2.2rem);
}

.home-hero-panel h1 {
	font-size: clamp(2.3rem, 4vw, 4.9rem) !important;
	line-height: 1.05 !important;
	max-width: 8.5ch;
}

.home-hero-panel p {
	max-width: 58ch;
}

.hero-metric-card {
	height: 100%;
}

.hero-metric-card p {
	max-width: none;
}

.content-shell > .wp-block-query,
.archive-shell > .wp-block-query,
.single-shell > .wp-block-query {
	width: 100%;
}

.kolabo-fallback-featured-image {
	margin: 0;
	overflow: hidden;
	border-radius: 18px;
}

.kolabo-fallback-featured-image img {
	display: block;
	width: 100%;
	height: auto;
}

.archive-card,
.insight-card {
	background: #fff;
}

.site-footer-inner a,
.site-header-inner a,
.insight-card a,
.archive-card a,
.single-shell a,
.page-shell a {
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.16em;
}

.site-footer-inner .wp-block-search__inside-wrapper,
.site-header-inner .wp-block-search__inside-wrapper {
	border-radius: 999px;
}

.site-footer-inner .wp-block-search__button,
.site-header-inner .wp-block-search__button,
.wp-block-button.is-style-fill .wp-block-button__link {
	border-radius: 999px;
}

.site-footer-inner {
	padding-bottom: 3rem;
}

@media (max-width: 1080px) {
	.site-header-inner {
		grid-template-columns: 1fr;
	}

	.site-header-actions {
		grid-template-columns: 1fr;
		justify-content: stretch;
	}

	.site-header-actions .wp-block-buttons {
		justify-content: flex-start;
	}

	.home-hero-panel > .wp-block-columns {
		grid-template-columns: 1fr;
	}

	.home-hero-panel h1 {
		max-width: 12ch;
	}
}

@media (max-width: 900px) {
	.home-hero-panel,
	.insight-card,
	.archive-card,
	.single-related-card,
	.corporate-surface {
		border-radius: 20px;
	}

	.site-header-inner,
	.site-footer-inner,
	.home-hero-shell,
	.content-shell,
	.archive-shell,
	.single-shell,
	.page-shell {
		width: calc(100vw - 1rem);
	}

	.site-header-actions {
		display: none;
	}

	.mobile-header-menu {
		display: block;
		justify-self: end;
	}

	.site-header-actions .wp-block-buttons {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		width: 100%;
	}

	.site-header-actions .wp-block-button,
	.site-header-actions .wp-block-button__link {
		width: 100%;
	}

	.home-hero-panel h1 {
		font-size: clamp(1.95rem, 7vw, 3rem) !important;
		max-width: 11ch;
	}
}

@media (max-width: 1024px) {
	.wp-block-post-template.is-layout-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	:root {
		--kolabo-shell-width: calc(100vw - 0.75rem);
	}

	.wp-block-post-template.is-layout-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.site-brand-block .wp-block-site-title {
		font-size: 1.25rem !important;
	}

	.site-brand-block .wp-block-site-tagline {
		font-size: 0.95rem !important;
	}

	.home-hero-panel {
		padding: 1.1rem !important;
	}

	.home-hero-panel h1 {
		font-size: clamp(1.7rem, 8.5vw, 2.3rem) !important;
		line-height: 1.08 !important;
		max-width: none;
	}

	.home-hero-panel p {
		font-size: 0.98rem !important;
	}

	.hero-metric-card {
		padding: 1rem !important;
	}

	.mobile-header-panel {
		width: min(22rem, calc(100vw - 0.75rem));
		right: -0.15rem;
	}

	.single-shell .corporate-surface,
	.page-shell .corporate-surface,
	.archive-shell .corporate-surface,
	.site-footer-inner {
		padding: 1.25rem !important;
	}
}
