.aam-hub .hub-benefits-ribbon {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    position: sticky;
    top: var(--hub-header-offset, 0px);
    z-index: 6;
    margin-bottom: 28px;
    border-block: 1px solid #bddfe2;
    background: #effafa;
}
.aam-hub .hub-benefit-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    min-height: 66px;
    padding: 16px 18px;
    color: #10233f;
    background: transparent;
    text-decoration: none;
    line-height: 1.25;
}
.aam-hub .hub-benefit-trigger + .hub-benefit-trigger { border-left: 1px solid #c7e1e4; }
.aam-hub .hub-benefit-trigger:hover { background: #e1f5f5; }
.aam-hub .hub-benefit-trigger > svg { color: #007c86; width: 24px; height: 24px; flex: 0 0 24px; }
.aam-hub .hub-benefit-trigger > span { min-width: 0; }
.aam-hub .hub-benefit-trigger strong { display: block; font-size: 14px; font-weight: 700; overflow-wrap: anywhere; }
.aam-hub .hub-benefit-trigger small { display: block; margin-top: 4px; color: #52667a; font-size: 12px; }
.aam-hub .hub-benefit-trigger:last-child { background: #fff3df; }
.aam-hub .hub-benefit-trigger:last-child:hover { background: #ffebc5; }
.aam-hub .hub-benefit-trigger:last-child > svg { color: #9e5000; }
.aam-hub .hub-benefit-trigger:last-child small { color: #8b5208; }
.aam-hub .hub-benefits-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; list-style: none; padding: 0; margin: 0; }
.aam-hub .hub-benefits-list > li { min-width: 0; border-bottom: 1px solid var(--hub-line); padding-bottom: 24px; }
.aam-hub .hub-benefits-list > li > svg { width: 28px; height: 28px; color: #007c86; margin-bottom: 12px; }
.aam-hub .hub-benefits-list h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.3; }
.aam-hub .hub-benefits-list p { font-size: 15px; margin-bottom: 12px; }
.aam-hub .hub-benefits-list a { font-size: 14px; text-underline-offset: 3px; }
.aam-hub .hub-benefit-coupon { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 10px; border-block-start: 1px solid var(--hub-line); }
.aam-hub .hub-benefit-coupon > div { min-width: 0; }
.aam-hub .hub-benefit-coupon code { font-size: 15px; color: #10233f; background: none; user-select: all; }
.aam-hub .hub-benefit-coupon small { display: block; font-size: 12px; color: #52667a; }
.aam-hub .hub-benefit-coupon .hub-icon-button { flex: 0 0 44px; }
.aam-hub .hub-benefits-status { min-height: 1.5em; margin: 16px 0 0; font-size: 14px; }
.aam-hub .hub-benefits-dialog .hub-dialog-heading { position: sticky; top: 0; background: white; z-index: 1; }
.aam-hub:has(.hub-benefits-ribbon) :is(.hub-filters, .hub-card, #hub-grid) { scroll-margin-top: calc(var(--hub-header-offset, 0px) + var(--hub-ribbon-height, 0px) + 16px); }
.aam-hub:has(.hub-benefits-ribbon) #hub-grid :is(a, input) {
    scroll-margin-top: calc(var(--hub-header-offset, 0px) + var(--hub-ribbon-height, 0px) + 16px);
    scroll-margin-bottom: calc(var(--hub-compare-clearance, 0px) + 16px);
}
@media (max-width: 1050px) {
    .aam-hub .hub-benefit-trigger { padding: 14px 12px; gap: 10px; }
    .aam-hub .hub-benefit-trigger strong { font-size: 13px; }
}
@media (max-width: 760px) {
    .aam-hub .hub-benefits-ribbon { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .aam-hub .hub-benefit-trigger { min-height: 44px; padding: 10px 9px; gap: 8px; }
    .aam-hub .hub-benefit-trigger strong { font-size: 12px; }
    .aam-hub .hub-benefit-trigger small { display: none; }
    .aam-hub .hub-benefit-trigger > svg { width: 20px; height: 20px; flex-basis: 20px; }
    .aam-hub .hub-benefit-trigger:nth-child(odd) { border-left: 0; }
    .aam-hub .hub-benefit-trigger:nth-child(n + 3) { border-top: 1px solid #c7e1e4; }
    .aam-hub .hub-benefits-list { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-height: 480px) and (min-width: 600px) {
    .aam-hub .hub-benefits-ribbon { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .aam-hub .hub-benefit-trigger { min-height: 44px; padding: 10px 9px; gap: 8px; }
    .aam-hub .hub-benefit-trigger strong { font-size: 12px; }
    .aam-hub .hub-benefit-trigger small { display: none; }
    .aam-hub .hub-benefit-trigger:nth-child(n) { border-top: 0; }
    .aam-hub .hub-benefit-trigger + .hub-benefit-trigger { border-left: 1px solid #c7e1e4; }
}
