/*
 * Typography aligned with the RECS Market Meeting site (recsmarket.eu):
 * Inter (loaded from Google Fonts in inc/assets.php) replaces SpeakPro.
 * Loaded after dist/style.css; heading and menu sizes stay as they are.
 */

body,
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.btn, .hs-submit,
.sidebar-tabs .nav-tabs .nav-link {
  font-family: "Inter", verdana, sans-serif;
}

body {
  line-height: 1.5;
}

.btn, .hs-submit {
  font-weight: 800;
}

/*
 * Main menu: Inter is wider than SpeakPro, so on laptop screens the links get less
 * spacing (and 14px below 1150px) to stay on one line next to the search and buttons.
 */
@media (min-width: 1024px) {
  body #masthead .nav-area .top-wrapper #drawer .menu > li { flex-shrink: 0; }
  body #masthead .nav-area .top-wrapper #drawer .menu > li.menu-item > .nav-link { white-space: nowrap; display: flex; align-items: center; column-gap: 4px; }
  body #masthead .nav-area .top-wrapper #drawer .menu > li.menu-item > .nav-link::after { flex-shrink: 0; }
}
@media (min-width: 1024px) and (max-width: 1439px) {
  body #masthead .nav-area .top-wrapper #drawer .menu > li.menu-item > .nav-link { padding: 0 8px; }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  body #masthead .nav-area .top-wrapper #drawer .menu > li.menu-item > .nav-link { padding: 0 6px; }
}
@media (min-width: 1024px) and (max-width: 1149px) {
  body #masthead .nav-area .top-wrapper #drawer .menu > li.menu-item > .nav-link { font-size: 14px; padding: 0 6px; }
}

/*
 * Homepage hero: the text block sits lower (56px from the bottom instead of 112px), so a title
 * that runs to three lines with Inter still clears the menu.
 */
@media (min-width: 768px) {
  .jumbo .msg { bottom: 56px; }
}
