.aitg-page,
.aitg-section {
	max-width: 1180px;
	margin: 0 auto;
	padding: 48px 20px;
}

.aitg-narrow {
	max-width: 820px;
}

.aitg-hero {
	display: grid;
	gap: 22px;
	padding: 76px 32px;
	border: 1px solid #d9e2ec;
	border-radius: 8px;
	background: linear-gradient(135deg, #f6fbff 0%, #ffffff 45%, #f9f4e8 100%);
}

.aitg-hero h1,
.aitg-page h1 {
	margin: 0;
	color: #111827;
	font-size: 72px;
	line-height: 1;
	letter-spacing: 0;
}

.aitg-page h2,
.aitg-section h2,
.aitg-single h2 {
	color: #111827;
	font-size: 28px;
	line-height: 1.2;
	letter-spacing: 0;
}

.aitg-lede {
	max-width: 760px;
	color: #334155;
	font-size: 21px;
	line-height: 1.55;
}

.aitg-value-grid {
	gap: 18px;
	margin-top: 28px;
}

.aitg-value-grid .wp-block-column,
.aitg-band,
.aitg-empty {
	border: 1px solid #d9e2ec;
	border-radius: 8px;
	background: #ffffff;
	padding: 24px;
}

.aitg-band {
	margin-top: 24px;
	background: #111827;
	color: #f8fafc;
}

.aitg-band h2 {
	color: #ffffff;
}

.aitg-section-head,
.aitg-archive-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 22px;
}

.aitg-section-head h2,
.aitg-archive-head h1 {
	margin: 0;
}

.aitg-section-head a {
	font-weight: 700;
	text-decoration: none;
}

.aitg-tool-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 18px;
}

.aitg-tool-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 190px;
	border: 1px solid #d9e2ec;
	border-radius: 8px;
	background: #ffffff;
	padding: 20px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.aitg-card-main {
	display: grid;
	grid-template-columns: 56px 1fr;
	gap: 14px;
	color: inherit;
	text-decoration: none;
}

.aitg-tool-logo {
	width: 56px;
	height: 56px;
	border-radius: 8px;
	object-fit: contain;
	background: #f1f5f9;
}

.aitg-logo-fallback {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	background: #0f766e;
	font-size: 26px;
	font-weight: 800;
}

.aitg-tool-card h3 {
	margin: 0 0 6px;
	color: #111827;
	font-size: 20px;
	line-height: 1.2;
	letter-spacing: 0;
}

.aitg-tool-card p {
	margin: 0;
	color: #475569;
	line-height: 1.45;
}

.aitg-card-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}

.aitg-card-meta span,
.aitg-chip {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	border-radius: 999px;
	background: #e8f3f1;
	color: #0f5d56;
	padding: 5px 10px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
}

.aitg-archive,
.aitg-single {
	max-width: 1180px;
	margin: 0 auto;
	padding: 46px 20px 72px;
}

.aitg-archive-description {
	max-width: 720px;
	color: #475569;
	font-size: 18px;
	line-height: 1.55;
}

.aitg-single-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 28px;
	align-items: start;
	margin-bottom: 28px;
}

.aitg-single-main,
.aitg-single-panel {
	border: 1px solid #d9e2ec;
	border-radius: 8px;
	background: #ffffff;
	padding: 28px;
}

.aitg-single-title {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 18px;
	align-items: center;
}

.aitg-single-title .aitg-tool-logo {
	width: 72px;
	height: 72px;
}

.aitg-single h1 {
	margin: 0;
	color: #111827;
	font-size: 44px;
	line-height: 1.05;
	letter-spacing: 0;
}

.aitg-single-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 20px 0;
}

.aitg-tool-content {
	color: #334155;
	font-size: 17px;
	line-height: 1.7;
}

.aitg-spec-list {
	display: grid;
	gap: 12px;
	margin: 0;
}

.aitg-spec-list div {
	display: grid;
	gap: 2px;
}

.aitg-spec-list dt {
	color: #64748b;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
}

.aitg-spec-list dd {
	margin: 0;
	color: #111827;
	font-weight: 700;
}

.aitg-button,
.aitg-form button {
	display: inline-flex;
	justify-content: center;
	width: 100%;
	border: 0;
	border-radius: 8px;
	background: #0f766e;
	color: #ffffff;
	padding: 13px 16px;
	font-weight: 800;
	text-decoration: none;
}

.aitg-detail-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
	margin-top: 24px;
}

.aitg-detail-card {
	border: 1px solid #d9e2ec;
	border-radius: 8px;
	background: #ffffff;
	padding: 24px;
}

.aitg-detail-card ul {
	margin-bottom: 0;
}

.aitg-verdict {
	grid-column: 1 / -1;
	background: #f8fafc;
}

.aitg-form {
	display: grid;
	gap: 16px;
	border: 1px solid #d9e2ec;
	border-radius: 8px;
	background: #ffffff;
	padding: 24px;
}

.aitg-notice {
	border: 1px solid #99f6e4;
	border-radius: 8px;
	background: #ecfdf5;
	color: #065f46;
	padding: 12px 14px;
	font-weight: 700;
}

.aitg-form label {
	display: grid;
	gap: 7px;
	color: #111827;
	font-weight: 700;
}

.aitg-form input,
.aitg-form textarea {
	width: 100%;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 12px 14px;
	font: inherit;
}

.aitg-form textarea {
	min-height: 150px;
}

@media (max-width: 780px) {
	.aitg-hero {
		padding: 44px 22px;
	}

	.aitg-section-head,
	.aitg-archive-head {
		display: grid;
		align-items: start;
	}

	.aitg-single-hero,
	.aitg-detail-grid {
		grid-template-columns: 1fr;
	}

	.aitg-single-title {
		grid-template-columns: 56px 1fr;
	}

	.aitg-single-title .aitg-tool-logo {
		width: 56px;
		height: 56px;
	}

	.aitg-single h1 {
		font-size: 34px;
	}

	.aitg-hero h1,
	.aitg-page h1 {
		font-size: 42px;
	}
}
