/*
Theme Name: Dr. Sumaiya NutriCare
Theme URI: https://drsumaiya.com
Author: Dr. Sumaiya NutriCare Clinic & Antigravity
Author URI: https://drsumaiya.com
Description: Bespoke, zero-dependency, ultra-fast clinical WordPress theme engineered for Google Core Web Vitals (100/100), medical E-E-A-T authority, and high patient consultation conversion.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: drsumaiya-nutricare
*/

/* CSS Reset & Variables */
:root {
  --ds-red-primary: #b5121b;
  --ds-red-dark: #800c12;
  --ds-red-light: #fef2f2;
  --ds-red-border: #fecaca;
  --ds-text-dark: #1f2937;
  --ds-text-body: #334155;
  --ds-text-muted: #64748b;
  --ds-bg-white: #ffffff;
  --ds-bg-card: #f8fafc;
  --ds-bg-alt: #f1f5f9;
  --ds-border-light: #e2e8f0;
  --ds-font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  --ds-max-width: 1440px;
  --ds-article-width: 760px;
  --ds-header-height: 84px;
}

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

html {
  font-family: var(--ds-font-stack);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  color: var(--ds-text-body);
  background-color: var(--ds-bg-white);
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

@supports not (overflow-x: clip) {
  html {
    overflow-x: hidden;
  }
}

body {
  margin: 0;
  padding: 0;
  font-size: 16px;
  background-color: var(--ds-bg-white);
  color: var(--ds-text-body);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

@supports not (overflow-x: clip) {
  body {
    overflow-x: hidden;
  }
}

a {
  color: var(--ds-red-primary);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover, a:focus {
  color: var(--ds-red-dark);
}

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

.site-main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

@supports not (overflow-x: clip) {
  .site-main {
    overflow-x: hidden;
  }
}

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

.screen-reader-text:focus {
  background-color: #fff;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

