/* Ear surgery on the homepage (#ears), after the before and after gallery.
   Two otoplasty patients, each shown as a before and an after photograph side by side
   (3:4 portraits lined up on the eye with tools/align-pair.ps1, so the ear is the only thing
   that changes). Written with logical properties, so it mirrors in Arabic and Kurdish: the
   before photograph is always on the reading-start side. Not part of the generated rtl.css. */

.ears {
  padding-block: 18px 104px;
}
.ears-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 40px;
  padding-top: 64px;
  border-top: 1px solid var(--line);
}
.ears-kicker {
  margin: 0 0 18px;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}
.ears-head h2 {
  margin: 0;
  font-size: clamp(42px, 4.4vw, 66px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.06em;
  color: var(--ink);
}
.ears-text {
  max-width: 340px;
  margin: 0;
  padding-bottom: 4px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.ears-cases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
}
.ears-case {
  margin: 0;
}
.ears-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.ears-shot {
  position: relative;
  overflow: hidden;
  background: #1b2a22;
  border-radius: 4px;
}
.ears-shot img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
/* Same small white labels as the before and after slider. */
.ears-tag {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  padding: 5px 9px;
  font-size: 11px;
  line-height: 1.3;
  color: var(--ink);
  background: #ffffffe6;
  border-radius: 4px;
}
.ears-case figcaption {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--text);
}
.ears-number {
  color: #93a08b;
  font-variant-numeric: tabular-nums;
}
.ears-note {
  margin-top: 26px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}

@media (max-width: 850px) {
  .ears {
    padding-bottom: 80px;
  }
  .ears-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 28px;
    padding-top: 52px;
  }
}
@media (max-width: 700px) {
  .ears {
    padding-bottom: 64px;
  }
  .ears-head {
    padding-top: 44px;
  }
  .ears-head h2 {
    font-size: 40px;
  }
  .ears-cases {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .ears-tag {
    inset-block-start: 8px;
    inset-inline-start: 8px;
    padding: 4px 7px;
    font-size: 10px;
  }
}
