/* Real programme content stays in flow; a provider badge must not size its grid. */
.ap-programme-row>*,.ap-programme-rows{min-width:0}
.ap-programme-row .gk-pay__badge{min-width:0;max-width:100%;contain:inline-size}
@media(max-width:700px){
 .ap-section .ap-programme-row,.ap-section .ap-programme-simple{grid-template-columns:minmax(0,1fr);align-items:start;gap:16px}
 .ap-section .ap-programme-row>div:nth-child(2),.ap-section .ap-programme-row>p{border-left:0;padding-left:0}
 .ap-section .ap-programme-row>.ap-button{grid-column:1;justify-self:stretch;max-width:100%;min-height:48px}
 .ap-section .ap-programme-row h3{font-size:23px;line-height:1.25;overflow-wrap:anywhere}
 .ap-section .ap-programme-row p{max-width:100%;margin:8px 0 0;line-height:1.5;overflow-wrap:anywhere}
 .ap-section .ap-programme-row .ap-price-medium{display:block;font-size:32px;line-height:1.2}
 .ap-programme-row .gk-pay__badge{margin-top:10px}
 .ap-section .ap-programme-row .ap-gift-crop{display:none}
}
@media(max-width:620px){
 /* The final odd specialist gets a complete row instead of an empty half-row. */
 .dr-mobile-grid>.dr-mobile-tile:last-child:nth-child(odd){grid-column:1/-1}
 .dr-mobile-grid>.dr-mobile-tile:only-child{max-width:100%}
}
