/* Hero buttons + note for the IPD Ward, Multi Speciality and Queue Management pages.
   Same look as the Hospital Management Software hero (.ban-button / .banner-note in Softwares/hospital_software.php,
   whose styles are inline in that page), at every breakpoint. Scoped to .sw-hero-btns / .sw-hero-note. */

.sw-hero-btns { margin-top: 40px; }
.sw-hero-btns a {
    background: #ED3E48;
    padding: 15px 28px;
    border: none;
    color: #ffffff !important;
    font-weight: 500;
    text-decoration: none;
    font-family: "Poppins", sans-serif !important;
    font-size: 16px;
    border-radius: 7px;
}
.sw-hero-btns a + a { margin-left: 10px; }
.sw-hero-btns a:hover { background: #D92F3A; text-decoration: none; }

p.sw-hero-note {
    display: block !important;
    width: 100%;
    font-family: "Poppins", sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #373030 !important;
    margin: 25px 0 0 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
}

@media (max-width: 991px) {
    .sw-hero-btns {
        margin-top: 15px;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    /* Centred like the Hospital hero wherever the hero text is centred (IPD / Multi Speciality from 991px). */
    .mss-hero .sw-hero-btns { justify-content: center; }
    .sw-hero-btns a {
        font-size: 14px;
        padding: 9px 15px;
        white-space: nowrap;
    }
    .sw-hero-btns a + a { margin-left: 0; }
    p.sw-hero-note { font-size: 11px !important; margin-top: 15px !important; }
}

@media (max-width: 767px) {
    /* Queue page: its buttons were already centred on phones, with a 22px gap above the image. */
    .qms-hero .sw-hero-btns { justify-content: center; }
    .qms-hero p.sw-hero-note { text-align: center; margin-bottom: 22px !important; }
}

@media (min-width: 501px) and (max-width: 767px) {
    .sw-hero-btns a { font-size: 16px; display: inline-block; margin-top: 5px; background: rgba(241, 58, 69, 1); }
    .sw-hero-btns a:hover { background: #D92F3A; }
}

@media (max-width: 500px) {
    .sw-hero-btns a { font-size: 13px; padding: 8px 12px; }
}
