/* =========================================================
   RESUME PLUS — READABILITY & TYPOGRAPHY IMPROVEMENTS
   Loaded after all page stylesheets.
========================================================= */
html { font-size: 16px; }
body { font-size: 16px; line-height: 1.9; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* Main reading content */
p, .muted, .lead, .blog-article p, .project-article p,
.project-article li, .sidebar-cta p, .feature-grid p, .blog-content p {
  font-size: max(15.5px, 1rem) !important;
  line-height: 1.95;
}

h1 { line-height: 1.35; }
h2 { line-height: 1.45; }
h3, h4 { line-height: 1.55; }

/* Small labels, dates, metadata and supporting information */
small, .article-meta, .article-share, .blog-content small,
.blog-sidebar > a, .sidebar-cta p, .resume-skills div,
.resume-download p, .project-facts small, .project-facts strong,
.timeline-item > small, .consult-bars div, .consult-panel-head,
.consult-insight span, .hero-kicker, .photo-vertical-label, .copyright {
  font-size: max(13px, .84rem) !important;
  line-height: 1.8;
}

/* Common navigation and interactive controls */
.nav a, .header-actions a, .header-actions button, .btn,
button, input, select, textarea, .filter-row button, .language-toggle {
  font-size: max(14px, .9rem);
}
.btn { line-height: 1.5; }
input, select, textarea { min-height: 44px; }
button, .btn { min-height: 42px; }

/* Cards and information blocks */
.feature-grid b, .feature-grid h3, .blog-content h3,
.resume-aside h3, .project-facts h3, .content-card h3 {
  line-height: 1.6;
}
.blog-content p, .feature-grid p, .project-article p,
.project-article li { line-height: 1.95; }

/* Decorative and compact labels */
.badge, .tag, .category-label, .skill-label, .stat-label,
.service-card > span, .portfolio-card small, .portfolio-meta,
.testimonial-role, .testimonial-card small {
  font-size: max(12.5px, .8rem) !important;
  line-height: 1.7;
}

table, th, td, .timeline-item, .resume-skills,
.project-facts, .contact-info, .form-group label {
  font-size: max(14px, .9rem);
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  p, .muted, .lead, .blog-article p,
  .project-article p, .project-article li {
    font-size: 15.5px !important;
  }
  small, .article-meta, .blog-content small,
  .timeline-item > small, .project-facts small {
    font-size: 13px !important;
  }
  .nav a { font-size: 15px; }
}
