/* Two cards per row: three meaningful columns on desktop, natural photo ratio. */
body#top #main .af-course-card.af-card-three-part{display:grid!important;grid-template-columns:minmax(0,.92fr) minmax(0,1.12fr) minmax(0,1.16fr)!important;grid-template-rows:auto!important;align-items:start;column-gap:14px!important;row-gap:0!important;padding:14px!important;overflow:visible}
body#top #main .af-course-card.af-card-three-part>.avia-image-container,body#top #main .af-course-card.af-card-three-part>.af-card-gallery{grid-column:1!important;grid-row:1!important;align-self:start!important;aspect-ratio:3/2!important;height:auto!important;min-height:0!important;margin:0!important;width:100%!important}
body#top #main .af-course-card.af-card-three-part .avia-image-container-inner{aspect-ratio:3/2!important;height:auto!important;width:100%!important}
body#top #main .af-course-card.af-card-three-part .avia-image-overlay-wrap{aspect-ratio:3/2!important;height:100%!important}
body#top #main .af-course-card.af-card-three-part .af-card-introduction{grid-column:2;grid-row:1;min-width:0}
body#top #main .af-course-card.af-card-three-part .af-card-information{grid-column:3;grid-row:1;min-width:0}
body#top #main .af-course-card.af-card-three-part .av-special-heading{padding:0!important;margin:0 0 10px!important;width:100%!important}
body#top #main .af-course-card.af-card-three-part :is(h3,h4){font-size:21px!important;line-height:1.22!important;overflow-wrap:normal;hyphens:none}
body#top #main .af-course-card.af-card-three-part :is(.av_textblock_section,.avia_textblock){padding:0!important;margin:0!important}
body#top #main .af-course-card.af-card-three-part p{font-size:14px!important;line-height:1.5!important;margin:0 0 12px!important}
body#top #main .af-course-card.af-card-three-part .af-card-actions{display:flex!important;flex-direction:column;align-items:flex-start;gap:8px!important;margin:12px 0 0!important}
body#top #main .af-course-card.af-card-three-part .af-card-actions a{white-space:normal!important;font-size:13px!important;margin:0!important}
body#top #main .af-course-card.af-card-three-part .af-price-heading{font-size:22px!important;line-height:1.25!important}
@media(min-width:768px) and (max-width:1023px){
 body#top #main .af-course-card.af-card-three-part{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;grid-template-rows:auto 1fr!important;column-gap:24px!important;row-gap:16px!important}
 body#top #main .af-course-card.af-card-three-part .af-card-introduction{grid-column:1;grid-row:2}
 body#top #main .af-course-card.af-card-three-part .af-card-information{grid-column:2;grid-row:1/span 2}
}
@media(max-width:767px){
 body#top #main .af-course-card.af-card-three-part{display:flex!important;flex-direction:column!important;padding:0!important;gap:0!important;overflow:hidden}
 body#top #main .af-course-card.af-card-three-part .af-card-introduction{padding:18px 18px 0!important;width:100%;box-sizing:border-box}
 body#top #main .af-course-card.af-card-three-part .af-card-information{padding:0 18px 18px!important;width:100%;box-sizing:border-box}
 body#top #main .af-course-card.af-card-three-part :is(h3,h4){font-size:22px!important}
 body#top #main .af-course-card.af-card-three-part p{font-size:16px!important}
 body#top #main .af-course-card.af-card-three-part .af-card-actions{flex-direction:row;align-items:center;justify-content:space-between!important}
}
