/*
Theme Name: Neve Child
Template: neve
Version: 1.0
*/

:root {
    --primary-cover-color: #e3d28f;
    --doctor-text-color: #CCBD7D;
}
/* Single Doctors Page */
.doctor-container {
    width: min(75rem, 90%);
    margin: auto;
}

/* HERO */

.doctor-hero {
    background: var(--primary-cover-color);
    color: #fff;
    padding: 5rem 0;
}

.doctor-hero h1 {

    margin-bottom: 1.25rem;
    font-size: 3.5rem;
    line-height: 1.2;
}

.doctor-phone {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
}

.doctor-phone img {
    width: 1.625rem;
    height: 1.625rem;
    filter: brightness(0) invert(1);
}

/* SINGLE DOCTOR PAGE - MAIN DOCTOR */

.doctor-main {
    padding: 5rem 0;
}


.doctor-grid {
    display: grid;
    grid-template-columns: 31.25rem 1fr;
    gap: 3.75rem;
    align-items: center;
}

.doctor-image img {
    width: 100%;
    border-radius: 1.5rem;
    filter: drop-shadow(1rem -1rem 0rem var(--primary-cover-color))
}
.doctor-info{
    margin-bottom: 3.5rem;
}
.doctor-meta {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.875rem;
}

.meta-box {
    background: #f5f8ff;
    border-radius: 1rem;
    padding: 1.25rem;
    min-width: 13.75rem;
    display:flex;
    flex-direction: row;
}

.meta-box p {
    font-weight: bold;
    margin-bottom: 0rem;
}

.meta-box strong {
    color: var(--primary-cover-color);
}

.doctor-description {
    font-size: 1.25rem;
    line-height: 2;
    background: #f5f8ff; 
    border-radius: 0.5rem; 
    padding: 1rem; 
}

.doctor-description p { 
    margin-bottom: 0rem;
}

/* FEATURES */

.doctor-features {
    padding-bottom: 5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5625rem;
}

.feature-card {
    background: #fff;
    padding: 1.875rem;
    border-radius: 1.25rem;
    text-align: center;
    box-shadow: 0 0.3125rem 1.5625rem rgba(0, 0, 0, 0.06);
}

.feature-card img {
    height: 2rem;
    width: 2rem;
    margin-bottom: 0.5rem;
}

.feature-card h3 {
    color: var(--primary-cover-color);
    margin-bottom: 0.75rem;
}

@media (max-width: 61.9375rem) {

    .doctor-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .doctor-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 37.5rem) {

    .features-grid {
        grid-template-columns: 1fr;
    }

    .doctor-phone {
        font-size: 1.25rem;
    }

    .doctor-hero h1 {
        font-size: 2rem;
    }
}


/* Doctors page (Archive) */

.doctors-hero {
    background: var(--primary-cover-color);
    padding: 5rem 0;
   
}

.doctors-hero h1 {
    color: #fff;
    margin: 0;
}

.doctors-list {
    padding: 4rem 0;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.doctor-card {
    background: #fff;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 2rem rgba(0,0,0,0.08);
    max-height: 40rem;
}

.doctor-card-image img {
    width: 100%;
    height: 20rem;
    object-fit: cover;
    object-position: center top;
}

.doctor-card-content {
    padding: 0.5rem 1.5rem 1.5rem 1.5rem;
}

.doctor-card-content img {
    height: 2rem; 
    width: 2rem;
}

.doctor-card-content h2 {
    margin: 0 0 0.75rem;
   
}

.doctor-card-content h2 a {
    text-decoration: none;
    
}

.doctor-card-field {
    display: flex;
    gap: 1rem;
    height: 3rem;
}

.doctor-card-field img {
    height: 1.5rem;
    width: 1.5rem;
}

.doctor-card-button {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: var(--primary-cover-color);
    color: #fff;
    border-radius: 999rem;
    text-decoration: none;
}

.doctor-card-button:hover {
    color: gray;
}

@media (max-width: 62rem) {
    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 37.5rem) {
    .doctors-grid {
        grid-template-columns: 1fr;
    }
}

/* Doctors page pagination */
.doctors-pagination {
    margin-top: 3rem;
    text-align: center;
}

.doctors-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 4rem;
    height: 2.5rem;
    margin: 0 0.25rem;
    border-radius: 999rem;
    background: #fefefa;
    color: var(--doctor-text-color);
    text-decoration: none;
}

.doctors-pagination .current {
    background: var(--primary-cover-color);
    color: #fff;
}

@media (max-width: 37.5rem) {
    .doctor-hero,
    .doctors-hero {
        text-align: center;
    }

    .doctor-phone {
        justify-content: center;
    }

    .doctor-meta {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Home Doctors */
.doctor-carousel {
    width: min(92rem, 92%);
    margin: auto;
    padding: 3rem 0 4rem;
}

.doctor-slide a {
    text-decoration: none;
    display: block;
}

.doctor-img {
    height: 25rem;
    overflow: hidden;
}

.doctor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.doctor-name {
    width: 80%;
    margin: -3.2rem auto 0;
    position: relative;
    z-index: 2;
    background: #CCBD7D;
    color: white;
    text-align: center;
    padding: 1.4rem 1rem;
    border-radius: 0.5rem;
}

.doctor-name h3 {
    margin: 0;
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
}

.doctor-department {
    margin-top: 0.5rem;
    color: rgba(255,255,255,.9);
    font-size: 1rem;
    font-weight: 700;
}

.doctor-dots {
    margin-top: 3rem;
    position: relative !important;
}

.doctor-dots .swiper-pagination-bullet {
    width: 2.5rem;
    height: 0.25rem;
    border-radius: 999px;
    background: #d9d9d9;
    opacity: 1;
    margin: 0 0.4rem !important;
}

.doctor-dots .swiper-pagination-bullet-active {
    background: #CCBD7D;
    width: 3.5rem;
}