#import "../System.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"
#import "../StartPage/Ref.graphql"

fragment ContentCardBlock on ContentCard {
  __typename
  title
  heading
  image
  body_text
  has_card_link
  promo_text
  card_link {
    is_contentstack_link
    open_in_new_tab
    external_link {
      href
      title
    }
    linkConnection {
      edges {
        node {
          __typename
          ...AccountPageLink
          ...CollectionPageLink
          ...ContentPageLink
          ...DestinationCityPageLink
          ...DestinationCountryPageLink
          ...DestinationOverviewPageLink
          ...HotelPageLink
          ...LoyaltyPageLink
          ...StartPageLink
        }
      }
    }
  }
  system {
    ...System
  }
}

fragment ContentCardBlockRef on ContentCard {
  __typename
  card_link {
    linkConnection {
      edges {
        node {
          __typename
          ...AccountPageRef
          ...CollectionPageRef
          ...ContentPageRef
          ...DestinationCityPageRef
          ...DestinationCountryPageRef
          ...DestinationOverviewPageRef
          ...HotelPageRef
          ...LoyaltyPageRef
          ...StartPageRef
        }
      }
    }
  }
  system {
    ...System
  }
}
