/* =========================================================
   PMG SAFE FIX ONLY
   Remove broken wide rules and keep layout normal
========================================================= */

/* Main container */
.g-container {
  width: 100% !important;
  max-width: 1300px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
  padding-bottom: 20px !important;
  box-sizing: border-box !important;
}

/* DO NOT force grid on desktop */
.g-grid,
.g-block,
.g-content {
  box-sizing: border-box !important;
}

/* Restore top/header normal */
#g-top,
#g-navigation,
#g-header {
  height: auto !important;
  min-height: 0 !important;
}

#g-top .g-container,
#g-navigation .g-container,
#g-header .g-container {
  max-width: 1300px !important;
  padding-left: 0px !important;
  padding-right: 0px !important;
  padding-bottom: 0 !important;
}

/* =========================================================
   TITLE LINE FIX ONLY
========================================================= */

.g-title,
h1.g-title,
h2.g-title,
h3.g-title,
.module-title {
  position: relative !important;
  padding-bottom: 14px !important;
  margin-bottom: 25px !important;
  border-bottom: 1px solid #e5e5e5 !important;
}

.g-title:before,
h1.g-title:before,
h2.g-title:before,
h3.g-title:before,
.module-title:before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  bottom: -1px !important;
  width: 60px !important;
  height: 1px !important;
  background: #c51f7d !important;
  display: block !important;
}

.g-title:after {
  display: none !important;
  content: none !important;
}

/* Utility section spacing */
#g-utility {
  padding: 1rem 0 !important;
}

/* =========================================================
   DESKTOP CARDS: 3 BESIDE EACH OTHER
========================================================= */

@media (min-width: 1025px) {
  #g-main .g-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
  }

  #g-main .g-block {
    flex: 0 0 33.333% !important;
    max-width: 33.333% !important;
    width: 33.333% !important;
    box-sizing: border-box !important;
  }

  #g-main .g-content {
    height: 100% !important;
    box-sizing: border-box !important;
  }
}

/* =========================================================
   TABLET CARDS: 2 BESIDE EACH OTHER
========================================================= */

@media (min-width: 768px) and (max-width: 1024px) {
  #g-main .g-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: stretch !important;
  }

  #g-main .g-block {
    flex: 0 0 50% !important;
    max-width: 50% !important;
    width: 50% !important;
    box-sizing: border-box !important;
  }
}

/* =========================================================
   MOBILE FIX
========================================================= */

@media (max-width: 767px) {
 
  .g-container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
    padding-bottom: 20px !important;
    box-sizing: border-box !important;
  }

  .g-title:before,
  h1.g-title:before,
  h2.g-title:before,
  h3.g-title:before,
  .module-title:before {
    width: 60px !important;
  }