.feed-current-status,
.feed-pagination-tail {
  width: min(100%, 640px);
  box-sizing: border-box;
  margin-left: auto;
  margin-right: auto;
}

.feed-current-status {
  display: grid;
  gap: 5px;
  padding: 17px 18px 19px;
  margin-top: 8px;
  margin-bottom: 18px;
  border-bottom:
    1px solid rgba(255,255,255,.08);
  text-align: center;
}

.feed-current-status strong {
  font-size: .96rem;
  font-weight: 700;
}

.feed-current-status span {
  opacity: .58;
  font-size: .8rem;
  line-height: 1.45;
}

.feed-pagination-tail {
  margin-top: 26px;
  margin-bottom: 34px;
}

.feed-pagination-more {
  display: flex;
  justify-content: center;
}

.feed-pagination-more-button {
  min-height: 44px;
  padding: 0 18px;
  border:
    1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background:
    rgba(255,255,255,.055);
  color: inherit;
  font: inherit;
  font-size: .86rem;
  font-weight: 650;
  cursor: pointer;
}

.feed-pagination-more-button:hover {
  background:
    rgba(255,255,255,.09);
}

.feed-pagination-more-button:disabled {
  opacity: .55;
  cursor: wait;
}

@media (max-width: 680px) {
  .feed-current-status,
  .feed-pagination-tail {
    width: 100%;
  }

  .feed-current-status {
    margin-top: 4px;
    margin-bottom: 14px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .feed-pagination-tail {
    margin-top: 20px;
    margin-bottom: 28px;
  }

  .feed-pagination-more-button {
    width:
      calc(100% - 28px);
  }
}

/*
  ============================================================
  GRFTSH ASSOCIATION EVENT CARD V1.1
  ============================================================
*/

.feed-event-card {
  width: min(100%, 640px);
  box-sizing: border-box;
  margin: 0 auto;
  padding: 18px;
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.025);

  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title eyebrow"
    "meta prices"
    "gear link";
  column-gap: 28px;
  row-gap: 12px;
  align-items: start;
}


/* TITRE */

.feed-event-title {
  grid-area: title;

  margin: 0;
  min-width: 0;

  font-size: 1.08rem;
  line-height: 1.3;
  font-weight: 750;
}


/* LABEL ÉVÉNEMENT */

.feed-event-eyebrow {
  grid-area: eyebrow;

  margin: 2px 0 0;

  color: #ff3b7a;

  font-size: .72rem;
  font-weight: 800;
  line-height: 1.2;

  letter-spacing: .09em;
  text-transform: uppercase;

  text-align: right;
  white-space: nowrap;
}


/* DATE + LIEU */

.feed-event-meta {
  grid-area: meta;

  display: grid;
  gap: 5px;

  min-width: 0;

  font-size: .88rem;
  line-height: 1.45;
}

.feed-event-meta-row {
  opacity: .78;
}


/* TARIFS */

.feed-event-prices {
  grid-area: prices;

  display: grid;
  gap: 5px;

  margin: 0;

  font-size: .82rem;
  line-height: 1.45;

  text-align: right;
  white-space: nowrap;
}

.feed-event-prices span {
  opacity: .74;
}

.feed-event-prices strong {
  margin-right: 4px;

  opacity: 1;
  font-weight: 700;
}


/* GEAR */

.feed-event-gear {
  grid-area: gear;

  display: flex;
  flex-wrap: wrap;
  align-items: center;

  gap: 7px;

  margin: 0;
}

.feed-event-gear-chip {
  display: inline-flex;
  align-items: center;

  min-height: 28px;
  padding: 4px 9px;

  border: 1px solid rgba(255,255,255,.1);
  border-radius: 999px;

  background: rgba(255,255,255,.05);

  font-size: .76rem;
  line-height: 1;
}


/* BOUTON */

.feed-event-link {
  grid-area: link;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 38px;

  margin: 0;
  padding: 0 14px;

  border: 1px solid rgba(255,255,255,.14);
  border-radius: 9px;

  background: rgba(255,255,255,.065);
  color: inherit;

  font-size: .82rem;
  font-weight: 700;

  text-decoration: none;
  white-space: nowrap;

  transition:
    background .15s ease,
    border-color .15s ease;
}

.feed-event-link:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.2);
}


/*
  Smartphone :
  retour à une lecture verticale.
*/

@media (max-width: 680px) {

  .feed-event-card {
    width: 100%;

    padding-left: 14px;
    padding-right: 14px;

    grid-template-columns: minmax(0, 1fr) auto;

    grid-template-areas:
      "title eyebrow"
      "meta meta"
      "gear gear"
      "prices prices"
      "link link";

    column-gap: 12px;
    row-gap: 11px;
  }


  .feed-event-eyebrow {
    font-size: .67rem;
  }


  .feed-event-prices {
    display: flex;
    flex-wrap: wrap;

    gap: 6px 16px;

    text-align: left;
    white-space: normal;
  }


  .feed-event-link {
    width: 100%;
    box-sizing: border-box;
  }
}



/*
  ============================================================
  GRFTSH FEED MOBILE PULL TO REFRESH V1
  ============================================================
*/

.feed-pull-refresh {
  display: none;
}


@media (max-width: 699px) {

  .feed-pull-refresh {
    display: flex;

    width: 100%;
    height: 0;

    box-sizing: border-box;

    justify-content: center;
    align-items: flex-end;

    overflow: hidden;

    transition:
      height .18s ease;

    pointer-events: none;
  }


  .feed-pull-refresh-inner {
    display: flex;

    min-height: 48px;

    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 4px 14px 8px;

    box-sizing: border-box;

    color:
      rgba(255,255,255,.66);

    font-size: .78rem;
    font-weight: 650;

    transition:
      color .15s ease,
      opacity .15s ease;
  }


  .feed-pull-refresh-spinner {
    display: block;

    width: 15px;
    height: 15px;

    box-sizing: border-box;

    border:
      2px solid rgba(255,255,255,.20);

    border-top-color:
      rgba(255,255,255,.72);

    border-radius: 50%;

    transition:
      transform .18s ease;
  }


  .feed-pull-refresh.is-ready
  .feed-pull-refresh-inner {
    color:
      rgba(255,255,255,.92);
  }


  .feed-pull-refresh.is-ready
  .feed-pull-refresh-spinner {
    transform:
      rotate(180deg);
  }


  .feed-pull-refresh.is-refreshing
  .feed-pull-refresh-spinner {
    animation:
      grftsh-feed-refresh-spin
      .72s linear infinite;
  }


  .feed-pull-refresh.is-refreshed
  .feed-pull-refresh-spinner {
    opacity: .45;
  }

}


@keyframes grftsh-feed-refresh-spin {

  to {
    transform:
      rotate(360deg);
  }

}
