.text-shortcut {
  display: grid;
  grid-gap: var(--g-gap);
}

.text-shortcut__title {
  color: rgb(var(--c-primary));
  font-size: var(--f-size-l-1);
}

.text-shortcut__item {
  padding: var(--g-gap) 4rem var(--g-gap) var(--g-gap);
  display: block;
  position: relative;
  overflow: hidden;
  height: 100%;
  transition: all 0.3s ease 0s;
  -webkit-transition: all 0.3s ease 0s;
  -moz-transition: all 0.3s ease 0s;
  background-color: rgb(var(--c-neutral-lighter));
}

.accordion.-vertical .accordion__item .text-shortcut__item,
.frame-bg-grey .text-shortcut__item {
  background-color: rgb(var(--c-neutral-lightest));
}

.text-shortcut__arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.text-shortcut__arrowpath {
  fill: none;
  stroke: rgb(var(--c-primary));
}

.text-shortcut__link {
  position: relative;
  color: rgb(var(--c-neutral-dark));
}

.text-shortcut__link::after {
  position: absolute;
  right: 1rem;
  top: 1rem;
}

.text-shortcut__link[rel="noopener"]::after,
.text-shortcut__link[rel="noreferrer"]::after,
.text-shortcut__link[rel="noopener noreferrer"]::after,
.text-shortcut__link[rel="noopener noreferrer nofollow"]::after,
.text-shortcut__link.external-link-new-window::after,
.text-shortcut__link.link-external::after {
  content: "" !important;
}

.text-shortcut__link[rel="noopener"] .text-shortcut__title::after,
.text-shortcut__link[rel="noreferrer"] .text-shortcut__title::after,
.text-shortcut__link[rel="noopener noreferrer"] .text-shortcut__title::after,
.text-shortcut__link[rel="noopener noreferrer nofollow"]
  .text-shortcut__title::after,
.text-shortcut__link.external-link-new-window .text-shortcut__title::after,
.text-shortcut__link.link-external .text-shortcut__title::after {
  content: "\f08e";
  font-family: "FaRegular";
  display: inline-block;
  margin-left: 5px;
  font-size: 10px;
  vertical-align: super;
}

@media (hover: hover) {
  .accordion.-vertical .accordion__item .text-shortcut__item:hover,
  .content .frame-bg-grey .text-shortcut__item:hover,
  .text-shortcut__item:hover {
    background-color: rgb(var(--c-primary));
  }

  .text-shortcut__item:hover,
  .text-shortcut__item:hover .text-shortcut__description,
  .text-shortcut__item:hover .text-shortcut__title {
    color: rgb(var(--c-neutral-lightest));
  }

  .text-shortcut__item:hover .text-shortcut__arrowpath {
    stroke: rgb(var(--c-neutral-lightest));
  }
}

/* =============================================================================
   Media Queries
   ========================================================================== */

@media (min-width: 320px) {
  .text-shortcut[data-ce-columns="2"] {
    grid-template-columns: 1fr;
  }

  .text-shortcut[data-ce-columns="4"] {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 640px) {
  .text-shortcut[data-ce-columns="2"] {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 800px) {
  .text-shortcut[data-ce-columns="3"] {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .text-shortcut[data-ce-columns="4"] {
    grid-template-columns: repeat(4, 1fr);
  }
}
