/* 
  Global Styles & Variables
  Dr. Mədinə Bağırova - Medical Clinic
*/

:root {
  /* Color Palette */
  --color-base: #FFFFFF; /* Pure White */
  --color-off-white: #F8FAFC; /* Light Slate/Cream */
  --color-blush: #E2E8F0; /* Soft Slate for soft accents */
  --color-text-main: #0A192F; /* Deep Navy Blue */
  --color-text-secondary: #334155; /* Slate Gray */
  --color-text-light: #64748b; 
  --color-accent: #14B8A6; /* Mint Green / Teal */
  
  /* Typography */
  --font-primary: 'Montserrat', sans-serif;
  
  /* Spacing & Borders */
  --border-radius-soft: 24px;
  --border-radius-pill: 50px;
  --shadow-soft: 0 10px 40px rgba(30, 57, 50, 0.05);
  --shadow-hover: 0 15px 50px rgba(30, 57, 50, 0.08);
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body {
  font-family: var(--font-primary);
  background-color: var(--color-base);
  color: var(--color-text-main);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  color: var(--color-text-main);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

h1 {
  font-weight: 700;
  letter-spacing: -0.5px;
}

a {
  color: var(--color-text-main);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--color-accent);
}

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

/* Base Layout Classes */
.section-padding {
  padding: 100px 0;
}

.bg-off-white {
  background-color: var(--color-off-white);
}

.bg-blush {
  background-color: var(--color-blush);
}

.text-accent {
  color: var(--color-accent);
}

.text-secondary-color {
  color: var(--color-text-secondary);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  font-weight: 400;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-title-wrapper {
  text-align: center;
  margin-bottom: 4rem;
}

/* Blog Single Content Typography (Block Editor Support) */
.article-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.article-content p {
  margin-bottom: 1.5rem;
}

.article-content h1, 
.article-content h2, 
.article-content h3, 
.article-content h4, 
.article-content h5, 
.article-content h6 {
  color: var(--color-text-main);
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.article-content h1 { font-size: 2.25rem; }
.article-content h2 { font-size: 1.875rem; }
.article-content h3 { font-size: 1.5rem; }
.article-content h4 { font-size: 1.25rem; }

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  margin: 2rem 0;
  box-shadow: var(--shadow-soft);
}

.article-content blockquote {
  border-left: 4px solid var(--color-accent);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  background-color: var(--color-off-white);
  border-radius: 0 16px 16px 0;
  font-style: italic;
  color: var(--color-text-main);
  font-size: 1.15rem;
}

.article-content blockquote p:last-child {
  margin-bottom: 0;
}

.article-content ul, 
.article-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.article-content a:hover {
  color: var(--color-text-main);
}

.article-content table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
}

.article-content th, 
.article-content td {
  padding: 1rem;
  border: 1px solid rgba(0,0,0,0.1);
}

.article-content th {
  background-color: var(--color-off-white);
  font-weight: 600;
  color: var(--color-text-main);
}
