/**
 * GuruTeam minimal layout — content area for posts, pages, archives, search.
 * Header / footer styles live inline in header.php / footer.php for self-containment.
 */

body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #0f172a; background: #ffffff; }

.gt-content { max-width: 760px; margin: 0 auto; padding: 0 24px; }

.gt-main { padding: 56px 0 40px; }
.gt-main--archive, .gt-main--search { padding-top: 24px; }

/* Page header (archives, search) */
.gt-page-header { padding: 40px 0 8px; }
.gt-page-header__title {
	font-size: 36px; line-height: 1.15; letter-spacing: -0.02em;
	margin: 0 0 8px; font-weight: 700;
}
.gt-page-header__desc { color: #475569; font-size: 16px; }

/* Article */
.gt-article { font-size: 17px; line-height: 1.7; color: #1e293b; }
.gt-article__head { margin-bottom: 28px; }
.gt-article__cat {
	display: inline-block;
	background: #eff6ff; color: #2481cc;
	font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
	padding: 4px 12px; border-radius: 999px; margin-bottom: 14px;
}
.gt-article__title {
	font-size: 40px; line-height: 1.15; letter-spacing: -0.02em;
	margin: 0 0 16px; font-weight: 800; color: #0f172a;
}
.gt-article__meta {
	color: #64748b; font-size: 14px;
	display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.gt-article__meta time { font-variant-numeric: tabular-nums; }
.gt-article__thumb { margin: 0 0 32px; border-radius: 16px; overflow: hidden; }
.gt-article__thumb img { display: block; width: 100%; height: auto; }
.gt-article__body { font-size: 17px; line-height: 1.75; }
.gt-article__body h2 { font-size: 28px; font-weight: 700; letter-spacing: -0.015em; margin: 40px 0 14px; }
.gt-article__body h3 { font-size: 22px; font-weight: 600; margin: 32px 0 12px; }
.gt-article__body p { margin: 0 0 18px; }
.gt-article__body a { color: #2481cc; }
.gt-article__body a:hover { text-decoration: underline; }
.gt-article__body img { max-width: 100%; height: auto; border-radius: 12px; margin: 18px 0; }
.gt-article__body ul, .gt-article__body ol { padding-left: 22px; margin: 0 0 18px; }
.gt-article__body li { margin-bottom: 6px; }
.gt-article__body blockquote {
	border-left: 3px solid #2481cc; background: #f8fafc;
	margin: 24px 0; padding: 14px 20px; border-radius: 0 10px 10px 0;
	color: #1e293b; font-style: italic;
}
.gt-article__body code {
	background: #f1f5f9; padding: 2px 6px; border-radius: 4px;
	font-size: 0.92em; color: #be185d;
}
.gt-article__body pre {
	background: #0f172a; color: #e2e8f0; padding: 18px; border-radius: 12px;
	overflow-x: auto; margin: 18px 0; font-size: 14px;
}
.gt-article__body pre code { background: transparent; color: inherit; padding: 0; }
.gt-article__body figure { margin: 24px 0; }
.gt-article__body figcaption { color: #64748b; font-size: 13px; margin-top: 8px; text-align: center; }

.gt-article__foot {
	margin-top: 36px; padding-top: 24px;
	border-top: 1px solid rgba(15,23,42,0.08);
	font-size: 14px; color: #64748b;
	display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.gt-article__tags-label { font-weight: 600; color: #0f172a; }
.gt-article__foot a {
	color: #2481cc; padding: 2px 10px; border-radius: 999px;
	background: #eff6ff; font-size: 13px; text-decoration: none;
}
.gt-article__foot a:hover { background: #dbeafe; }

/* Post navigation */
.post-navigation {
	margin-top: 48px; padding-top: 28px;
	border-top: 1px solid rgba(15,23,42,0.08);
}
.post-navigation .nav-links { display: flex; gap: 16px; justify-content: space-between; }
.post-navigation a {
	color: #475569; text-decoration: none;
	padding: 14px 18px; border-radius: 12px;
	border: 1px solid rgba(15,23,42,0.08);
	display: flex; flex-direction: column; gap: 4px;
	flex: 1; max-width: 48%;
	transition: border-color 0.15s, transform 0.15s;
}
.post-navigation a:hover { border-color: #2481cc; transform: translateY(-1px); }
.gt-nav-sub { font-size: 12px; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.05em; }
.gt-nav-title { font-size: 14px; color: #0f172a; font-weight: 600; }

/* Pagination */
.pagination, .navigation.pagination { margin: 40px 0; }
.pagination .page-numbers,
.navigation.pagination .page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 38px; height: 38px; padding: 0 12px; margin: 0 4px;
	border-radius: 10px; border: 1px solid rgba(15,23,42,0.1);
	color: #475569; text-decoration: none; font-weight: 500; font-size: 14px;
}
.pagination .page-numbers.current,
.navigation.pagination .page-numbers.current {
	background: #2481cc; color: #fff; border-color: #2481cc;
}
.pagination .page-numbers:hover,
.navigation.pagination .page-numbers:hover { border-color: #2481cc; color: #0f172a; }

/* Buttons */
.gt-btn {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 12px 22px; border-radius: 999px;
	font-weight: 600; font-size: 15px; text-decoration: none;
	transition: background 0.15s, transform 0.15s;
}
.gt-btn--primary { background: #2481cc; color: #fff; }
.gt-btn--primary:hover { background: #1c6bb0; color: #fff; text-decoration: none; transform: translateY(-1px); }

/* Posts list (archive/search) */
.gt-posts { display: grid; gap: 24px; margin-bottom: 32px; }
.gt-posts > article {
	border: 1px solid rgba(15,23,42,0.08);
	border-radius: 16px; padding: 24px;
	transition: border-color 0.15s, transform 0.15s;
}
.gt-posts > article:hover { border-color: rgba(36,129,204,0.4); transform: translateY(-2px); }

/* Hide comment / sidebar leftovers if any plugin / shortcode tries to render them */
.gt-main .comments-area,
.gt-main #respond,
.gt-main #comments { display: none !important; }

@media (max-width: 640px) {
	.gt-content { padding: 0 18px; }
	.gt-main { padding: 32px 0; }
	.gt-page-header__title { font-size: 28px; }
	.gt-article__title { font-size: 30px; }
	.gt-article__body { font-size: 16px; }
	.gt-article__body h2 { font-size: 24px; }
	.post-navigation .nav-links { flex-direction: column; }
	.post-navigation a { max-width: 100%; }
}
