/* ==========================================================================
   MOBILE / RESPONSIVE STYLESHEET
   Project breakpoint system
   --------------------------------------------------------------------------
   1200px  Large tablets / small laptops / compact desktop
   1024px  Tablet / iPad interaction breakpoint
   922px   Small tablets / large phones
   768px   Tablet portrait
   640px   Large phones
   520px   Small phones
   ========================================================================== */


/* ==========================================================================
   1200px and down
   ========================================================================== */
@media (max-width: 1200px){

  /* ------------------------------------------------------------------------
     GLOBAL / Footer
     ------------------------------------------------------------------------ */
  .spoolup-footer__grid{
    grid-template-columns: 1fr 1fr 1.3fr;
  }

  .spoolup-footer__col--articles{
    grid-column: auto;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Hero layout
     ------------------------------------------------------------------------ */
  .mk-hero__inner{
    margin-top: 0;
  }

  .mk-hero{
    height: auto;
    padding-block: var(--sp-12);
  }

  .mk-hero__visual{
    justify-content: flex-start;
    margin-top: 24px;
  }

  .mk-hero-signup{
    width: 100%;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Shared section layout
     ------------------------------------------------------------------------ */
  .mk-mini-cards{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mk-mission__grid{
    grid-template-columns: 1fr;
  }

  .mk-dark-cta__grid{
    grid-template-columns: 1fr;
  }

  .mk-assets__head,
  .mk-articles__head{
    align-items: flex-start;
    flex-direction: column;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Articles
     ------------------------------------------------------------------------ */
  .mk-articles__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Listing grid
     ------------------------------------------------------------------------ */
  .mk-listing-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Partner cards
     ------------------------------------------------------------------------ */
  .mk-asset-grid--three{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / APU top layout
     ------------------------------------------------------------------------ */
  .mk-apu-top{
    grid-template-columns: minmax(240px, 360px) 1fr minmax(240px, 320px);
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Dashboard spans
     ------------------------------------------------------------------------ */
  .span-8,
  .span-6,
  .span-4{
    grid-column: span 12;
  }

  .kpi-card{
    grid-column: span 6;
  }

  .dash-grid > .dash-card.span-8,
  .dash-grid > .dash-card.span-4{
    grid-column: span 12;
  }

  .dash-graph-row{
    grid-template-columns: 1fr;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / APU detail page
     ------------------------------------------------------------------------ */
  .mk-apu-page-layout{
    grid-template-columns: 1fr;
  }

  .mk-apu-main,
  .mk-apu-side,
  .mk-timeline-card{
    position: static;
    top: auto;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Stand rentals and image-left splits
     ------------------------------------------------------------------------ */
  .mk-stand-rentals__grid,
  .mk-split--image-left{
    grid-template-columns: 1fr;
  }

  .mk-stand-rentals__media,
  .mk-split--image-left .mk-media__box{
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .mk-stand-rentals__image,
  .mk-split--image-left .mk-media-image,
  .mk-split--image-left .mk-video-embed{
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .mk-split--image-left .mk-media,
  .mk-split--image-left .mk-copy{
    order: initial;
  }

  .mk-contact-direct-grid{
    grid-template-columns: repeat(3, 1fr);
  }

}


/* ==========================================================================
   1024px and down
   ========================================================================== */
@media (max-width: 1024px){

  /* ------------------------------------------------------------------------
     GLOBAL / Subnav
     ------------------------------------------------------------------------ */
  body.has-subnav{
    padding-top: 60px;
  }

  body.subnav-menu-open{
    overflow: hidden;
    touch-action: none;
  }

  .subnav-inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 0 20px;
    min-width: 0;
  }

  .subnav-left{
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    justify-content: space-between;
  }

  .subnav-main,
  .subnav-actions__desktop{
    display: none !important;
  }

  .subnav-actions{
    display: flex;
    align-items: center;
    gap: 0;
    flex: 0 0 auto;
  }

  .subnav-burger{
    display: inline-flex;
  }

  .subnav-mobile-backdrop[hidden],
  .subnav-mobile-panel[hidden]{
    display: none !important;
  }

  .subnav-mobile-backdrop:not([hidden]){
    display: block !important;
  }

  .subnav-mobile-panel:not([hidden]){
    display: flex !important;
  }

  .subnav-mobile-backdrop{
    position: fixed;
    top: 60px;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.22s ease,
      visibility 0.22s ease;
    z-index: 9997;
  }

  .subnav-mobile-backdrop.is-open{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .subnav-mobile-panel{
    position: fixed;
    top: 60px;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: calc(100dvh - 60px);
    max-height: calc(100dvh - 60px);
    background: #222222;
    border-top: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 14px 32px rgba(0,0,0,0.24);
    transform: translateY(-18px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.22s ease,
      opacity 0.22s ease,
      visibility 0.22s ease;
    z-index: 9998;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .subnav-mobile-panel.is-open{
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .subnav-mobile-nav{
    display: flex;
    flex-direction: column;
    gap: 0;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-top: 0;
  }

  .subnav-mobile-panel__foot{
    flex: 0 0 auto;
    position: sticky;
    bottom: 0;
    z-index: 2;
    background: inherit;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-bottom: calc(env(safe-area-inset-bottom, 0) + 12px);
  }

  .subnav-mobile-link,
  .subnav-mobile-panel__foot .nav-sign-in,
  .subnav-mobile-panel__foot .subnav-link{
    min-height: 60px;
    height: 60px;
    display: flex;
    align-items: center;
  }

  /* ------------------------------------------------------------------------
     GLOBAL / Layout
     ------------------------------------------------------------------------ */
  .mk-container{
    max-width: 88%;
  }

  :root{
    --fs-300: 1rem;
    --fs-400: 1.2rem;
    --fs-500: 1.875rem;
  }

  /* ------------------------------------------------------------------------
     GLOBAL / Buttons
     ------------------------------------------------------------------------ */
  .btn,
  button,
  .pill-link{
    min-width: 0;
    max-width: 100%;
    width: 100%;
    text-align: center;
    align-items: center;
    justify-content: center;
  }

  /* ------------------------------------------------------------------------
     GLOBAL / Form grids
     ------------------------------------------------------------------------ */
  .su-form-grid{
    grid-template-columns: 1fr;
  }

  /* ------------------------------------------------------------------------
     GLOBAL / Footer
     ------------------------------------------------------------------------ */
  .spoolup-footer__grid{
    grid-template-columns: 1fr;
  }

  .spoolup-footer__grid > *{
    width: 100%;
    text-align: left;
    padding: 0 0 24px;
    margin: 0 0 24px;
  }

  .spoolup-footer__grid > *:last-child{
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .spoolup-footer__links{
    border-top: 1px solid rgba(255,255,255,0.10);
  }

  .spoolup-footer__links li{
    border-bottom: 1px solid rgba(255,255,255,0.10);
  }

  .spoolup-footer__links a{
    display: block;
    padding: 12px 0;
    text-align: left;
  }

  .spoolup-footer__links--articles li:last-child{
    border-bottom: 0;
  }

  .spoolup-footer__view-all{
    display: block;
    padding: 12px 0;
    margin-top: 0;
    text-align: left;
    border-top: 1px solid rgba(255,255,255,0.10);
    border-bottom: 1px solid rgba(255,255,255,0.10);
  }

  .spoolup-footer__bottom{
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 14px;
    text-align: left;
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.10);
  }

  .spoolup-footer__bottom-copy{
    position: static;
    transform: none;
    margin: 0;
    white-space: normal;
    text-align: left;
  }

  .spoolup-footer__meta{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .spoolup-footer__meta-row{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    text-align: left;
  }

  .spoolup-footer__col--articles{
    grid-column: auto;
  }

  .spoolup-footer__articles-wrap{
    min-height: unset;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Hero stats
     ------------------------------------------------------------------------ */
  .mk-hero-microstats{
    grid-template-columns: repeat(2, 1fr);
  }

  .mk-kicker{
    width: 100%;
  }

  .mk-hero__copy{
    text-align: left;
  }

  .mk-hero-microstats,
  .mk-hero-microstat{
    max-width: 100%;
    width: 100%;
    margin-bottom: 10px;
  }

  .mk-hero__intro{
    text-align: left;
  }

  .mk-contact-hero__cards{
    padding-right: 0;
  }

  .mk-hero__inner{
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy-top"
      "visual"
      "copy-bottom";
    gap: 20px;
  }

  .mk-hero__copy,
  .mk-hero__copy--top,
  .mk-hero__copy--bottom{
    justify-items: start;
    text-align: left;
  }

  .mk-hero__visual{
    justify-content: flex-start;
    margin: 0;
    margin-top: 20px;
  }

  .mk-hero-signup{
    width: 100%;
  }

  .mk-hero-signup__head{
    text-align: left;
  }

  .mk-hero__actions{
    width: 100%;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Bottom search band
     ------------------------------------------------------------------------ */
  .mk-search-band-wrap,
  .mk-search-band,
  .mk-search-band__fab{
    display: none !important;
  }

  body.mk-has-bottom-search{
    padding-bottom: 0 !important;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Auth modal only
     ------------------------------------------------------------------------ */
  .mk-modal{
    padding: 0;
    place-items: stretch;
  }

  .mk-modal__panel{
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border: 0;
    display: flex;
    flex-direction: column;
  }

  .mk-modal__layout{
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr);
    height: 100%;
    min-height: 0;
  }

  .mk-modal__media{
    display: none;
  }

  .mk-modal__content{
    min-height: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
  }

  .mk-modal__bar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
  }

  .mk-modal__body{
    display: block;
    padding: 16px;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .mk-modal__body > * + *{
    margin-top: 16px;
  }

  .mk-auth-tabs--bar,
  .mk-auth-tabs--bar .mk-auth-tablink,
  .mk-modal__close{
    width: auto;
    max-width: none;
  }

  .mk-auth-tabs--bar{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .mk-auth-tabs--bar .mk-auth-tablink{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mk-modal__close{
    min-width: 36px;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
  }

  .mk-modal__bar-left--mobile-heading{
    display: grid;
    gap: 10px;
    margin-bottom: 6px;
  }

  .mk-modal__bar-left--mobile-heading .material-icons-outlined{
    color: var(--clr-primary);
  }

  .mk-modal__bar-left--mobile-heading .mk-modal__bar-title{
    font-size: var(--fs-400);
    line-height: 1.15;
  }

  .mk-modal__lead{
    margin: 0 0 4px 0;
  }

  .mk-modal__meta{
    grid-template-columns: 1fr;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Filter Flyout
     ------------------------------------------------------------------------ */
  .mk-flyout-backdrop{
    z-index: 9998;
  }

  .mk-flyout{
    top: 0;
    right: 0;
    left: 0;
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    min-height: 100dvh;
    border-left: 0;
    transform: translateX(100%);
    z-index: 9999;
    display: flex;
    flex-direction: column;
  }

  .mk-flyout__head{
    flex: 0 0 auto;
    padding: 16px;
  }

  .mk-flyout__body{
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 16px;
    gap: 16px;
  }

  .mk-flyout__foot{
    flex: 0 0 auto;
    margin-top: 0;
    padding: 16px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }

  #mkCloseFilters{
    width: 50px;
  }

  .mk-page-toolbar{
    display: none;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Split stats section
     ------------------------------------------------------------------------ */
  .mk-split-stats__grid{
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mk-split-stats__stats{
    grid-template-columns: repeat(2, 1fr);
  }

  .mk-split-stats__copy,
  .mk-split-stats__content{
    text-align: left;
  }

  .mk-split-stats__content{
    order: 1;
  }

  .mk-split-stats__stats{
    order: 2;
  }

  .mk-split-stats__actions{
    order: 3;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Team
     ------------------------------------------------------------------------ */
  .mk-team-head{
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .mk-team-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mk-team-card__body{
    text-align: left;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Shared split sections
     ------------------------------------------------------------------------ */
  .mk-split{
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .mk-split--reverse .mk-media,
  .mk-split--reverse .mk-copy{
    order: initial;
  }

  .mk-copy{
    text-align: left;
  }

  .mk-copy__actions{
    width: 100%;
    justify-content: flex-start;
    align-items: flex-start;
  }

  .mk-asset-grid,
  .mk-articles__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }



  .mk-signin-cta__inner{
    flex-direction: column;
    align-items: flex-start;
  }

  .mk-search{
    grid-template-columns: 1fr;
    max-width: 80%;
  }

  .mk-search__btn{
    width: 100%;
    min-width: 0;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Listings controls
     ------------------------------------------------------------------------ */
  .mk-listings-controls{
    flex-direction: column;
    align-items: stretch;
  }

  .mk-listings-row{
    flex-direction: column;
    align-items: stretch;
  }

  .mk-listings-left{
    max-width: 100%;
  }

  .mk-listings-left-inner{
    flex-direction: column;
    align-items: stretch;
    flex-wrap: wrap;
  }

  .mk-listings-right{
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
    display: block;
  }

  .mk-top-apus{
    max-width: 100%;
    justify-content: space-between;
    white-space: normal;
    display: none;
  }

  .mk-top-apus__list{
    justify-content: flex-start;
    flex-wrap: wrap;
    white-space: normal;
  }

  .mk-listing-card__actions-row{
    flex-direction: column;
  }

  .mk-filters-actions{
    width: 100%;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / CTA banner
     ------------------------------------------------------------------------ */
  .mk-cta-banner__inner{
    max-width: 92%;
    grid-template-columns: 1fr;
  }

  .mk-cta-banner__actions{
    justify-content: flex-start;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Partner grids
     ------------------------------------------------------------------------ */
  .mk-asset-grid--two{
    grid-template-columns: 1fr;
  }

  .mk-asset-card .mk-mini-cards{
    grid-template-columns: repeat(2, 1fr);
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Contact and map
     ------------------------------------------------------------------------ */
  .mk-map--fullbleed iframe{
    height: 420px;
  }

  .mk-hero-grid,
  .mk-contact-layout,
  .mk-contact-grid,
  .mk-contact-faq,
  .mk-contact-combined,
  .mk-contact-direct-grid{
    grid-template-columns: 1fr;
  }

  .mk-contact-hero__inner{
    grid-template-columns: 1fr;
    grid-template-areas:
      "intro"
      "form"
      "cards";
  }

  .mk-contact-hero__intro{
    padding-right: 0 !important;
    text-align: left;
  }

  .mk-contact-hero__cards{
    margin-top: 0;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Generic carousel
     ------------------------------------------------------------------------ */
  .mk-carousel__track{
    grid-auto-columns: calc((100% - var(--sp-4)) / 2);
  }

  .mk-carousel__arrow--left{
    left: -44px;
  }

  .mk-carousel__arrow--right{
    right: -44px;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Partners benefits
     ------------------------------------------------------------------------ */
  .mk-partners__benefits{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Offer Up layout
     ------------------------------------------------------------------------ */
  .mk-offerup__layout{
    grid-template-columns: 1fr;
  }

  .mk-offerup__content,
  .mk-offerup__media{
    grid-column: 1;
  }

  .mk-offerup__media{
    justify-self: start;
  }

  .mk-offerup__boxes--stack{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Insights cards
     ------------------------------------------------------------------------ */
  .mk-insights--light .mk-insights__head{
    flex-direction: column;
    align-items: flex-start;
  }

  .mk-insights--light .mk-insights__grid{
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Value props split
     ------------------------------------------------------------------------ */
  .mk-value-props__split{
    grid-template-columns: 1fr;
    gap: 26px;
    margin-bottom: 70px;
  }

  .mk-value-props__split .mk-copy,
  .mk-value-props__split .mk-media,
  .mk-value-props__split.mk-split--reverse .mk-copy,
  .mk-value-props__split.mk-split--reverse .mk-media{
    order: initial;
  }

  .mk-value-props .mk-media__box{
    min-height: 300px;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / APU top and details
     ------------------------------------------------------------------------ */
  .mk-apu-top{
    grid-template-columns: 1fr;
  }

  .mk-apu-lastop{
    min-height: 0;
    justify-items: start;
  }

  .mk-apu-lastop__logo{
    width: 220px;
  }

  .mk-apu-lastop--compact .mk-apu-lastop__logo,
  .mk-apu-lastop.mk-apu-lastop--compact .mk-apu-lastop__logo{
    width: 220px;
    max-height: none;
    aspect-ratio: 2 / 1;
  }

  .mk-apu-details-grid{
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .mk-apu-card--apu,
  .mk-apu-card--cert,
  .mk-apu-card--llp,
  .mk-apu-card--additional{
    grid-column: 1;
    grid-row: auto;
  }

  .mk-apu-top.mk-apu-top--v2{
    grid-template-columns: 1fr;
  }

  .mk-apu-actions-col{
    gap: var(--sp-3);
  }

  .mk-apu-lastop__label{
    text-align: left;
    width: 100%;
  }

  .mk-apu-lastop.mk-apu-lastop--compact{
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / APU content grids and timeline
     ------------------------------------------------------------------------ */
  .mk-apu-grid-2,
  .mk-apu-pairs-grid{
    grid-template-columns: 1fr;
  }

  .mk-data-table{
    min-width: 680px;
    width: max-content;
    min-width: 100%;
  }

  .mk-table-scroll{
    margin: 0 -16px;
    width: calc(100% + 32px);
    padding: 0 16px;
  }

  .mk-data-table th,
  .mk-data-table td{
    padding: 10px 12px;
  }

  .mk-data-table td.mk-col-tight,
  .mk-data-table th.mk-col-tight{
    width: auto;
    min-width: 110px;
  }

  .mk-data-table th:last-child,
  .mk-data-table td:last-child{
    min-width: 120px;
  }

  .mk-timeline-item{
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 12px;
  }

  .mk-timeline-list::before{
    left: 10px;
    transform: none;
  }

  .mk-timeline-dot{
    grid-column: 1;
  }

  .mk-timeline-card-box,
  .mk-timeline-card-box--left,
  .mk-timeline-card-box--right{
    grid-column: 2 !important;
    text-align: left !important;
  }

  .mk-timeline-logo{
    margin-left: 0 !important;
    margin-right: 0 !important;
    object-position: left center !important;
  }

  .mk-timeline-empty{
    display: none;
  }

  .mk-apu-utility-links{
    flex-direction: column;
    align-items: flex-start;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Alert rows
     ------------------------------------------------------------------------ */
  .mk-row--box{
    grid-template-columns: 1fr;
    justify-items: start;
    align-items: start;
    gap: 10px;
  }

  .mk-alert-icon{
    justify-self: start;
    text-align: left;
  }

  .mk-alert-actions{
    justify-self: start;
    text-align: left;
    flex-wrap: wrap;
    white-space: normal;
  }

  .mk-col-date{
    white-space: normal;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Account cards
     ------------------------------------------------------------------------ */
  .acct-grid{
    grid-template-columns: 1fr 1fr;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Article page
     ------------------------------------------------------------------------ */
  .mk-article-hero{
    padding: clamp(22px, 4vw, 34px) 0;
  }

  .mk-article-header__top{
    grid-template-columns: 1fr;
  }

  .mk-article-header__media{
    order: 2;
  }

  .mk-article-header__media img,
  .mk-article-header__media video{
    min-height: 220px;
  }

  .mk-article-header__intro{
    max-width: none;
  }

  .mk-article-body{
    grid-template-columns: 1fr;
  }

  .mk-article-aside{
    position: static;
    top: auto;
  }

  .mk-related{
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.10);
    padding-top: 18px;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Hero page video sizing
     ------------------------------------------------------------------------ */
  .mk-hero--page .mk-media__box--hero-video,
  .mk-hero--home .mk-media__box--hero-video,
  .mk-hero--insights .mk-media__box--hero-video{
    max-width: 100%;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Legal page
     ------------------------------------------------------------------------ */
  .mk-legal__body{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mk-legal__nav{
    position: static;
    top: auto;
  }

  .mk-legal__content{
    border: none;
    padding-left: 0;
    border-top: 1px solid var(--clr-text-muted);
    padding-top: 60px;
  }

  .mk-legal__nav-links a{
    font-size: var(--fs-300);
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Marketplace mini cards
     ------------------------------------------------------------------------ */
  .mk-mini-cards--marketplace{
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
  }

  .mk-mini-cards--marketplace .mk-mini{
    margin: 0;
    padding: 18px;
    border-radius: 12px;
  }

  .mk-mini-cards--marketplace .material-icons-outlined{
    font-size: 30px;
  }

  .mk-mini-cards--marketplace + .mk-copy__actions,
  .mk-copy .mk-copy__actions{
    margin-top: 40px;
  }

  .mk-split .mk-media,
  .mk-split .mk-copy{
    min-width: 0;
  }

  .mk-split .mk-media__box,
  .mk-split .mk-video-box{
    width: 100%;
    min-height: 0;
  }

  .mk-split .mk-video-embed{
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Assets carousel and mobile swipe behaviour
     ------------------------------------------------------------------------ */
  .mk-assets__head .btn{
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .mk-carousel__controls,
  .mk-carousel__arrow,
  .mk-carousel__arrow--left,
  .mk-carousel__arrow--right{
    display: none !important;
  }

  .mk-carousel__viewport{
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
  }

  .mk-carousel__track{
    grid-auto-columns: calc((100% - var(--sp-4)) / 2);
    overflow-x: auto;
    overflow-y: visible;
    padding-bottom: 10px;
    touch-action: pan-x pan-y;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .mk-carousel__track::-webkit-scrollbar{
    display: none;
  }

  .mk-carousel__slide{
    min-width: 0 !important;
    width: 100%;
    scroll-snap-align: start;
  }

  .mk-listing-card--summary .mk-listing-card__img{
    height: 220px;
  }

  .mk-carousel__dots{
    justify-content: center;
    margin-top: 12px;
  }

  .mk-assets__browse-btn--desktop{
    display: none !important;
  }

  .mk-assets__browse-btn--mobile{
    display: inline-flex;
    width: 100%;
    justify-content: center;
    margin-top: 18px;
  }

  .mk-carousel__swipe-note{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 0 14px;
    text-align: center;
    font-size: var(--fs-300);
    color: var(--clr-text-muted);
  }

  .mk-carousel__swipe-note .material-icons-outlined{
    font-size: 18px;
    color: var(--clr-primary);
  }

  .mk-assets__head{
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
    gap: 20px;
  }
}


/* ==========================================================================
   922px and down
   ========================================================================== */
@media (max-width: 922px){

    .mk-apu-actions__row{
    grid-template-columns: 1fr;
  }

  .mk-mini-cards, .mk-team-grid{
    grid-template-columns: repeat(1, 1fr);
  }


  .mk-hero-microstats{
    grid-template-columns: repeat(1, 1fr);
  }

  .mk-mini-cards--marketplace{
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .mk-hero__copy,
  .mk-hero__intro,
  .mk-hero__copy--top,
  .mk-hero__copy--bottom,
  .mk-hero-signup__head,
  .mk-split-stats__copy,
  .mk-split-stats__content,
  .mk-team-head,
  .mk-team-card__body,
  .mk-copy,
  .mk-contact-hero__intro,
  .mk-assets__head,
  .mk-apu-lastop__label,
  .mk-apu-lastop.mk-apu-lastop--compact,
  .mk-timeline-card-box,
  .mk-timeline-card-box--left,
  .mk-timeline-card-box--right,
  .spoolup-footer__grid > *,
  .spoolup-footer__links a,
  .spoolup-footer__view-all,
  .spoolup-footer__bottom,
  .spoolup-footer__bottom-copy,
  .spoolup-footer__meta,
  .spoolup-footer__meta-row{
    text-align: center;
  }

  .mk-hero__copy,
  .mk-hero__copy--top,
  .mk-hero__copy--bottom{
    justify-items: center;
  }

  .mk-copy__actions{
    justify-content: center;
    align-items: center;
  }

  .mk-team-head{
    align-items: center;
  }

  .mk-assets__head{
    align-items: center;
    justify-content: center;
  }

  .mk-apu-lastop.mk-apu-lastop--compact{
    align-items: center;
    justify-content: center;
  }

  .spoolup-footer__bottom{
    align-items: center;
    justify-content: center;
  }

  .spoolup-footer__meta{
    align-items: center;
  }

  .spoolup-footer__meta-row{
    justify-content: center;
  }



}


/* ==========================================================================
   768px and down
   ========================================================================== */
@media (max-width: 768px){

  /* ------------------------------------------------------------------------
     MARKETPLACE / Fonts
     ------------------------------------------------------------------------ */
  h1{
    font-size: var(--fs-600);
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Page toolbar
     ------------------------------------------------------------------------ */
  .mk-page-toolbar{
    align-items: flex-start;
    flex-direction: column;
  }

  .mk-page-toolbar__right{
    justify-content: flex-start;
    margin-left: 0;
    text-align: left;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Listings page
     ------------------------------------------------------------------------ */
  .mk-listings-head{
    flex-direction: column;
    align-items: flex-start;
  }

  .mk-listing-grid{
    grid-template-columns: 1fr;
  }

  .mk-listing-card__img{
    height: 230px;
  }

  .mk-signin-cta__text{
    margin-bottom: 20px;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Partner grids
     ------------------------------------------------------------------------ */
  .mk-asset-grid--three{
    grid-template-columns: 1fr;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Video overlay
     ------------------------------------------------------------------------ */
  .mk-video-overlay__bg{
    width: 72px;
    height: 72px;
  }

  .mk-video-overlay__play{
    border-top-width: 12px;
    border-bottom-width: 12px;
    border-left-width: 18px;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Offer Up modal table tools
     ------------------------------------------------------------------------ */
  .mk-offerup-modal__tools{
    flex-direction: column;
    align-items: stretch;
  }

  .mk-offerup-modal__count{
    white-space: normal;
  }

  .mk-offerup-modal__table,
  .mk-offerup-modal__row{
    grid-template-columns:
      140px
      240px
      140px
      120px
      80px
      200px;
  }

  .mk-offerup-table{
    grid-template-columns:
      140px
      240px
      140px
      120px
      80px
      200px;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Stand rentals cards
     ------------------------------------------------------------------------ */
  .mk-stand-rentals__cards{
    grid-template-columns: 1fr;
  }

  .mk-stand-rentals__card{
    min-height: 220px;
    border-radius: 10px;
  }

  .mk-stand-rentals__icon{
    font-size: 54px;
  }

  .mk-stand-rentals__card-title{
    font-size: 24px;
  }

  .mk-stand-rentals__copy{
    text-align: center;
  }

  .mk-stand-rentals__grid,
  .mk-split--image-left{
    gap: 40px;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Asset card CTA buttons
     ------------------------------------------------------------------------ */
  .mk-asset-card__btn--fixed{
    width: 92%;
  }
}


/* ==========================================================================
   640px and down
   ========================================================================== */
@media (max-width: 640px){

  /* ------------------------------------------------------------------------
     GLOBAL / Sticky actions
     ------------------------------------------------------------------------ */
  .sticky-actions__btn,
  .sticky-actions__link{
    height: 60px;
    padding: 0 14px;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Split stats section
     ------------------------------------------------------------------------ */
  .mk-split-stats__stats{
    grid-template-columns: 1fr;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Articles
     ------------------------------------------------------------------------ */
  .mk-articles__grid{
    grid-template-columns: 1fr;
  }

  .mk-article__img{
    height: 160px;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Dashboard KPI cards
     ------------------------------------------------------------------------ */
  .kpi-card{
    grid-column: span 12;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Account cards
     ------------------------------------------------------------------------ */
  .acct-grid{
    grid-template-columns: 1fr;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Generic carousel
     ------------------------------------------------------------------------ */
  .mk-carousel__track{
    grid-auto-columns: 100%;
  }

  .mk-carousel__arrow--left{
    left: -38px;
  }

  .mk-carousel__arrow--right{
    right: -38px;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Partners benefits
     ------------------------------------------------------------------------ */
  .mk-partners__benefits{
    grid-template-columns: 1fr;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Offer Up
     ------------------------------------------------------------------------ */
  .mk-offerup__coming-soon{
    top: -8px;
    right: -8px;
    padding: 7px 12px;
  }

  .mk-offerup__boxes--stack{
    grid-template-columns: 1fr;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Insights cards
     ------------------------------------------------------------------------ */
  .mk-insights--light .mk-insights__grid{
    grid-template-columns: 1fr;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Quote request modal
     ------------------------------------------------------------------------ */
  #quoteRequestModal .mk-quote-prices{
    grid-template-columns: 1fr;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Legal page
     ------------------------------------------------------------------------ */
  .mk-legal{
    padding: 30px 0 48px;
  }

  .mk-legal__title{
    font-size: 30px;
  }

  .mk-legal__content h2{
    font-size: 24px;
  }

  .mk-legal__content p,
  .mk-legal__content li,
  .mk-legal__intro{
    font-size: 15px;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Marketplace mini cards
     ------------------------------------------------------------------------ */
  .mk-mini-cards--marketplace{
    grid-template-columns: 1fr;
  }

  .mk-copy__actions .btn{
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Assets carousel detail cards
     ------------------------------------------------------------------------ */
  .mk-listing-card--summary .mk-listing-card__img{
    height: 200px;
  }

  .mk-listing-card__body{
    padding: 16px;
  }

  .mk-listing-meta{
    gap: 8px;
  }

  .mk-listing-meta__row{
    gap: 12px;
    padding: 8px 0;
  }
}


/* ==========================================================================
   520px and down
   ========================================================================== */
@media (max-width: 520px){

  /* ------------------------------------------------------------------------
     GLOBAL / Small modal spacing
     ------------------------------------------------------------------------ */
  .su-modal-backdrop{
    padding: 14px;
  }

  .su-modal .card-body{
    padding: 14px !important;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Hero stats
     ------------------------------------------------------------------------ */
  .mk-hero-microstats{
    grid-template-columns: 1fr;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Hero signup
     ------------------------------------------------------------------------ */
  .mk-hero-signup{
    padding: 20px;
  }

  .mk-hero-signup__grid--company,
  .mk-hero-signup__grid{
    grid-template-columns: 1fr;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Feature rows
     ------------------------------------------------------------------------ */
  .mk-feature-row{
    grid-template-columns: 30px 1fr 20px;
    padding: 9px 10px;
  }

  .mk-feature-ico{
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }

  .mk-feature-ico .material-icons-outlined{
    font-size: 17px;
  }

  /* ------------------------------------------------------------------------
     MARKETPLACE / Asset mini cards
     ------------------------------------------------------------------------ */
  .mk-asset-card .mk-mini-cards{
    grid-template-columns: 1fr;
  }
}