/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/
/*=========================================================================
   Doctor Profile Two-Column Layout
   ========================================================================== */
.doctor-profile {
  background: #fff;
  padding: 2rem 0px;
	margin-top:100px;
}

/* Flex row wrapper */
.doctor-profile .wd-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

/* Column base */
.doctor-profile .doctor-sidebar,
.doctor-profile .doctor-main {
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 2rem;
}

/* Two-column at medium+ */
@media (min-width: 768px) {
  .doctor-profile .doctor-sidebar {
    width: 33.3333%;
  }
  .doctor-profile .doctor-main {
    width: 66.6667%;
  }
}

/* Sidebar tweaks */
.doctor-sidebar .doctor-image img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1.5rem;
}
.doctor-specialties {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.doctor-specialties li {
  display: inline-block;
  background: #f5f5f5;
  padding: .25rem .75rem;
  margin: 0 .5rem .5rem 0;
  border-radius: 4px;
  font-size: .875rem;
}

/* ==========================================================================
   Doctor Profile Two-Column Layout
   ========================================================================== */
.doctor-profile {
  background: #fff;
  padding: 2rem 0;
}

/* Flex row wrapper */
.doctor-profile .wd-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

/* Column base */
.doctor-profile .doctor-sidebar,
.doctor-profile .doctor-main {
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
  width: 100%;
  margin-bottom: 2rem;
}

/* Two-column at medium+ */
@media (min-width: 768px) {
  .doctor-profile .doctor-sidebar {
    width: 33.3333%;
  }
  .doctor-profile .doctor-main {
    width: 66.6667%;
  }
}

/* Sidebar tweaks */
.doctor-sidebar .doctor-image img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1.5rem;
}
.doctor-specialties {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.doctor-specialties li {
  display: inline-block;
  background: #f5f5f5;
  padding: .25rem .75rem;
  margin: 0 .5rem .5rem 0;
  border-radius: 4px;
  font-size: .875rem;
}

/* Main column typography */
.doctor-main .entry-title{
  font-size: 2rem;
  margin-bottom: 1rem;
	color:#3967b2;
}
.doctor-main p {
  margin-bottom: .75rem;
  line-height: 1.6;
}
.doctor-main .doctor-excerpt {
  
  margin-bottom: 1.5rem;
}
.doctor-main .doctor-content {
  margin-top: 1.5rem;
}
.doctor-main a {
  color: #3967b2;
}
.doctor-main a:hover {
  text-decoration: none;
}
/* Grey box around contact info */
.doctor-contact-box {
  background: #f5f5f5;
  padding: 1.5rem;
  border-radius: 4px;
	margin-bottom:30px;
}

.doctor-contact-box p {
  margin: 0 0 .75rem;
  line-height: 1.6;
}

.doctor-contact-box p:last-child {
  margin-bottom: 0;
}
/* Filter buttons */
.doctor-filter a {
  display: inline-block;
  border-radius: 0.375rem;
  text-decoration: none;
}
.doctor-filter .bg-gray-100 { background: #f5f5f5; color: #333; }
.doctor-filter .bg-gray-800 { background: #333; color: #fff; }

/* Doctor cards */
.doctor-card p { margin-bottom: .5rem; }
.doctor-card a { color: inherit; text-decoration: none; }
.doctor-card a:hover { text-decoration: underline; }

/* --------------------------
   Filter bar — inline, pill-style
   -------------------------- */
/* Center filter pills */
.doctor-filter ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;    /* <-- center */
  list-style: none;
  padding: 0;
}
.doctor-filter li {
  margin: 0 .5rem .5rem 0;
}

.doctor-filter a {
  display: inline-block;
  padding: .5rem 1rem;
  border-radius: 9999px;
  background: #f5f5f5;
  color: #333;
  text-decoration: none;
  font-size: .875rem;
  transition: background .3s, color .3s;
}
.doctor-filter a:hover,
.doctor-filter a.bg-gray-800 {
  background: #333;
  color: #fff;
}

/* --------------------------
   Grid layout for archive
   -------------------------- */
.doctor-archive{margin:8em 0px;}

/* — FILTER BAR — */
.doctor-filter ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* center-align */
  list-style: none;
  margin: 0;
  padding: 0;
}
.doctor-filter li {
  margin: 0 .5rem .5rem 0;
}
.doctor-filter a {
  display: inline-block;
  padding: .5rem 1rem;
  border-radius: 9999px;
  background: #f5f5f5;
  color: #333;
  text-decoration: none;
  transition: background .3s, color .3s;
}
.doctor-filter a:hover,
.doctor-filter a.active {
  background: #333;
  color: #fff;
}

/* — GRID LAYOUT — */

.doctor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  justify-content: center;
  align-items: start;    /* Prevent cards from stretching to equal height */
}

.doctor-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
  display: flex;
  flex-direction: column;
}

/* Square crop for images */
.doctor-card .card-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.doctor-card .card-title {
  font-size: 1.25rem;
  margin: .5rem 0;
}

.doctor-card p {
  margin: .5rem 0;
  font-size: .9rem;
  color: #555;
}

/* Specialties pills under each doctor card */
.doctor-card-specialties {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}
.doctor-card-specialties li {
  background: #f5f5f5;
  padding: .25rem .75rem;
  margin: .25rem .5rem .25rem 0;
  border-radius: 4px;
  font-size: 12px;
  color: #333;
}


.doctor-card .more-details {
  margin-top: auto;
    text-align:right;
    margin-top:5px;
}

.doctor-card .more-details a{
      background-color:#78c261;
  border-radius:30px;
  color:#fff;
  padding:5px 15px;
}
.doctor-card .more-details a:hover{
      background-color:#3967b2;
  text-decoration:none;
}