#top .af-alb-cards .af-card-actions{display:flex;justify-content:space-between;align-items:baseline;gap:10px;flex-wrap:wrap}
#top .af-alb-cards .af-card-actions a:last-child{margin-left:auto}
/* Structured Avia elements: existing variants retain their site styles. */
#top .af-alb-legacy{display:contents}
#top .af-alb-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px;grid-column:1/-1;clear:both}
#top .af-alb-grid>div.flex_column{float:none;width:auto;margin:0;clear:none;min-width:0;display:flex;flex-direction:column}
#top .af-alb-grid .av-special-heading,#top .af-alb-grid .av_textblock_section{grid-column:auto}
#top .af-alb-grid>div>.av_textblock_section:last-child{flex:1;display:flex}
#top .af-alb-grid>div>.av_textblock_section:last-child .avia_textblock{display:flex;flex:1;flex-direction:column;width:100%}
#top .af-alb-grid .af-card-actions{margin-top:auto}
#top .af-alb-cards .af-card-price{font-weight:700}
#top .af-card-price small{display:block;font-weight:400}
#top .af-edition-status span{display:inline-block;width:7px;height:7px;border-radius:50%;background:#778185;margin-right:7px;vertical-align:1px}
#top .af-status-open span{background:#287650}#top .af-status-closed span{background:#b44646}#top .af-status-few span{background:#b77b17}
#top .af-image-crop .avia-image-container-inner{overflow:hidden}
#top .af-image-crop img{object-position:var(--af-x) var(--af-y);transform:scale(var(--af-z));transform-origin:var(--af-x) var(--af-y)}
@media(min-width:1150px){#top .af-alb-grid.af-alb-cols-6{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}#top .af-alb-grid.af-alb-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}#top .af-alb-grid.af-alb-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}#top .af-alb-cols-6 .af-card-actions{display:flex;flex-direction:column;align-items:flex-start;gap:3px}#top .af-alb-cols-6 .af-card-actions a:last-child{margin-left:0}}

@media(max-width:599px){#top .af-alb-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#top .af-alb-grid .af-card-actions{flex-direction:column;align-items:flex-start}#top .af-alb-grid .af-card-actions a:last-child{margin-left:0}}
/* Native equal-height rows previously followed the heading directly. */
#top .af-alb-legacy>.flex_column_table:first-child{margin-top:50px}
@media(min-width:1150px){#top .af-alb-grid.af-alb-cols-6 .avia_textblock,#top .af-alb-grid.af-alb-cols-6 .av-special-heading{padding-left:12px;padding-right:12px}#top .af-alb-grid.af-alb-cols-6 h3{font-size:18px;line-height:1.3}#top .af-alb-grid.af-alb-cols-6 .avia_textblock{font-size:13px}#top .af-alb-grid.af-alb-cols-6 .af-card-actions a{font-size:14px}}
#top .af-alb-grid.af-alb-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
/* Newly inserted complete sections inherit a compact card treatment on any page. */
#top .af-complete-section .af-alb-cards .av-special-heading{margin-top:12px;margin-bottom:8px;min-height:0}
#top .af-complete-section .af-alb-cards h3{font-size:22px;line-height:1.3;overflow-wrap:break-word}
#top .af-complete-section .af-alb-cards .af-course-facts strong{font-size:18px;line-height:1.4}
#top .af-complete-section .af-alb-cards .af-eyebrow{overflow-wrap:anywhere}
@media(max-width:599px){#top .af-complete-section .af-alb-cards .av-special-heading,#top .af-complete-section .af-alb-cards .avia_textblock{padding-left:10px;padding-right:10px}#top .af-complete-section .af-alb-cards h3{font-size:17px}#top .af-complete-section .af-alb-cards .af-course-facts strong{font-size:16px}#top .af-complete-section .af-alb-cards .avia_textblock{font-size:13px}#top .af-complete-section .af-alb-cards .af-eyebrow{font-size:9px;letter-spacing:.5px}#top .af-complete-section .af-alb-cards .af-card-actions a{font-size:13px}}

#top .af-alb-cards .avia-image-container-inner{width:100%;aspect-ratio:3/2;overflow:hidden}#top .af-alb-cards .avia-image-container-inner img{display:block;width:100%;height:100%;aspect-ratio:3/2;object-fit:cover}

/* Standalone embeds inherit the existing card design. */
#top .af-shortcode-cards{clear:both;width:100%}
#top .af-shortcode-single{max-width:420px}
#top .af-shortcode-single .af-alb-cards{grid-template-columns:minmax(0,1fr)}
#top .af-duration-label{display:inline-block;white-space:nowrap;max-width:none}


/* Compact editorial rhythm: title and copy remain one readable group. */
#top #wrap_all .af-alb-cards :is(.af-course-card,.af-area-card,.af-hub-card) .av-special-heading{margin-top:6px!important;margin-bottom:4px!important;padding-bottom:0!important;min-height:0!important}
#top #wrap_all .af-alb-cards :is(.af-course-card,.af-area-card,.af-hub-card) .avia_textblock p{margin-top:6px;margin-bottom:6px}
#top #wrap_all .af-alb-cards :is(.af-course-card,.af-area-card,.af-hub-card) .av-special-heading+.av_textblock_section .avia_textblock>p:first-child{margin-top:0}
#top #wrap_all .af-alb-cards .af-eyebrow{min-height:0;padding-top:6px}
#top #wrap_all .af-alb-cards .af-eyebrow p{margin:0}
#top #wrap_all .af-alb-cards .af-card-price small{margin-top:3px;line-height:1.45}
#top #wrap_all .af-alb-cards .af-card-actions{padding-top:6px;margin-bottom:0;gap:6px 12px}
#top .af-upcoming-card h3{margin:8px 0 4px}
#top .af-upcoming-card .af-card-price{margin-top:4px;margin-bottom:10px}
