/*
Theme Name: Featherlite
Theme URI: https://hyderabad.digital
Author: Chandra Sheker
Author URI: https://hyderabad.digital
Description: A barebones, lightweight WordPress theme with a modern CSS reset. 
Version: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: featherlite
*/

/* ========= Modern CSS Reset (inspired by Andy Bell / modern-normalize) ========= */
*,
*::before,
*::after { box-sizing: border-box; }

:where(html) {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  hanging-punctuation: first last;
}

:where(body) { margin: 0; line-height: 1.5; }

:where(h1,h2,h3,h4,h5,h6,p,figure,dl,dd) { margin: 0; }
:where(ul[role='list'], ol[role='list']) { list-style: none; padding: 0; margin: 0; }
:where(img,svg,video,canvas,audio,iframe,embed,object) { display: block; max-width: 100%; }
:where(button,input,select,textarea) { font: inherit; color: inherit; }
:where(a:not([class])) { text-decoration-skip-ink: auto; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

:root {
  --container: 1200px;
  --gap: 1rem;
  --font-system: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

body {
  font-family: var(--font-system);
  color: #111;
  background: #fff;
}

.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
h1 { font-size: clamp(1.75rem, 2vw + 1rem, 2.5rem); line-height: 1.2; }
h2 { font-size: clamp(1.5rem, 1.5vw + 1rem, 2rem); line-height: 1.25; }
h3 { font-size: 1.25rem; line-height: 1.3; }
p  { margin-block: 0.75rem; }
.stack > * + * { margin-block-start: var(--gap); }

.site-header, .site-footer { padding: 1rem 0; border-block-end: 1px solid #eee; }
.site-footer { border-block-start: 1px solid #eee; border-block-end: 0; margin-top: 2rem; }
nav a { text-decoration: none; }
nav a:hover, nav a:focus { text-decoration: underline; }