:root {
  --primary-color: #9c2a6d;
  --secondary-color: #1b519e;
  --light-blue: #f5f8ff;
  --text-color: #333333;
  --light-text: #666666;
  --border-color: #e5e5e5;
  --border-radius: 10px;
  --shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  --hours-bg: rgba(27, 81, 158, 0.05);
  --hours-border: rgba(27, 81, 158, 0.1);
}
.doctor-card {
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: 0 auto;
  background-color: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-family: "Poppins", "Segoe UI", sans-serif;
  margin-bottom: 4.242%;
}
.doctor-card__image-container {
  width: 100%;
  height: auto;
  max-height: 400px;
  overflow: hidden;
  background-color: #f1f1f1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.doctor-card__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-height: 400px;
}
.doctor-card__content {
  padding: 24px;
}
.doctor-card__header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}
.doctor-card__name {
  color: var(--primary-color);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 8px 0;
}
.doctor-card__specialty {
  color: var(--text-color);
  font-size: 18px;
  margin: 0;
}
.doctor-card__section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-color);
  margin: 0 0 8px 0;
}
.doctor-card__locations {
  margin-bottom: 32px;
}
.doctor-card__location-block {
  margin-bottom: 24px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border-color);
}
.doctor-card__location-block:last-child {
  margin-bottom: 0;
}
.doctor-card__location {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--light-blue);
  padding: 12px 16px;
}
.location-content {
  flex: 1;
}
.doctor-card__facility {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 16px;
  margin: 0 0 4px 0;
}
.doctor-card__address {
  font-size: 15px;
  color: var(--text-color);
  margin: 0;
}
.doctor-card__map-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  margin-left: 10px;
  background-color: white;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  color: var(--secondary-color);
  text-decoration: none;
  transition: all 0.2s ease;
}
.doctor-card__map-btn:hover {
  background-color: var(--secondary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.doctor-card__location-hours {
  display: flex;
  flex-wrap: wrap;
  padding: 12px 16px;
  background-color: white;
  gap: 8px;
}
.schedule-day {
  display: flex;
  align-items: center;
  padding: 6px 10px;
  background-color: var(--hours-bg);
  border-radius: 4px;
  min-width: 180px;
  margin-right: 8px;
}
.day-name {
  font-weight: 600;
  color: var(--secondary-color);
  margin-right: 8px;
  min-width: 110px;
}
.day-hours {
  font-weight: 500;
  color: var(--text-color);
}
.doctor-card__children-info {
  margin-bottom: 20px;
  padding: 12px 16px;
  background-color: rgba(27, 81, 158, 0.1);
  border-left: 4px solid var(--secondary-color);
  border-radius: 4px;
}
.doctor-card__children-info p {
  margin: 0;
  color: var(--secondary-color);
  font-weight: 500;
  font-size: 15px;
}
.doctor-card__pricing {
  margin-top: 24px;
}
.doctor-card__pricing-title {
  color: var(--secondary-color);
  font-size: 18px;
  margin-bottom: 12px;
}
.doctor-card__price-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.doctor-card__price-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}
.doctor-card__price-item:last-child {
  border-bottom: none;
}
.doctor-card__service {
  color: var(--text-color);
  font-size: 15px;
}
.doctor-card__price {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 15px;
}
@media (min-width: 768px) {
  .doctor-card__image-container {
    height: auto;
    max-height: 350px;
  }
  .doctor-card__map-btn {
    opacity: 0.7;
    transform: scale(0.9);
  }
  .doctor-card__map-btn:hover {
    opacity: 1;
    transform: scale(1);
  }
}
@media (max-width: 480px) {
  .doctor-card__content {
    padding: 16px;
  }
  .doctor-card__image-container {
    max-height: 300px;
  }
  .doctor-card__name {
    font-size: 22px;
  }
  .doctor-card__specialty {
    font-size: 16px;
  }
  .doctor-card__map-btn {
    min-width: 40px;
    height: 40px;
  }
  .schedule-day {
    width: 100%;
    margin-right: 0;
    margin-bottom: 4px;
  }
}
.doctor-layout {
  margin-block: 128px;
}
.doctor-layout h1 {
  max-width: 800px;
  margin: 0 auto 32px;
  padding-inline: 16px;
}
:root {
  --primary-color: #9c2a6d;
  --secondary-color: #1b519e;
  --white-color: #ffffff;
  --text-color: #333333;
  --shadow-color: rgba(0, 0, 0, 0.1);
}
.contact-mini {
  width: 100%;
  padding: 15px 10px;
}
.contact-mini__title {
  color: var(--primary-color);
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 15px;
  text-align: center;
}
.contact-mini__buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-mini .contact-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  background-color: var(--secondary-color);
  color: var(--white-color);
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}
.contact-mini .contact-button:hover {
  background-color: #2663b9;
}
.contact-mini .contact-button svg {
  width: 20px;
  height: 20px;
  fill: var(--white-color);
}
.doctor-layout {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}
.doctor-subpage {
  flex: 1;
}
.doctor-contact {
  width: 320px;
}
.contact-mini {
  position: sticky;
  top: 120px;
}
@media (max-width: 980px) {
  .doctor-layout {
    flex-direction: column;
  }
  .doctor-contact {
    width: 100%;
  }
  .contact-mini {
    position: relative;
    top: 0;
  }
}
.lekarze-template-default #page-container {
  overflow: visible !important;
}
