/* Mobile & tablet responsive fixes for index page */

@media (max-width: 991px) {
  .top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    padding: 6px 12px;
    font-size: 11px;
    line-height: 1.4;
  }

  .top-bar__content {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4px 14px;
  }

  .top-bar-content {
    padding: 0 !important;
    white-space: nowrap;
  }

  .rd-navbar-fixed .rd-navbar-panel {
    top: 52px;
  }

  html.rd-navbar-fixed-linked body {
    padding-top: 108px;
  }

  .rd-navbar-fixed .rd-navbar-brand img {
    height: 36px;
    width: auto;
  }

  .rd-navbar-fixed .log {
    top: 61px;
    font-size: 12px;
    padding: 5px 14px;
  }
}

@media (max-width: 575px) {
  .top-bar-content:nth-child(3),
  .top-bar-content:nth-child(4) {
    display: none;
  }

  html.rd-navbar-fixed-linked body {
    padding-top: 96px;
  }

  .rd-navbar-fixed .rd-navbar-panel {
    top: 40px;
  }

  .rd-navbar-fixed .log {
    top: 49px;
  }
}

@media (max-width: 767px) {
  .h1-50 {
    font-size: 24px !important;
    line-height: 1.35 !important;
  }

  .page-header .header {
    padding-top: 24px;
    padding-bottom: 40px;
  }

  .page-header .header h1 .heading-3 {
    display: block;
    font-size: 16px !important;
    line-height: 1.4 !important;
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.95) !important;
  }

  .page-header .header p.inset-1 {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 16px;
  }

  .page-header .header .btn-group {
    transform: none;
    margin: 20px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .page-header .header .btn-group > .btn {
    margin: 0;
    width: 100%;
    max-width: 280px;
  }

  h1, .heading-1 {
    font-size: 28px;
    line-height: 1.3;
  }

  h2, .heading-2 {
    font-size: 24px;
    line-height: 1.3;
  }

  h2 > .heading-3,
  .heading-2 > .heading-3 {
    display: block;
    font-size: 18px;
    line-height: 1.4;
    margin-top: 6px;
  }

  h3, .heading-3 {
    font-size: 20px;
  }

  .well {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .well .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .image-wrap img {
    max-width: 100%;
    height: auto;
  }

  .image-wrap-right,
  .image-wrap-left {
    margin-top: 24px;
  }
}

@media (min-width: 576px) and (max-width: 767px) {
  .h1-50 {
    font-size: 30px !important;
  }

  .page-header .header h1 .heading-3 {
    font-size: 18px !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .h1-50 {
    font-size: 38px !important;
  }

  .page-header .header h1 .heading-3 {
    font-size: 22px !important;
  }
}
