/*
Theme Name: Quick Media Theme
Theme URI: https://quickmedia.in/
Author: Quick Media
Author URI: https://quickmedia.in/
Description: High-performance, semantic HTML5 theme engine engineered for modern websites. Built on fluid clamp() typography and spacing, 2-level clean DOM structure, modern CSS Grid/Flexbox, and zero builder bloat.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: quick-media-theme
Tags: custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, flexible-header, full-width-template, grid-layout, one-column, two-columns, block-patterns, sticky-post, theme-options, translation-ready
*/

/* Reset & Box Sizing */
*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    padding: 0;
    font-family: var(--qm-font-body, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif);
    font-size: var(--text-m, 1rem);
    line-height: var(--text-line-height, 1.6);
    font-weight: var(--text-font-weight, 400);
    color: var(--qm-text-color, #334155);
    background-color: var(--qm-bg-color, #ffffff);
    overflow-x: hidden;
}

img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: var(--qm-primary, #054f8e);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover, a:focus {
    color: var(--qm-primary-dark, #043f72);
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: var(--space-s, 1rem);
    font-family: var(--qm-font-heading, inherit);
    font-weight: var(--heading-font-weight, 700);
    line-height: var(--heading-line-height, 1.25);
    color: var(--qm-heading-color, #0f172a);
}

h1 { font-size: var(--h1, 2.5rem); }
h2 { font-size: var(--h2, 2.1rem); }
h3 { font-size: var(--h3, 1.75rem); }
h4 { font-size: var(--h4, 1.4rem); }
h5 { font-size: var(--h5, 1.15rem); }
h6 { font-size: var(--h6, 1rem); }

p {
    margin-top: 0;
    margin-bottom: var(--space-s, 1rem);
}

p:last-child {
    margin-bottom: 0;
}
