/*
 * Stage10U Global Compact Styles
 *
 * The goal of this stylesheet is to gently reduce the overall scale of
 * typography and form controls across the site. This helps prevent
 * oversized headings and inputs on large monitors while still retaining
 * readability on mobile. Sizes are scaled down by roughly 15–20% from
 * their defaults. Feel free to tweak individual selectors as needed.
 */

/* Reduce base font size for the entire site. Most elements inherit
   their font-size from the root element, so decreasing the body font
   cascades naturally. */
body {
  font-size: 90%;
}

/* Headings: lower the scale slightly to avoid dominating the layout. */
h1 {
  font-size: 1.9em;
  line-height: 1.2;
}

h2 {
  font-size: 1.6em;
  line-height: 1.25;
}

h3 {
  font-size: 1.3em;
  line-height: 1.3;
}

h4, h5, h6 {
  font-size: 1.1em;
  line-height: 1.3;
}

/* Paragraph text benefits from slightly tighter line height when scaled.
   This prevents sparse layouts after reducing the font size. */
p {
  font-size: 0.95em;
  line-height: 1.4;
}

/* Inputs, buttons and form elements: scale the font size and padding
   consistently so forms feel balanced relative to other content. */
input,
textarea,
select,
button {
  font-size: 0.95em;
  padding: 0.5em 0.75em;
}

/* Reduce the size of labels and helper text within forms. */
label,
small,
.form-text {
  font-size: 0.85em;
}

/* Lists: adjust spacing to suit the reduced font sizes. */
ul,
ol {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  padding-left: 1.2em;
  font-size: 0.95em;
  line-height: 1.4;
}

/* Navigation and action buttons: shrink font sizes and padding to
   harmonise with the new scale. */
nav ul li a,
.btn,
.action-item,
.drr-hero-action {
  font-size: 0.95em;
  padding: 0.4em 0.9em;
}

/* Card components: scale down headings within cards so they better
   match the condensed layout. */
.cat-card-v2 h3,
.drr-home-service span,
.drr-audience-card h3 {
  font-size: 1.1em;
}

/* Ensure that icon sizes within feature rows remain proportional to
   accompanying text when both are scaled down. */
.hero-v2 i,
.drr-home-service i,
.feature-icon i,
.top-bar i {
  font-size: 0.9em;
}

/* Tables: reduce the table text and cell padding for a tighter look. */
table {
  font-size: 0.9em;
}
table th,
table td {
  padding: 0.4em 0.6em;
}