/*
Theme Name: CoreLite Base
Theme URI: https://anonymousolix.github.io/corelite-themes/corelite-base/
Description: A lightweight classic theme foundation with a clean layout and reusable core features.
Version: 1.0.0
Author: CoreLite Themes
Author URI: https://anonymousolix.github.io/corelite-themes/
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: corelite-base
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Tags: blog, one-column, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* Copyright (C) 2026 CoreLite Themes */

:root {
	--clt-base-background: #ffffff;
	--clt-base-border: #d7dde3;
	--clt-base-text: #1b2430;
	--clt-base-muted: #5a6a7c;
	--clt-base-link: #0f5bd8;
	--clt-base-max-width: 72rem;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--clt-base-background);
	color: var(--clt-base-text);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1rem;
	line-height: 1.7;
}

a {
	color: var(--clt-base-link);
}

a:hover,
a:focus {
	text-decoration-thickness: 2px;
}

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

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	word-wrap: normal !important;
	border: 0;
}

.screen-reader-text:focus {
	top: 1rem;
	left: 1rem;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	margin: 0;
	clip: auto !important;
	background: #111111;
	color: #ffffff;
}

.site-header,
.site-footer,
.site-main {
	width: min(100% - 2rem, var(--clt-base-max-width));
	margin: 0 auto;
}

.site-header,
.site-footer {
	padding: 1.5rem 0;
}

.site-header {
	border-bottom: 1px solid var(--clt-base-border);
}

.site-main {
	padding: 2rem 0 4rem;
}

.site-branding {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.site-title {
	margin: 0;
	font-size: 1.5rem;
}

.site-title a {
	color: inherit;
	text-decoration: none;
}

.site-description,
.entry-meta,
.site-footer {
	color: var(--clt-base-muted);
}

.primary-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	padding: 0;
	margin: 0;
	list-style: none;
}

.entry + .entry {
	margin-top: 2rem;
	padding-top: 2rem;
	border-top: 1px solid var(--clt-base-border);
}

.entry-title {
	margin-bottom: 0.5rem;
}

.entry-title a {
	color: inherit;
	text-decoration: none;
}

.entry-taxonomy,
.page-links,
.comments-area {
	margin-top: 1.5rem;
}

.footer-widgets {
	margin-bottom: 1.5rem;
}

.widget-title {
	margin-top: 0;
}

.comment-list {
	padding-left: 1.5rem;
}

.wp-caption,
.gallery-caption,
.bypostauthor,
.alignright,
.alignleft,
.aligncenter,
.sticky {
	max-width: 100%;
}

.wp-caption-text {
	color: var(--clt-base-muted);
}

@media (max-width: 48rem) {
	.site-branding {
		flex-direction: column;
		align-items: flex-start;
	}
}
