/*
Theme Name: CityDealers Speed
Theme URI: https://citydealers.in
Author: CityDealers
Author URI: https://citydealers.in
Description: A lean, fast, no-bloat base theme built for CityDealers. Nearly all visual UI (header, footer, listings, dashboard, everything) is rendered by the CityDealers plugin — this theme's only job is to be the fastest, cleanest possible foundation underneath it: no page builder, no bundled icon fonts, no unused CSS/JS, no jQuery dependency, and none of the customizer bloat that makes typical multipurpose themes (like Astra) slow. Every byte here earns its place.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Tested up to: 6.7
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: citydealers-speed
*/

/* ============================================================
   MINIMAL RESET — deliberately small. The CityDealers plugin's
   own modules bring their own scoped styles for everything
   visual; this is just a sane, unopinionated foundation so
   plain WordPress content (pages without a CityDealers shortcode,
   default archives, search results, 404s) still looks clean.
   ============================================================ */

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: #1f2733;
	background: #fff;
}

img, svg, video, canvas, audio, iframe, embed, object {
	max-width: 100%;
	height: auto;
}
/* Deliberately NOT forcing display:block here. The CityDealers plugin (hundreds
   of files, built up over a long time) has many places that rely on the
   browser's default inline image behavior together with text-align:center on
   a parent to center things — forcing block broke at least one of those
   (the account dashboard's profile avatar) the moment this theme went live.
   Any individual component that specifically wants block-level images can
   still set that itself; this theme just shouldn't impose it globally. */

a { color: #19ce10; text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4, h5, h6 {
	font-weight: 800;
	line-height: 1.25;
	margin: 0 0 .5em;
	color: #10131a;
}

p { margin: 0 0 1em; }

ul, ol { padding-left: 1.3em; margin: 0 0 1em; }

button, input, select, textarea { font: inherit; color: inherit; }

table { border-collapse: collapse; width: 100%; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px,1px,1px,1px);
	white-space: nowrap;
}
.screen-reader-text:focus {
	position: static !important;
	width: auto; height: auto;
	clip: auto;
}

/* ============================================================
   BASE PAGE LAYOUT — a simple centered content column for
   default WordPress templates (plain pages/posts, search,
   archives, 404). CityDealers plugin shortcodes/pages define
   their own full-width layouts and simply ignore this.
   ============================================================ */

.site-main {
	max-width: 780px;
	margin: 0 auto;
	padding: 32px 20px 64px;
}

.site-main .entry-title { font-size: 1.8rem; margin-bottom: .3em; }
.site-main .entry-content { font-size: 1rem; }
.site-main .entry-content img { border-radius: 10px; margin: 1em 0; }

.cds-footer {
	padding: 28px 20px;
	text-align: center;
	font-size: 13px;
	color: #8a93a2;
	border-top: 1px solid #eef0f3;
}

@media (max-width: 640px) {
	.site-main { padding: 20px 16px 48px; }
}
