@media (max-width: 768px) {

    .program-hero {
        height: auto;
        padding: 60px 20px 50px;
        display: block;
        margin-top: -60px !important;
        padding-top: calc(60px + 50px) !important;
    }

    .program-hero-title {
        font-size: clamp(2rem, 7vw, 2.5rem);
        line-height: 1.1;
        margin-bottom: 16px;
        white-space: normal;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    
    .program-hero-title .title-blue {
        display: block;
        font-size: 2.3rem;
        margin-top: 4px;
    }

    .program-hero-subtitle {
        font-size: clamp(1rem, 3vw, 1.2rem);
        margin-bottom: 16px;
        padding: 0 10px;
    }

    .program-content {
        margin-top: 0 !important;
        padding-top: 20px;
    }
}

@media (max-width: 480px) {
    
    .program-hero-title {
        font-size: clamp(1.8rem, 7vw, 2.4rem);
        line-height: 1.1;
    }

    .program-hero{
        padding: 50px 15px 40px;
    }
    
  .prog-search__hit,
  .prog-search__nohit{
    padding: 12px 14px;
    border-radius: 10px;
  }
}

@media (max-width: 400px) {

    /* Sections */
    .program-hero {
        padding: 60px 20px 50px;
        height: auto;
        min-height: auto;
    }
}

@media (max-width: 360px) {
    .program-hero-title {
        font-size: 1.7rem;
    }
}

/* Landscape Mobile Phones */
@media (max-height: 500px) and (orientation: landscape) {
    .program-hero {
        padding: 40px 20px;
        height: auto;
        min-height: auto;
    }

    .program-hero-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .program-hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
}

@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .program-hero-title {
        font-weight: 800;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}