/* The existing theme supplies typography, cards and mobile navigation. */
body.ifr-expanded-directory .ifr-specgroup .ifr-specs{grid-template-columns:repeat(12,minmax(0,1fr))!important;align-items:stretch}
body.ifr-expanded-directory .ifr-specgroup .ifr-specs>.ifr-spec{grid-column:span 3;min-width:0;height:100%}
body.ifr-expanded-directory .ifr-specgroup .ifr-specs>.ifr-spec h4{overflow-wrap:break-word}
body.ifr-expanded-directory .ifr-specgroup .ifr-specs:has(>:nth-child(4n+2):last-child)>.ifr-spec:nth-last-child(-n+2){grid-column:span 6}
body.ifr-expanded-directory .ifr-specgroup .ifr-specs:has(>:nth-child(4n+1):last-child)>.ifr-spec:nth-last-child(-n+5){grid-column:span 4}
body.ifr-expanded-directory .ifr-specgroup .ifr-specs:has(>:nth-child(4n+1):last-child)>.ifr-spec:nth-last-child(-n+2){grid-column:span 6}
body.ifr-expanded-specialty .ifr-dhero__copy,body.ifr-expanded-specialty .ifr-doc__inner>*{min-width:0}
body.ifr-expanded-specialty .ifr-dhero h1{overflow-wrap:break-word;text-wrap:balance}
@media(max-width:1099px) and (min-width:761px){
 body.ifr-expanded-directory .ifr-specgroup .ifr-specs>.ifr-spec{grid-column:span 4!important}
 body.ifr-expanded-directory .ifr-specgroup .ifr-specs:has(>:nth-child(3n+2):last-child)>.ifr-spec:nth-last-child(-n+2){grid-column:span 6!important}
 body.ifr-expanded-directory .ifr-specgroup .ifr-specs:has(>:nth-child(3n+1):last-child)>.ifr-spec:last-child{grid-column:span 12!important}
}
@media(max-width:760px){
 body.ifr-expanded-directory .ifr-specgroup .ifr-specs{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.ifr-expanded-directory .ifr-specgroup .ifr-specs>.ifr-spec{grid-column:span 1!important}
 body.ifr-expanded-directory .ifr-specgroup .ifr-specs>.ifr-spec:last-child:nth-child(odd){grid-column:1/-1!important}
}
@media(max-width:520px){
 body.ifr-expanded-directory .ifr-specgroup .ifr-specs{grid-template-columns:minmax(0,1fr)!important}
 body.ifr-expanded-directory .ifr-specgroup .ifr-specs>.ifr-spec{grid-column:1/-1!important}
}

@media(min-width:1100px){
 body.ifr-expanded-directory .ifr-specgroup .ifr-specs:has(>:nth-child(4n+3):last-child)>.ifr-spec:nth-last-child(-n+3){grid-column:span 4}
}
