/* Keep customization light: improve spacing and CTA clarity while preserving theme defaults. */

/* Global type scale for improved readability across all pages. */
:root {
  font-size: 20px;
}

/* Hero intro layout */
.hero-intro {
  align-items: center;
  margin-bottom: 1.5rem;
}

.headshot-image {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
}

/* Hide photo area on phone screens */
@media (max-width: 767.98px) {
  .photo-col {
    display: none;
  }
}

/* Quarto constrains article width via the .page-columns grid.
   Expand only the main article track to page width on larger screens. */
@media (min-width: 768px) {
  #quarto-content > main.content {
    grid-column: page-start / page-end;
  }
}

main.content {
  max-width: none;
}

h1,
h2,
h3 {
  letter-spacing: 0.01em;
}

.btn {
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.btn-primary {
  --bs-btn-bg: var(--bs-link-color);
  --bs-btn-border-color: var(--bs-link-color);
  --bs-btn-hover-bg: var(--bs-link-hover-color);
  --bs-btn-hover-border-color: var(--bs-link-hover-color);
  --bs-btn-active-bg: var(--bs-link-hover-color);
  --bs-btn-active-border-color: var(--bs-link-hover-color);
}

.grid {
  margin-top: 1rem;
}

section,
h2 {
  scroll-margin-top: 4.5rem;
}

/* Service list spacing */
/* Service cards */
.service-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 1.25rem 1.25rem 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease;
}

.service-card:hover {
  border-color: rgba(255, 255, 255, 0.35);
}

.service-card h3 {
  margin-top: 0;
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  padding-bottom: 0.6rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  min-height: 3.5em;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.service-card p {
  font-size: 0.9rem;
}

.service-card p:last-child {
  margin-top: auto;
  margin-bottom: 0;
  padding-top: 0.75rem;
}

.service-card a {
  font-size: 0.85rem;
  text-decoration: none;
}

hr {
  margin: 2.5rem 0;
  opacity: 0.15;
}

.navbar {
  background-color: var(--bs-body-bg) !important;
}

.consultation-note {
  color: #9aa0a6;
}

.consultation-cta {
  margin-bottom: 0.0rem;
}

.consultation-section > p {
  margin-bottom: 0.2rem;
}

.consultation-note p {
  margin-bottom: 0;
}

#listing-videos .thumbnail-image {
  width: 100%;
  height: auto !important;
}
