/* V38 - increase site typography by 15% from V37 compact scale.
   Keeps professional consistency with em/rem/clamp, without returning to oversized V36 values. */
:root {
  --gm-v38-font-scale-note: "Typography increased 15 percent from V37 compact scale";
}

html {
  font-size: 92% !important; /* V37 was 80%; 80 * 1.15 = 92 */
}

body.gm-body {
  font-size: clamp(0.94rem, 0.90rem + 0.20vw, 1.08rem) !important;
  line-height: 1.62 !important;
}

.gm-brand { font-size: 1em !important; }
.gm-brand-text strong { font-size: 1.08em !important; }
.gm-brand-text small { font-size: 0.82em !important; }

.gm-menu-item > .nav-link,
.gm-lang-btn,
.gm-account-btn {
  font-size: 0.9em !important;
  padding: 0.64em 0.82em !important;
}

.gm-dropdown .dropdown-item {
  font-size: 0.94em !important;
  padding: 0.6em 0.82em !important;
}

.gm-header-actions,
.gm-card-meta,
.gm-muted,
.gm-footer-bottom,
.gm-field-hint {
  font-size: 0.94em !important;
}

.gm-hero { min-height: 20em !important; padding: 3em max(1em, 3.5vw) !important; }
.gm-hero h1 { font-size: clamp(1.78rem, 1.20rem + 2.35vw, 3.85rem) !important; }
.gm-hero p { font-size: clamp(0.98rem, 0.94rem + 0.24vw, 1.15rem) !important; }

.gm-section-title h2,
.gm-page-head h1 {
  font-size: clamp(1.5rem, 1.12rem + 1.2vw, 2.58rem) !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: 1em !important;
}

.gm-card h3 { font-size: 1.1em !important; line-height: 1.28 !important; }
.gm-card-body { padding: 1.05em !important; }

.gm-primary-btn,
.gm-outline-btn,
.gm-link-btn,
.gm-share-row a,
.gm-share-row button {
  font-size: 0.94em !important;
  padding: 0.64em 1em !important;
}

.gm-detail h1 { font-size: clamp(1.65rem, 1.18rem + 1.65vw, 2.65rem) !important; }
.gm-detail-body { padding: clamp(1.15em, 2.4vw, 2em) !important; }
.gm-richtext p,
.gm-richtext li,
.gm-richtext td,
.gm-richtext th {
  font-size: 1.06em !important;
  line-height: 1.66 !important;
}
.gm-richtext h1 { font-size: 1.9em !important; }
.gm-richtext h2 { font-size: 1.6em !important; }
.gm-richtext h3 { font-size: 1.35em !important; }
.gm-richtext h4 { font-size: 1.16em !important; }

.gm-stat strong { font-size: 1.78em !important; }
.gm-footer { font-size: 1em !important; padding: 2.6em 0 1.15em !important; }
.gm-footer-brand { font-size: 1.12em !important; }

/* Admin panel 15% increase from V37 while keeping compact tables/forms */
body.gm-admin-body {
  font-size: clamp(0.90rem, 0.86rem + 0.16vw, 1.01rem) !important;
  line-height: 1.55 !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: 0.98em !important;
}

.gm-admin-page-head h1 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2.35rem) !important; }
.gm-admin-card,
.gm-admin-form,
.gm-admin-table,
.gm-admin-stat,
.gm-admin-doc-card,
.gm-admin-guide-card { padding: 1rem !important; }
.gm-admin-main { padding: 1.25rem !important; }
.gm-admin-nav-title,
.gm-admin-eyebrow,
.gm-admin-badge { font-size: 0.78em !important; }
.gm-admin-stat strong { font-size: 1.78rem !important; }

@media (max-width: 640px) {
  body.gm-body { font-size: 0.96rem !important; }
  body.gm-admin-body { font-size: 0.92rem !important; }
  .gm-hero h1 { font-size: 1.66rem !important; }
  .gm-section-title h2,
  .gm-page-head h1 { font-size: 1.44rem !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;}
}
