
main .split>.contact-panel.contact-panel-clear:is(:has(>.branch-contact:not([hidden])>.branch-contact-list),:has(>.ya-contact-groups)){display:grid;--contact-actions-width:clamp(208px,20vw,272px);grid-template-columns:minmax(0,1fr) var(--contact-actions-width);grid-template-rows:auto 1fr;grid-template-areas:"eyebrow socials" "details measure";gap:12px clamp(16px,3vw,40px);align-items:start}
main .split>.contact-panel.contact-panel-clear:has(>.branch-contact:not([hidden])>.branch-contact-list):not(:has(>.eyebrow:not([hidden]))){grid-template-areas:"details socials" "details measure"}
main .split>.contact-panel.contact-panel-clear:is(:has(>.branch-contact:not([hidden])>.branch-contact-list),:has(>.ya-contact-groups)) > :is(.ya-contact-groups,.branch-contact:not([hidden]):has(>.branch-contact-list)){grid-area:details;align-self:start;min-width:0}
main .split>.contact-panel.contact-panel-clear:is(:has(>.branch-contact:not([hidden])>.branch-contact-list),:has(>.ya-contact-groups)) > .socials{grid-area:socials;justify-self:center;align-self:start;justify-content:center;margin:0}
main .split>.contact-panel.contact-panel-clear:is(:has(>.branch-contact:not([hidden])>.branch-contact-list),:has(>.ya-contact-groups)) > .btn{grid-area:measure;justify-self:center;align-self:start;margin:0;max-width:100%}
main .split>.contact-panel.contact-panel-clear .contact-address:has(>.contact-address-line){display:block;min-width:0;width:100%}
main .contact-panel .contact-address-line{display:block;white-space:nowrap;max-width:100%;line-height:1.4}
main .contact-panel .contact-address-line.contact-wrap{white-space:normal;overflow-wrap:anywhere}
main .contact-panel .contact-address-extra{display:block;margin-top:4px;color:#525d70;font-size:15px;line-height:1.45}
@media(max-width:820px){
 main .split>.contact-panel.contact-panel-clear:is(:has(>.branch-contact:not([hidden])>.branch-contact-list),:has(>.ya-contact-groups)){grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto;grid-template-areas:"eyebrow" "details" "socials" "measure";gap:14px}
 main .split>.contact-panel.contact-panel-clear:has(>.branch-contact:not([hidden])>.branch-contact-list):not(:has(>.eyebrow:not([hidden]))){grid-template-rows:auto auto auto;grid-template-areas:"details" "socials" "measure"}
 main .split>.contact-panel.contact-panel-clear:is(:has(>.branch-contact:not([hidden])>.branch-contact-list),:has(>.ya-contact-groups))>:is(.socials,.btn){justify-self:center;align-self:center}
 main .contact-panel .contact-address-line{font-size:clamp(15px,4.3vw,19px)}
}

@media (min-width: 821px) {
 main .split>.contact-panel.contact-panel-clear:is(:has(>.branch-contact:not([hidden])>.branch-contact-list),:has(>.ya-contact-groups)) {
  grid-template-columns: minmax(0,1fr) max-content;
  grid-template-rows: auto auto auto;
  grid-template-areas: "eyebrow socials" "details details" ". measure";
 }
 main .split>.contact-panel.contact-panel-clear:has(>.branch-contact:not([hidden])>.branch-contact-list):not(:has(>.eyebrow:not([hidden]))) {
  grid-template-areas: ". socials" "details details" ". measure";
 }
 main .split>.contact-panel.contact-panel-clear:is(:has(>.branch-contact:not([hidden])>.branch-contact-list),:has(>.ya-contact-groups))>:is(.socials,.btn) { justify-self:center; }
}
