#import "../System.graphql"
#import "./ContentCard.graphql"
#import "../PageLink/AccountPageLink.graphql"
#import "../PageLink/CollectionPageLink.graphql"
#import "../PageLink/ContentPageLink.graphql"
#import "../PageLink/DestinationCityPageLink.graphql"
#import "../PageLink/DestinationCountryPageLink.graphql"
#import "../PageLink/DestinationOverviewPageLink.graphql"
#import "../PageLink/HotelPageLink.graphql"
#import "../PageLink/LoyaltyPageLink.graphql"
#import "../PageLink/StartPageLink.graphql"

#import "../AccountPage/Ref.graphql"
#import "../ContentPage/Ref.graphql"
#import "../HotelPage/Ref.graphql"
#import "../LoyaltyPage/Ref.graphql"
#import "../CollectionPage/Ref.graphql"
#import "../DestinationCityPage/Ref.graphql"
#import "../DestinationCountryPage/Ref.graphql"
#import "../DestinationOverviewPage/Ref.graphql"

fragment CardGallery_DestinationOverviewPage on DestinationOverviewPageBlocksCardGallery {
  card_gallery {
    heading
    card_groups {
      filter_identifier
      filter_label
      cardsConnection {
        edges {
          node {
            ...ContentCardBlock
          }
        }
      }
    }
    link {
      cta_text
      is_contentstack_link
      open_in_new_tab
      external_link {
        href
        title
      }
      linkConnection {
        edges {
          node {
            __typename
            ...AccountPageLink
            ...CollectionPageLink
            ...ContentPageLink
            ...DestinationCityPageLink
            ...DestinationCountryPageLink
            ...DestinationOverviewPageLink
            ...HotelPageLink
            ...LoyaltyPageLink
          }
        }
      }
    }
  }
}

fragment CardGallery_DestinationOverviewPageRefs on DestinationOverviewPageBlocksCardGallery {
  card_gallery {
    card_groups {
      cardsConnection {
        edges {
          node {
            ...ContentCardBlockRef
          }
        }
      }
    }
    link {
      linkConnection {
        edges {
          node {
            __typename
            ...AccountPageRef
            ...CollectionPageRef
            ...ContentPageRef
            ...DestinationCityPageRef
            ...DestinationCountryPageRef
            ...DestinationOverviewPageRef
            ...HotelPageRef
            ...LoyaltyPageRef
          }
        }
      }
    }
  }
}
