/* Equal branch columns; scoped overrides for the existing IranAnker theme. */
.iaf.iaf.iaf.iaf-three-branches .iaf-columns {
  grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, .9fr) !important;
  gap: 0 !important;
  align-items: stretch !important;
}
.iaf.iaf.iaf.iaf-three-branches .iaf-columns > .iaf-column {
  box-sizing: border-box !important;
  min-width: 0 !important;
  width: auto !important;
  padding: 28px 18px 30px !important;
  border: 0 !important;
  border-inline-end: 1px solid var(--iaf-border-soft, #182735) !important;
  overflow-wrap: anywhere !important;
}
.iaf.iaf.iaf.iaf-three-branches .iaf-columns > .iaf-column:last-child {
  border-inline-end: 0 !important;
}
.iaf.iaf.iaf.iaf-three-branches .iaf-column-title {
  font-size: clamp(15px, calc(17px * var(--iaf-scale, 1)), 23px) !important;
  line-height: 1.8 !important;
  min-height: 3.6em !important;
}
.iaf.iaf.iaf.iaf-three-branches .iaf-branch-address,
.iaf.iaf.iaf.iaf-three-branches .iaf-branch-hours p,
.iaf.iaf.iaf.iaf-three-branches .iaf-branch-hours-head {
  font-size: clamp(14px, calc(14.3px * var(--iaf-scale, 1)), 19px) !important;
  line-height: 2 !important;
}
.iaf.iaf.iaf.iaf-three-branches .iaf-branch-contact {
  min-height: 44px !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.iaf.iaf.iaf.iaf-three-branches .iaf-branch-maps a {
  min-height: 40px !important;
  box-sizing: border-box !important;
}
.iaf.iaf.iaf.iaf-three-branches .iaf-about-visual img {
  max-width: 100% !important;
  height: auto !important;
}
@media (max-width: 1400px) {
  .iaf.iaf.iaf.iaf-three-branches .iaf-main { grid-template-columns: minmax(0, 1fr) !important; }
  .iaf.iaf.iaf.iaf-three-branches .iaf-about { order: 0 !important; }
}
@media (min-width: 781px) and (max-width: 1100px) {
  .iaf.iaf.iaf.iaf-three-branches .iaf-columns { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  .iaf.iaf.iaf.iaf-three-branches .iaf-columns > .iaf-column:nth-child(3) { border-inline-end: 0 !important; }
  .iaf.iaf.iaf.iaf-three-branches .iaf-columns > .iaf-column-services {
    grid-column: 1 / -1 !important;
    border-top: 1px solid var(--iaf-border-soft, #182735) !important;
  }
}
@media (max-width: 780px) {
  .iaf.iaf.iaf.iaf-three-branches .iaf-columns { grid-template-columns: minmax(0, 1fr) !important; }
  .iaf.iaf.iaf.iaf-three-branches .iaf-columns > .iaf-column {
    padding: 24px 20px !important;
    border-inline-end: 0 !important;
    border-bottom: 1px solid var(--iaf-border-soft, #182735) !important;
  }
  .iaf.iaf.iaf.iaf-three-branches .iaf-columns > .iaf-column:last-child { border-bottom: 0 !important; }
  .iaf.iaf.iaf.iaf-three-branches .iaf-column-title { min-height: 0 !important; }
}
