/* =========================================================
   FAST LINKS
========================================================= */

.fast-links {
  position: relative;

  float: left;

  width: min(360px, 34%);

  margin: 6px 24px 18px 0;

  padding: 0 16px 14px;

  overflow: hidden;

  border: 1px solid rgba(129, 183, 216, 0.12);

  border-radius: 12px;

  background: linear-gradient(180deg, rgba(18, 50, 67, 0.96) 0%, rgba(14, 42, 57, 0.98) 100%);

  box-shadow: 0 10px 28px rgba(2, 17, 25, 0.1);
}

/* =========================================================
   TITLE
========================================================= */

.fast-links__title {
  position: relative;

  display: flex;
  align-items: center;

  min-height: 52px;

  margin: 0;

  padding: 0 4px;

  border-bottom: 1px solid rgba(141, 190, 219, 0.1);

  color: #f2f7fa;

  font-size: 13px;
  line-height: 1;

  font-weight: 800;

  letter-spacing: -0.1px;
}

/* =========================================================
   LIST
========================================================= */

.fast-links__list {
  display: grid;

  gap: 4px;

  width: 100%;

  margin: 10px 0 0;
  padding: 0;

  list-style: none;
}

/* =========================================================
   ITEM
========================================================= */

.fast-links__item {
  position: relative;

  display: flex;
  align-items: center;

  width: 100%;
  min-height: 44px;

  padding: 10px 34px 10px 8px;

  border-radius: 7px;

  background: transparent;

  color: #b7cad5;

  font-size: 12.5px;
  line-height: 1.35;

  font-weight: 650;

  text-decoration: none !important;

  transition:
    color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease,
    padding-left 0.18s ease;
}

/* =========================================================
   ARROW
========================================================= */

.fast-links__item::after {
  position: absolute;

  top: 50%;
  right: 9px;

  width: 7px;
  height: 7px;

  border-top: 1.5px solid #6f91a5;

  border-right: 1.5px solid #6f91a5;

  content: '';

  transform: translateY(-50%) rotate(45deg);

  transition:
    right 0.18s ease,
    border-color 0.18s ease;
}

/* =========================================================
   HOVER
========================================================= */

@media (hover: hover) and (pointer: fine) {
  .fast-links__item:hover {
    color: #ffffff;

    background: linear-gradient(90deg, rgba(43, 137, 204, 0.11), rgba(43, 137, 204, 0.025));

    padding-left: 12px;

    transform: translateX(2px);
  }

  .fast-links__item:hover::after {
    right: 7px;

    border-color: #78c2f2;
  }
}

/* =========================================================
   ACTIVE
========================================================= */

.fast-links__item:active {
  transform: translateX(1px) scale(0.995);
}

/* =========================================================
   FOCUS
========================================================= */

.fast-links__item:focus-visible {
  outline: 2px solid rgba(75, 164, 225, 0.48);

  outline-offset: 1px;
}
/* =========================================================
   TABLET / NARROW DESKTOP
========================================================= */

@media (max-width: 1100px) {
  .fast-links {
    float: none !important;
    clear: both;

    width: 100% !important;
    max-width: 100%;

    margin: 20px 0 26px;

    padding: 0 14px 14px;

    border-radius: 10px;
  }

  /* =======================================================
     TITLE
  ======================================================= */

  .fast-links__title {
    min-height: 48px;

    margin: 0;

    padding: 0 4px;

    font-size: 13px;
  }

  /* =======================================================
     LIST
  ======================================================= */

  .fast-links__list {
    display: grid;

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

    gap: 5px 8px;

    width: 100%;

    margin: 9px 0 0;
  }

  /* =======================================================
     ITEM
  ======================================================= */

  .fast-links__item {
    width: 100%;
    min-height: 40px;

    padding: 8px 30px 8px 9px;

    font-size: 12px;
    line-height: 1.35;

    white-space: normal;
  }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 620px) {
  .fast-links {
    margin: 18px 0 24px;

    padding: 0 12px 12px;

    border-radius: 9px;
  }

  .fast-links__title {
    min-height: 45px;

    font-size: 12.5px;
  }

  .fast-links__list {
    grid-template-columns: 1fr;

    gap: 3px;

    margin-top: 7px;
  }

  .fast-links__item {
    min-height: 40px;

    padding: 8px 30px 8px 8px;

    font-size: 12px;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {
  .fast-links {
    padding: 0 10px 10px;
  }

  .fast-links__title {
    min-height: 43px;

    font-size: 12px;
  }

  .fast-links__item {
    min-height: 38px;

    font-size: 11.5px;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .fast-links__item,
  .fast-links__item::after {
    transition: none !important;
  }
}
