/* GRMT Hero Banner */



.container-banner {
    background-attachment: scroll;
  
}

.container-banner .banner-overlay .overlay {
    background-color: rgba(0, 0, 0, 0) !important;
}

.container-banner .banner-overlay {
    height: 40vh;
    min-height: 0 !important;
}

.container-banner .banner-overlay .overlay {
    padding: 2rem;
}

.container-banner .banner-overlay h1 {
    font-size: 2.8rem;
    line-height: 1.15;
    margin-bottom: 0.5rem;
}

.container-banner .banner-overlay p {
    font-size: 1.3rem;
    margin: 0;
}

.container-banner .banner-overlay h1,
.container-banner .banner-overlay p {
    max-width: 900px;
}

@media (max-width: 767px) {
    .container-banner .banner-overlay {
        height: 300px !important;
        min-height: 0 !important;
    }

    .container-banner .banner-overlay h1 {
        font-size: 2rem;
    }

    .container-banner .banner-overlay p {
        font-size: 1.1rem;
    }
}
@media screen and (height <= 740px) {
    .container-banner .banner-overlay {
        height: 30vh !important;
    }
}

/* GRMT hero - sticky at top */
.container-banner {
    position: sticky;
    top: 60px;
    z-index: 1000;
}

.overlay {
  height: 60px;
}


/* Make header font sixe smaller - one step , see: https://forum.joomla.org/viewtopic.php?f=815&t=997387 */

h1, .h1 {
  font-size: calc(1.325rem + 0.9vw);
}
@media (min-width: 1200px) {
  h1, .h1 {
    font-size: 2rem;
  }
}

h2, .h2 {
  font-size: calc(1.3rem + 0.6vw);
}
@media (min-width: 1200px) {
  h2, .h2 {
    font-size: 1.75rem;
  }
}

h3, .h3 {
  font-size: calc(1.275rem + 0.3vw);
}
@media (min-width: 1200px) {
  h3, .h3 {
    font-size: 1.5rem;
  }
}

h4, .h4 {
  font-size: 1.25rem;
}

h5, .h5 {
  font-size: 1rem;
}

h6, .h6 {
  font-size: 1rem;
}

/*Landing page boxes */
.grmt-home-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 40px 0;
}

.grmt-home-box {
    display: flex;
    flex-direction: column;
    justify-content: top;
    min-height: 190px;
    padding: 25px;
    text-decoration: none;
    border: 1px solid #ddd;
    background: #E6E2D3;
    transition: all 0.25s ease;
}

.grmt-home-box:hover {
    transform: translateY(-3px);
}

.grmt-home-box h2 {
    margin: 0 0 12px;
}

.grmt-home-box p {
    margin: 0 0 20px;
}

.grmt-home-box span {
    font-size: 0.85em;
    letter-spacing: 1px;
}

@media (max-width: 900px) {
    .grmt-home-boxes {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grmt-home-boxes {
        grid-template-columns: 1fr;
    }
}
