/*
Theme Name: Grafchokolo Current
Author: Rowan Vale Studio
Description: A classic WordPress theme with a clean SaaS-inspired layout, dynamic menus, editable Customizer controls, and no hardcoded categories.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: gchk-theme
Domain Path: /languages
*/

:root {
	--gchk-bg: #f7f7f7;
	--gchk-surface: #ffffff;
	--gchk-text: #09090b;
	--gchk-muted: #5f6368;
	--gchk-border: #e5e5e5;
	--gchk-accent: #1a67ff;
	--gchk-accent-hover: #0757ea;
	--gchk-heading-font: "Geist", "Inter", Arial, sans-serif;
	--gchk-body-font: "Inter", Arial, sans-serif;
	--gchk-body-size: 16px;
	--gchk-hero-size: 43px;
	--gchk-radius: 8px;
	--gchk-wide: 1116px;
	--gchk-content: 760px;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--gchk-bg);
	color: var(--gchk-text);
	font-family: var(--gchk-body-font);
	font-size: var(--gchk-body-size);
	line-height: 1.6;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

p {
	margin: 0;
}

.gchk-skip-link {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1000;
	transform: translateY(-140%);
	padding: 10px 14px;
	border-radius: var(--gchk-radius);
	background: var(--gchk-text);
	color: var(--gchk-surface);
	font-weight: 600;
	transition: transform 160ms ease;
}

.gchk-skip-link:focus {
	transform: translateY(0);
}

.gchk-header {
	position: relative;
	z-index: 20;
	border-bottom: 1px solid var(--gchk-border);
	background: rgba(247, 247, 247, 0.96);
	backdrop-filter: blur(12px);
}

.gchk-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 96px;
	width: min(100% - 64px, var(--gchk-wide));
	margin: 0 auto;
	gap: 28px;
}

.gchk-brand {
	display: inline-flex;
	align-items: center;
	min-width: 0;
	gap: 10px;
	font-family: var(--gchk-heading-font);
	font-size: 30px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;
}

.gchk-brand-logo {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
}

.gchk-logo-mark {
	position: relative;
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--gchk-accent);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
}

.gchk-logo-mark::before,
.gchk-logo-mark::after {
	content: "";
	position: absolute;
	left: -7px;
	right: -7px;
	height: 10px;
	border-radius: 999px;
	background: var(--gchk-bg);
	transform: rotate(-24deg);
}

.gchk-logo-mark::before {
	top: 10px;
}

.gchk-logo-mark::after {
	top: 23px;
}

.gchk-brand-text {
	overflow: hidden;
	max-width: 250px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.gchk-desktop-area {
	display: flex;
	align-items: center;
	gap: 32px;
	margin-left: auto;
}

.gchk-menu {
	display: flex;
	align-items: center;
	gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gchk-menu-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	color: var(--gchk-text);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
}

.gchk-menu-link::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 3px;
	left: 0;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 180ms ease;
}

.gchk-menu-link:hover::after,
.gchk-menu-link:focus-visible::after,
.gchk-menu-item-current > .gchk-menu-link::after {
	transform: scaleX(1);
	transform-origin: left;
}

.gchk-menu-item {
	position: relative;
}

.gchk-submenu {
	position: absolute;
	top: 100%;
	left: 0;
	display: grid;
	min-width: 190px;
	margin: 0;
	padding: 10px;
	border: 1px solid var(--gchk-border);
	border-radius: var(--gchk-radius);
	background: var(--gchk-surface);
	box-shadow: 0 16px 40px rgba(9, 9, 11, 0.08);
	list-style: none;
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 160ms ease, transform 160ms ease;
}

.gchk-menu-item:hover > .gchk-submenu,
.gchk-menu-item:focus-within > .gchk-submenu {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.gchk-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 49px;
	padding: 0 24px;
	border: 1px solid var(--gchk-border);
	border-radius: var(--gchk-radius);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.gchk-button:hover,
.gchk-button:focus-visible {
	transform: translateY(-1px);
}

.gchk-button-primary {
	border-color: var(--gchk-accent);
	background: var(--gchk-accent);
	color: #ffffff;
}

.gchk-button-primary:hover,
.gchk-button-primary:focus-visible {
	border-color: var(--gchk-accent-hover);
	background: var(--gchk-accent-hover);
	color: #ffffff;
}

.gchk-button-ghost {
	background: var(--gchk-surface);
	color: var(--gchk-text);
}

.gchk-button-ghost:hover,
.gchk-button-ghost:focus-visible {
	border-color: #d6d6d6;
	background: #fbfbfb;
}

.gchk-menu-toggle {
	display: none;
	position: relative;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: var(--gchk-text);
	cursor: pointer;
}

.gchk-menu-toggle-line,
.gchk-menu-toggle-line::before,
.gchk-menu-toggle-line::after {
	position: absolute;
	left: 11px;
	width: 22px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
	content: "";
	transition: transform 180ms ease, opacity 180ms ease, top 180ms ease;
}

.gchk-menu-toggle-line {
	top: 21px;
}

.gchk-menu-toggle-line::before {
	top: -7px;
	left: 0;
}

.gchk-menu-toggle-line::after {
	top: 7px;
	left: 0;
}

.gchk-menu-open .gchk-menu-toggle-line {
	background: transparent;
}

.gchk-menu-open .gchk-menu-toggle-line::before {
	top: 0;
	background: var(--gchk-text);
	transform: rotate(45deg);
}

.gchk-menu-open .gchk-menu-toggle-line::after {
	top: 0;
	background: var(--gchk-text);
	transform: rotate(-45deg);
}

.gchk-mobile-panel {
	display: none;
	border-top: 1px solid transparent;
	border-bottom: 1px solid var(--gchk-border);
	background: var(--gchk-bg);
}

.gchk-mobile-panel-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: min(100% - 32px, 420px);
	margin: 0 auto;
	padding: 26px 0 24px;
	gap: 26px;
}

.gchk-mobile-panel .gchk-menu {
	flex-direction: column;
	gap: 18px;
}

.gchk-mobile-panel .gchk-submenu {
	position: static;
	min-width: 0;
	padding: 8px 0 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	opacity: 1;
	pointer-events: auto;
	transform: none;
}

.gchk-main {
	min-height: 60vh;
}

.gchk-hero {
	overflow: hidden;
	border-bottom: 1px solid var(--gchk-border);
	text-align: center;
}

.gchk-hero-content {
	width: min(100% - 32px, var(--gchk-content));
	margin: 0 auto;
	padding: 58px 0 0;
}

.gchk-hero-title {
	max-width: 720px;
	margin: 0 auto;
	color: var(--gchk-text);
	font-family: var(--gchk-heading-font);
	font-size: var(--gchk-hero-size);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: 0;
}

.gchk-hero-intro {
	max-width: 520px;
	margin: 24px auto 0;
	color: var(--gchk-muted);
	font-size: 16px;
	line-height: 1.55;
}

.gchk-hero-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 28px;
	gap: 8px;
}

.gchk-hero-media-wrap {
	width: min(100% - 32px, 900px);
	margin: 52px auto -1px;
}

.gchk-hero-media {
	position: relative;
	min-height: 360px;
	overflow: hidden;
	border: 1px solid var(--gchk-border);
	border-bottom: 0;
	border-radius: 16px 16px 0 0;
	background: var(--gchk-surface);
	box-shadow: 0 24px 60px rgba(9, 9, 11, 0.06);
}

.gchk-hero-image {
	width: 100%;
	height: 100%;
	min-height: 360px;
	object-fit: cover;
}

.gchk-fallback-visual {
	position: absolute;
	inset: 0;
	display: grid;
	grid-template-columns: 220px 1fr;
	background: var(--gchk-surface);
}

.gchk-fallback-side {
	border-right: 1px solid var(--gchk-border);
	background: linear-gradient(180deg, #ffffff, #fbfbfb);
}

.gchk-fallback-side::before {
	content: "";
	display: block;
	width: 72px;
	height: 18px;
	margin: 36px 28px;
	border-radius: 99px;
	background: linear-gradient(90deg, var(--gchk-accent), #82aaff);
}

.gchk-fallback-lines {
	display: grid;
	margin: 68px 28px 0;
	gap: 18px;
}

.gchk-fallback-lines span {
	display: block;
	height: 12px;
	border-radius: 999px;
	background: #e9e9eb;
}

.gchk-fallback-lines span:nth-child(1) {
	width: 100%;
	background: #f2f2f3;
}

.gchk-fallback-lines span:nth-child(2) {
	width: 72%;
}

.gchk-fallback-lines span:nth-child(3) {
	width: 86%;
}

.gchk-fallback-main {
	padding: 36px 36px 0;
}

.gchk-fallback-top {
	display: flex;
	justify-content: space-between;
	gap: 18px;
}

.gchk-fallback-search {
	width: 168px;
	height: 32px;
	border-radius: 6px;
	background: #f6f6f6;
}

.gchk-fallback-user {
	width: 140px;
	height: 32px;
	border-radius: 999px;
	background: linear-gradient(90deg, #f6f6f6, #eeeeef);
}

.gchk-fallback-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 36px;
	gap: 16px;
}

.gchk-fallback-card {
	height: 92px;
	border: 1px solid var(--gchk-border);
	border-radius: 8px;
	background: #ffffff;
}

.gchk-fallback-chart {
	height: 170px;
	margin-top: 18px;
	border: 1px solid var(--gchk-border);
	border-radius: 10px;
	background:
		radial-gradient(circle at 72% 70%, rgba(26, 103, 255, 0.2), transparent 28%),
		linear-gradient(180deg, #ffffff, #fafafa);
}

.gchk-trust {
	width: min(100% - 32px, var(--gchk-wide));
	margin: 0 auto;
	padding: 52px 0 18px;
	color: var(--gchk-muted);
	text-align: center;
}

.gchk-trust strong {
	color: var(--gchk-text);
	font-weight: 600;
}

.gchk-section {
	width: min(100% - 32px, var(--gchk-wide));
	margin: 0 auto;
	padding: 72px 0;
}

.gchk-section-head {
	max-width: 560px;
	margin: 0 auto 34px;
	text-align: center;
}

.gchk-section-title {
	margin: 0;
	font-family: var(--gchk-heading-font);
	font-size: 40px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0;
}

.gchk-section-copy {
	margin-top: 14px;
	color: var(--gchk-muted);
	font-size: 16px;
	line-height: 1.55;
}

.gchk-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.gchk-post-card {
	overflow: hidden;
	border: 1px solid var(--gchk-border);
	border-radius: 12px;
	background: var(--gchk-surface);
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.gchk-post-card:hover,
.gchk-post-card:focus-within {
	border-color: rgba(26, 103, 255, 0.34);
	box-shadow: 0 18px 40px rgba(9, 9, 11, 0.06);
	transform: translateY(-2px);
}

.gchk-post-media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background:
		radial-gradient(circle at 25% 30%, rgba(26, 103, 255, 0.25), transparent 28%),
		linear-gradient(135deg, #f5f5f5, #ebebed);
}

.gchk-post-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gchk-post-body {
	display: grid;
	padding: 22px;
	gap: 12px;
}

.gchk-post-date {
	color: var(--gchk-muted);
	font-size: 13px;
	font-weight: 500;
}

.gchk-post-title {
	margin: 0;
	font-family: var(--gchk-heading-font);
	font-size: 22px;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: 0;
}

.gchk-post-title a:hover,
.gchk-post-title a:focus-visible {
	color: var(--gchk-accent);
}

.gchk-post-excerpt {
	color: var(--gchk-muted);
	font-size: 15px;
	line-height: 1.55;
}

.gchk-about {
	border-top: 1px solid var(--gchk-border);
	border-bottom: 1px solid var(--gchk-border);
}

.gchk-about-box {
	display: grid;
	grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
	align-items: start;
	gap: 38px;
	padding: 42px;
	border: 1px solid var(--gchk-border);
	border-radius: 16px;
	background: var(--gchk-surface);
}

.gchk-about-kicker {
	color: var(--gchk-accent);
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0;
}

.gchk-about-title {
	margin: 10px 0 0;
	font-family: var(--gchk-heading-font);
	font-size: 34px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: 0;
}

.gchk-about-content {
	color: var(--gchk-muted);
	font-size: 16px;
	line-height: 1.75;
}

.gchk-about-content p + p {
	margin-top: 14px;
}

.gchk-empty {
	padding: 34px;
	border: 1px solid var(--gchk-border);
	border-radius: 12px;
	background: var(--gchk-surface);
	color: var(--gchk-muted);
	text-align: center;
}

.gchk-page-header {
	width: min(100% - 32px, var(--gchk-content));
	margin: 0 auto;
	padding: 64px 0 24px;
	text-align: center;
}

.gchk-page-title,
.gchk-single-title {
	margin: 0;
	font-family: var(--gchk-heading-font);
	font-size: 43px;
	font-weight: 500;
	line-height: 1.12;
	letter-spacing: 0;
}

.gchk-single {
	width: min(100% - 32px, 820px);
	margin: 0 auto;
	padding: 66px 0 82px;
}

.gchk-single-meta {
	margin-top: 18px;
	color: var(--gchk-muted);
	font-size: 14px;
	text-align: center;
}

.gchk-single-content {
	margin-top: 42px;
	color: var(--gchk-text);
	font-size: 18px;
	line-height: 1.8;
}

.gchk-single-content > * {
	margin-top: 0;
	margin-bottom: 24px;
}

.gchk-single-content h2,
.gchk-single-content h3,
.gchk-single-content h4 {
	margin-top: 38px;
	color: var(--gchk-text);
	font-family: var(--gchk-heading-font);
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: 0;
}

.gchk-single-content h2 {
	font-size: 32px;
}

.gchk-single-content h3 {
	font-size: 26px;
}

.gchk-single-content a {
	color: var(--gchk-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.gchk-single-content img,
.gchk-single-content figure {
	max-width: 100%;
	border-radius: 12px;
}

.gchk-single-content blockquote {
	margin-left: 0;
	padding: 20px 24px;
	border-left: 4px solid var(--gchk-accent);
	border-radius: 8px;
	background: var(--gchk-surface);
}

.gchk-page-links,
.gchk-single-footer {
	margin-top: 42px;
}

.gchk-page-links a,
.gchk-page-links span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 34px;
	height: 34px;
	margin-left: 6px;
	border: 1px solid var(--gchk-border);
	border-radius: 6px;
	background: var(--gchk-surface);
	color: var(--gchk-text);
	text-decoration: none;
}

.gchk-single-nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.gchk-single-nav-item a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 18px;
	border: 1px solid var(--gchk-border);
	border-radius: var(--gchk-radius);
	background: var(--gchk-surface);
	font-size: 14px;
	font-weight: 600;
}

.gchk-single-nav-next {
	text-align: right;
}

.gchk-footer {
	border-top: 1px solid var(--gchk-border);
	background: var(--gchk-surface);
}

.gchk-footer-inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: start;
	width: min(100% - 64px, var(--gchk-wide));
	margin: 0 auto;
	padding: 42px 0;
	gap: 34px;
}

.gchk-footer-copy {
	max-width: 520px;
	margin-top: 14px;
	color: var(--gchk-muted);
	font-size: 14px;
	line-height: 1.65;
}

.gchk-footer-nav .gchk-menu {
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 18px 24px;
}

.gchk-footer-bottom {
	width: min(100% - 64px, var(--gchk-wide));
	margin: 0 auto;
	padding: 18px 0 32px;
	border-top: 1px solid var(--gchk-border);
	color: var(--gchk-muted);
	font-size: 13px;
}

.alignwide {
	max-width: var(--gchk-wide);
}

.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}

@media (max-width: 980px) {
	.gchk-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gchk-about-box {
		grid-template-columns: 1fr;
	}

	.gchk-fallback-visual {
		grid-template-columns: 150px 1fr;
	}

	.gchk-fallback-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 782px) {
	:root {
		--gchk-hero-size: 32px;
	}

	.gchk-header-inner {
		width: min(100% - 32px, var(--gchk-wide));
		min-height: 82px;
	}

	.gchk-brand {
		font-size: 29px;
	}

	.gchk-desktop-area {
		display: none;
	}

	.gchk-menu-toggle {
		display: inline-flex;
	}

	.gchk-menu-open .gchk-mobile-panel {
		display: block;
	}

	.gchk-mobile-panel .gchk-button {
		min-width: 192px;
	}

	.gchk-hero-content {
		padding-top: 58px;
	}

	.gchk-hero-intro {
		max-width: 340px;
		margin-top: 24px;
	}

	.gchk-hero-actions {
		flex-direction: column;
		margin-top: 28px;
	}

	.gchk-hero-actions .gchk-button {
		width: 100%;
	}

	.gchk-hero-media-wrap {
		margin-top: 42px;
	}

	.gchk-hero-media {
		min-height: 300px;
		border-radius: 10px 10px 0 0;
	}

	.gchk-hero-image {
		min-height: 300px;
	}

	.gchk-trust {
		padding-top: 42px;
	}

	.gchk-section {
		padding: 58px 0;
	}

	.gchk-section-title {
		font-size: 32px;
	}

	.gchk-post-grid {
		grid-template-columns: 1fr;
	}

	.gchk-about-box {
		padding: 28px;
	}

	.gchk-about-title,
	.gchk-page-title,
	.gchk-single-title {
		font-size: 32px;
	}

	.gchk-footer-inner {
		grid-template-columns: 1fr;
		width: min(100% - 32px, var(--gchk-wide));
	}

	.gchk-footer-nav .gchk-menu {
		justify-content: flex-start;
	}

	.gchk-footer-bottom {
		width: min(100% - 32px, var(--gchk-wide));
	}
}

@media (max-width: 560px) {
	.gchk-hero-actions {
		margin-top: 28px;
	}

	.gchk-fallback-visual {
		grid-template-columns: 1fr;
	}

	.gchk-fallback-side {
		display: none;
	}

	.gchk-fallback-main {
		padding: 24px 18px 0;
	}

	.gchk-fallback-top {
		display: none;
	}

	.gchk-fallback-cards {
		grid-template-columns: 1fr;
		margin-top: 12px;
	}

	.gchk-fallback-chart {
		height: 120px;
	}

	.gchk-single-nav {
		grid-template-columns: 1fr;
	}
}
