/* Shared consultation card. Loaded by header.php outside component caches.
   Section styles load afterwards and retain their layout/mobile overrides. */
.post-aside {
  min-width: 0;
  align-self: start;
  position: sticky;
  top: 104px;
}

.pd-card--consult {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.10);
  border-radius: 18px;
  box-shadow: var(--shadow, 0 12px 28px rgba(23,41,73,.10));
  display: flex;
  min-height: 420px;
  text-decoration: none;
  color: #fff !important;
}

.pd-card--consult:hover {
  text-decoration: none !important;
}

.pd-consult__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform .35s ease;
}

.pd-card--consult:hover .pd-consult__bg {
  transform: scale(1.03);
}

.pd-consult__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5,30,52,.75) 30%, rgba(5,30,52,.15) 80%, rgba(5,30,52,0) 100%);
}

.pd-consult__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
  padding: 18px;
  margin-top: auto;
}

.pd-consult__title {
  font-size: 28px;
  line-height: 1.15;
}

.pd-consult__text {
  line-height: 1.35;
  opacity: .92;
  padding: 10px 0;
}

.pd-consult__btn {
  justify-self: start;
  margin-top: 8px;
}
