

@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
    font-family: "Figtree", sans-serif;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #000;
}

.medicine-pagelist{
   margin: 50px 0px;
}

/* .container {
    max-width: 94%;
    margin: 20px auto;
    padding: 20px;
} */

.breadcrumb a{
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    text-decoration: none;
}

.breadcrumb  {
    text-decoration: none;
    color: #0079cd;
}

.title {
    text-align: center;
    /* font-size: 28px; */
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 40px;
    padding: 20px 0;
}

.subtitle {
    /* padding-left: 50px; */
    color: #555;
    margin-bottom: 20px;
    font-weight: 600;
    padding: 20px 0;
    font-size: 20px;
    font-weight: 600;
}

.medi-pagination span {
    font-size: 14px;
    margin-top: 6px;
    padding: 0 5px 0 0;
}

.medi-pagination button{
        margin: 0 10px;    
}


.alphabet-buttons {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 30px;
    margin: 20px 0;
    text-align: center;
   /*  justify-items: center; */
}

.alphabet-buttons a {
    background: #007b8f;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    line-height: 60px;
    font-size: 26px;
    text-decoration: none;
    transition: background 0.3s ease;
}

/* .alphabet-buttons a:hover {
    background: #005f6e;
}

.alphabet-buttons a.active {
    border: 2px solid black;
} */

.alphabet-buttons a:hover,
.alphabet-buttons a.active {
    background: #fff;
    border: 2px solid #007C9D;
    color: #007C9D;
    line-height: 56px;
}

.medicine-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: left !important;
    padding: 30px 0px !important;
    font-size: 22px;
    line-height: 44px;
}
.medicine-list ul {
    list-style: none;
    padding: 0;
    flex: 1 1 calc(50% - 20px);
}

.medicine-list ul li {
    margin-bottom: 10px;
}

.medi-pagination {
    text-align: center !important;
}

.medi-pagination button {
    background: #007b8f;
    color: white;
    border: none;
    padding: 10px 30px;
    font-size: 18px;
    cursor: pointer;
    border-radius: 25px;
    transition: background 0.3s ease;
}
span.arrow-sl {
    font-size: 11px;
    padding: 0 5px;
    color: #000;
}
.breadcrumb a {
    color: #007C9D;
}
.breadcrumb{color:#000; font-size: 14px;}
.medi-pagination button:hover {
    background: #005f6e;
}

@media (max-width: 768px) {
    .title {
        font-size: 24px;
        margin: 20px;
        padding: 10px 0;
        margin-bottom: 10px;
    }

    .subtitle{
        padding-left: 0px;
    }
    .alphabet-buttons {
        grid-template-columns: repeat(5, 1fr);
        justify-items: start;
        gap: 25px;
    }
    .medicine-list{padding: 30px 10px; line-height: 40px; font-size: 20px;}
    .medicine-list ul {
        flex: 1 1 100%;
        margin-bottom: 0;
    }

    .alphabet-buttons a {
        background: #007b8f;
        color: white;
        border-radius: 50%;
        width: 45px;
        height: 45px;
        line-height: 60px;
        text-align: center;
        line-height: 45px;
        font-size: 20px;
        text-decoration: none;
        transition: background 0.3s ease;
    }
    .alphabet-buttons a:hover, .alphabet-buttons a.active{line-height:40px !important;}
    .medicine-list {
        grid-template-columns: 1fr; 
        gap: 0px;                 
        justify-items: start;
      }

      .medi-pagination{
        text-align: left !important;
      }
}