/**
 * ONLY width 768px: 2 cards per row on list pages
 * /events/, /collaborations/, /personal/pets/care/, /personal/posts/
 *
 * Does NOT touch phone (≤767), 820, 1024, or PC (≥1200).
 * Scoped selectors only — do not edit custom.css / custom.min.css.
 */

@media (min-width: 768px) and (max-width: 768.98px) {
  /* /events/ */
  .index__posts.events-page-cards > .index__post:not(.index__post_full):not(.index__post_be-part):not(.index__post_curator-advice):not(.index__post_feed-banner) {
    width: calc(50% - 7.5px) !important;
    flex: 0 0 calc(50% - 7.5px) !important;
    max-width: calc(50% - 7.5px) !important;
    box-sizing: border-box !important;
  }

  /* /collaborations/ */
  .index__posts.collaborations-page-cards > .index__post:not(.index__post_full):not(.index__post_be-part):not(.index__post_curator-advice):not(.index__post_feed-banner) {
    width: calc(50% - 7.5px) !important;
    flex: 0 0 calc(50% - 7.5px) !important;
    max-width: calc(50% - 7.5px) !important;
    box-sizing: border-box !important;
  }

  /* /personal/posts/ */
  .person__form-content .index__posts.personal-publications-posts > .index__post:not(.index__post_full):not(.index__post_be-part):not(.index__post_curator-advice):not(.index__post_feed-banner),
  .person__form-content .index__posts.personal-publications-articles > .index__post:not(.index__post_full):not(.index__post_be-part) {
    width: calc(50% - 7.5px) !important;
    flex: 0 0 calc(50% - 7.5px) !important;
    max-width: calc(50% - 7.5px) !important;
    box-sizing: border-box !important;
  }

  /*
   * /personal/pets/care/ hub — phone.css forces 1-col at max-width:768.
   * At exactly 768 show 2 (column-gap 20px from care-equal.css).
   */
  .person__form-content.pet-care-page.personal-pets-care ul.pet-list.pet-care-hub__list > .pet-item,
  .person__form-content.pet-care-page.personal-pets-care .pet-list.pet-care-hub__list > .pet-item,
  .personal-pets-care ul.pet-list.pet-care-hub__list > .pet-item,
  .personal-pets-care .pet-list.pet-care-hub__list > .pet-item,
  .personal-pets-care .pet-care-hub__list > .pet-item {
    width: calc((100% - 20px) / 2) !important;
    flex: 0 0 calc((100% - 20px) / 2) !important;
    max-width: calc((100% - 20px) / 2) !important;
    box-sizing: border-box !important;
  }
}
