/* V39 - increase typography 5% again from V38 balanced readable scale.
   Final target: clearer reading while keeping compact production layout. */
:root {
  --gm-v39-font-scale-note: "Typography increased 5 percent again from V38";
}

html {
  font-size: 97% !important; /* V38 was 92%; 92 * 1.05 = 96.6 */
}

body.gm-body {
  font-size: clamp(0.99rem, 0.95rem + 0.21vw, 1.13rem) !important;
  line-height: 1.64 !important;
}

.gm-brand { font-size: 1.03em !important; }
.gm-brand-text strong { font-size: 1.1em !important; }
.gm-brand-text small { font-size: 0.84em !important; }

.gm-menu-item > .nav-link,
.gm-lang-btn,
.gm-account-btn {
  font-size: 0.94em !important;
  padding: 0.66em 0.84em !important;
}

.gm-dropdown .dropdown-item {
  font-size: 0.97em !important;
  padding: 0.62em 0.84em !important;
}

.gm-header-actions,
.gm-card-meta,
.gm-muted,
.gm-footer-bottom,
.gm-field-hint {
  font-size: 0.97em !important;
}

.gm-hero { min-height: 21em !important; padding: 3.1em max(1em, 3.5vw) !important; }
.gm-hero h1 { font-size: clamp(1.87rem, 1.26rem + 2.45vw, 4.04rem) !important; }
.gm-hero p { font-size: clamp(1.03rem, 0.98rem + 0.25vw, 1.21rem) !important; }

.gm-section-title h2,
.gm-page-head h1 {
  font-size: clamp(1.58rem, 1.18rem + 1.26vw, 2.71rem) !important;
}

.gm-section-title p,
.gm-page-head p,
.gm-card p,
.gm-richtext,
.gm-detail-body,
.gm-contact-card,
.gm-rating-panel {
  font-size: 1.04em !important;
}

.gm-card h3 { font-size: 1.15em !important; line-height: 1.3 !important; }
.gm-card-body { padding: 1.1em !important; }

.gm-primary-btn,
.gm-outline-btn,
.gm-link-btn,
.gm-share-row a,
.gm-share-row button {
  font-size: 0.98em !important;
  padding: 0.66em 1.05em !important;
}

.gm-detail h1 { font-size: clamp(1.73rem, 1.24rem + 1.73vw, 2.78rem) !important; }
.gm-detail-body { padding: clamp(1.2em, 2.5vw, 2.1em) !important; }
.gm-richtext p,
.gm-richtext li,
.gm-richtext td,
.gm-richtext th {
  font-size: 1.1em !important;
  line-height: 1.68 !important;
}
.gm-richtext h1 { font-size: 2em !important; }
.gm-richtext h2 { font-size: 1.68em !important; }
.gm-richtext h3 { font-size: 1.42em !important; }
.gm-richtext h4 { font-size: 1.22em !important; }

.gm-stat strong { font-size: 1.87em !important; }
.gm-footer { font-size: 1.04em !important; padding: 2.7em 0 1.2em !important; }
.gm-footer-brand { font-size: 1.18em !important; }

/* Admin panel 5% increase from V38 while preserving table/form density */
body.gm-admin-body {
  font-size: clamp(0.95rem, 0.90rem + 0.17vw, 1.06rem) !important;
  line-height: 1.57 !important;
}

.gm-admin-brand,
.gm-admin-nav a,
.gm-admin-topbar strong,
.gm-admin-page-head p,
.gm-admin-form label,
.gm-admin-table,
.gm-admin-help,
.gm-admin-btn,
.gm-admin-primary-btn,
.gm-admin-danger-btn,
.gm-admin-warning-btn,
.gm-admin-filter input,
.gm-admin-filter select,
.gm-admin-form .form-control,
.gm-admin-form .form-select,
.gm-field-hint,
.gm-auto-field-hint {
  font-size: 1.03em !important;
}

.gm-admin-page-head h1 { font-size: clamp(1.47rem, 1.16rem + 1.05vw, 2.47rem) !important; }
.gm-admin-card,
.gm-admin-form,
.gm-admin-table,
.gm-admin-stat,
.gm-admin-doc-card,
.gm-admin-guide-card { padding: 1.05rem !important; }
.gm-admin-main { padding: 1.32rem !important; }
.gm-admin-nav-title,
.gm-admin-eyebrow,
.gm-admin-badge { font-size: 0.82em !important; }
.gm-admin-stat strong { font-size: 1.87rem !important; }

@media (max-width: 640px) {
  body.gm-body { font-size: 1rem !important; }
  body.gm-admin-body { font-size: 0.97rem !important; }
  .gm-hero h1 { font-size: 1.74rem !important; }
  .gm-section-title h2,
  .gm-page-head h1 { font-size: 1.51rem !important; }
}


/* V135 mobile non-sticky header */
@media (max-width:767.98px){
header,.top-header,.main-header,.navbar,.navbar-wrapper,.sticky-top,.fixed-top,.gm-header,.gm-navbar{
position:static !important;
top:auto !important;
}
body{padding-top:0!important;}
html{scroll-padding-top:0!important;}
}
