/*
Theme Name:   Dr. Abdul Qayyum Khan
Theme URI:    https://drabdulqayyum.com/
Description:  Astra child theme for Dr. Abdul Qayyum Khan, General Surgeon, Health Care Hospital, Satellite Town, Rawalpindi. Supplies the site's own two bar header and footer through header.php and footer.php, replacing Astra's output while keeping every Astra hook in place. Page content is added separately through Elementor HTML widgets.
Author:       Ayesha
Template:     astra
Version:      1.2.0
Text Domain:  drabdulqayyum-child
*/

/* ============================================================
   Everything structural lives in header.php and footer.php.
   This file holds only the small number of global rules that
   have to sit outside those templates.
   ============================================================ */

:root {
	--aq-porcelain: #F2FAF7;
	--aq-white:     #FFFFFF;
	--aq-mist:      #E3F3ED;
	--aq-sand:      #FCF5EA;
	--aq-line:      #D6E7E0;
	--aq-line-soft: #E7F2ED;
	--aq-ink:       #0E2320;
	--aq-ink-2:     #31463F;
	--aq-muted:     #5E6F69;
	--aq-faint:     #647570;
	--aq-pine:      #0A4A40;
	--aq-jade:      #0C8670;
	--aq-jade-lift: #0FA383;
	--aq-jade-text: #096B57;
	--aq-jade-pale: #E8F7F1;
	--aq-jade-line: #C3E6DA;
	--aq-mint:      #7FE3C4;
}

/* ------------------------------------------------------------
   Full bleed content.
   Requires Customize > Global > Container set to
   "Full Width / Stretched" with Content Width "Full Width",
   which gives the body the .ast-page-builder-template class.
   Scoped to that class so ordinary blog posts keep their
   normal boxed container.
   ------------------------------------------------------------ */
.ast-page-builder-template .site-content > .ast-container,
.ast-page-builder-template .site-content .ast-container {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}
.ast-page-builder-template .site-content { padding: 0; }
.ast-page-builder-template .entry-content { margin-top: 0; }
.ast-page-builder-template .entry-content > *:first-child { margin-top: 0; }

/* Elementor sometimes constrains its own section container */
.elementor-section-boxed > .elementor-container { max-width: 100%; }
.elementor-widget-html .elementor-widget-container { padding: 0; }

/* ------------------------------------------------------------
   Astra's own header and footer are replaced in the templates,
   so hide anything the theme still prints.
   ------------------------------------------------------------ */
.site-header,
.ast-above-header,
.ast-below-header,
#masthead,
.site-footer,
#colophon { display: none !important; }

/* ------------------------------------------------------------
   Body defaults. The header and footer templates load
   Newsreader and Inter.
   ------------------------------------------------------------ */
body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	background: var(--aq-porcelain);
	color: var(--aq-ink);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 { font-family: 'Newsreader', Georgia, serif; font-weight: 400; }

/* ------------------------------------------------------------
   Anchor clearance under the fixed header, and the scroll to
   top button lifted clear of the WhatsApp float.
   ------------------------------------------------------------ */
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 130px; }
@media (max-width: 760px) { [id] { scroll-margin-top: 110px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

#ast-scroll-top { bottom: 92px !important; }
@media (max-width: 600px) { #ast-scroll-top { bottom: 78px !important; } }

/* ------------------------------------------------------------
   Print: drop the navigation chrome.
   ------------------------------------------------------------ */
@media print {
	.aqh, .aqf, .aq-wa-float, #ast-scroll-top { display: none !important; }
	body { background: #fff; }
}
