/* The two new homepage services share the same layout and visual treatment. */
/* Keep the existing card title size when their semantic level changes to H3. */
body.page-id-2 h3.dsm_card_title{font-size:18px}
body.page-id-2 .gr-home-new-row::after{display:none}
body.page-id-2 .gr-home-new-row>.gr-home-new{min-width:0}
body.page-id-2 .gr-home-new-card{margin-bottom:0!important}
body.page-id-2 .gr-home-new-card .dsm_card_image_background{height:284px;background-size:contain;background-repeat:no-repeat;background-position:center;background-color:#f8f7f5}
body.page-id-2 .gr-home-new-meta{color:#70310a}
body.page-id-2 .gr-home-new>.et_pb_button_module_wrapper{margin:0 20px!important;min-width:0}
body.page-id-2 .gr-home-new .gr-home-new-action,
body.page-id-2 .gr-home-new .gr-home-new-action:hover{display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:100%;max-width:100%;min-height:56px;margin:0!important;padding:.3em 1em!important;font-size:18px!important;line-height:1.7;white-space:normal;overflow-wrap:break-word;transition:background-color .18s,color .18s,border-color .18s}
body.page-id-2 .gr-home-new .gr-home-new-action::after{display:none}
body.page-id-2 .gr-home-new>.gr-home-details{box-sizing:border-box;margin:0!important;padding:0 20px;min-width:0}
@media(min-width:981px){
  body.page-id-2 .gr-home-new-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5.5%;align-items:stretch}
  body.page-id-2 .gr-home-new-row>.gr-home-new{display:grid;grid-template-rows:1fr auto auto;row-gap:16px;width:auto!important;margin:0!important;float:none}
  body.page-id-2 .gr-home-new-card .dsm_card_title{min-height:46px;box-sizing:border-box}
}
@media(max-width:980px){
  body.page-id-2 .gr-home-new-row{display:block}
  body.page-id-2 .gr-home-new-row>.gr-home-new{display:grid;grid-template-rows:auto auto auto;row-gap:16px;width:100%!important;float:none;margin:0 0 42px!important}
  body.page-id-2 .gr-home-new-row>.gr-home-new:last-child{margin-bottom:0!important}
}
