/*
 * Dentist Point: additions to the theme's style.css (Medic, by potenzaglobalsolutions) for what the site's layouts
 * add: the text logo, bodies written in the admin, opening hours lists, light testimonials.
 */

/* The site name with a tooth, when no logo is uploaded */
.brand-text {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 700;
  color: #000f2d;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-text i {
  font-size: 30px;
  line-height: 1;
}

.brand-text i::before {
  margin-left: 0;
}

.brand-logo {
  max-height: 48px;
}

.footer .brand-text {
  margin-bottom: 20px;
}

/* Hero */
.hero-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: #ffffff;
  opacity: 0.8;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-image {
  border-radius: 6px;
}

/* Bodies written in the admin: paragraphs, headings and lists */
.prose p,
.prose ul,
.prose ol {
  margin-bottom: 1.1rem;
}

.prose h2,
.prose h3,
.prose h4 {
  margin: 1.8rem 0 0.8rem;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* A list in a body, with the theme's plus marks */
.check-list ul {
  padding-left: 0;
  list-style: none;
}

.check-list ul li {
  position: relative;
  margin-bottom: 0.75rem;
  padding-left: 28px;
}

.check-list ul li::before {
  content: "\f0fe";
  position: absolute;
  left: 0;
  top: 1px;
  font-family: "Font Awesome 5 Free";
  font-weight: 400;
  color: var(--bs-primary, #0576ee);
}

.about-section .check-list ul {
  column-gap: 30px;
}

@media (min-width: 768px) {
  .about-section .check-list ul {
    columns: 2;
  }

  .about-section .check-list ul li {
    break-inside: avoid;
  }
}

.prose-light p {
  color: #ffffff;
}

/* Opening hours: day and time on one line */
.footer-hours li,
.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.hours-list li span:last-child {
  font-weight: 500;
}

/* The picture of a coloured band, in its white part */
.highlight-section .highlight-image {
  position: absolute;
  top: 15%;
  left: 0;
  width: 42%;
  border-radius: 6px;
}

.why-choose-image {
  min-height: 420px;
  background-size: cover;
  background-position: center;
}

/* Testimonials on a light background */
.testimonial-light .testimonial-item .testimonial-content p {
  color: #000f2d;
  font-size: 18px;
}

.testimonial-light .testimonial-item .testimonial-author .testimonial-name span {
  color: #6c757d;
}

.testimonial-light .testimonial-item .testimonial-author .testimonial-avatar {
  border-color: #e9ecef;
}

.testimonials-section .owl-dots {
  margin-top: 20px;
  text-align: center;
}

/* Service icons are links */
a.feature-items {
  color: inherit;
}

a.feature-items:hover h6 {
  color: var(--bs-primary, #0576ee);
}

/* A dentist's details */
.team-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.team-contact li i {
  width: 18px;
}

.team .team-phone {
  display: inline-block;
}

/* The appointment band, as a card */
.appointment-band .appointment-form {
  background: #ffffff;
  box-shadow: 0 10px 40px rgba(0, 15, 45, 0.08);
  border-radius: 6px 0 0 6px;
}

@media (max-width: 991px) {
  .appointment-band .appointment-form {
    border-radius: 6px;
  }
}

.signature {
  max-height: 70px;
}

/* The header's button stays on one line */
.header .add-listing .btn {
  white-space: nowrap;
}

/* Booking by phone, in the appointment band */
.appointment-phone {
  color: #000f2d;
  font-weight: 600;
}

.appointment-phone:hover {
  color: var(--bs-primary, #0576ee);
}

/* The contact page's blue band: address and phone, large */
.contact-visit .visit-line {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 20px;
  line-height: 1.4;
}

.contact-visit .visit-line i {
  width: 22px;
  margin-top: 4px;
  color: #ffffff;
  opacity: 0.85;
}

.contact-visit .visit-phone {
  font-size: 26px;
  font-weight: 600;
}

.contact-visit .visit-hours {
  margin: 24px 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  max-width: 360px;
}

.contact-visit .visit-hours li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.contact-visit .gap-buttons {
  gap: 12px;
}

/* The contact form (contact-form-section) */
.contact-form-card {
  padding: 40px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 15, 45, 0.08);
}

.contact-form-card .form-label {
  margin-bottom: 6px;
  color: #000f2d;
  font-weight: 500;
}

/* The trap field: out of sight and out of reach, but not display:none (some scripts skip those) */
.contact-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-status-ok {
  color: #0a7d4d;
  font-weight: 500;
}

.contact-status-error {
  color: #c0392b;
}

@media (max-width: 575px) {
  .contact-form-card {
    padding: 24px;
  }
}
