.fds-cg {
  --fds-cg-gap: 27px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: start;
  align-items: start;
}

.fds-cg__tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid #d6d6d6;
  width: fit-content;
}

.fds-cg__tab {
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #262626;
  padding: 10px 12px 9px;
  margin-bottom: -1px;
  font-size: 34px;
  line-height: 1.2;
  font-weight: 400;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.fds-cg__tab:hover {
  border-color: transparent;
}

.fds-cg__tab.is-active {
  color: #0033a1;
  border-bottom-color: #0033a1;
}

.fds-cg__tab:focus-visible {
  outline: 2px solid #0033a1;
  outline-offset: 2px;
}

.fds-cg__panel {
  display: none;
}

.fds-cg__panel.is-active {
  display: block;
}

.fds-cg__grid {
  display: grid;
  grid-template-columns: repeat(var(--fds-cg-columns-desktop, 7), minmax(0, 1fr));
  gap: var(--fds-cg-gap);
}

.fds-cg__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  padding: 8px;
}

.fds-cg__logo[hidden] {
  display: none !important;
}

.fds-cg__logo img {
  max-width: 100%;
  max-height: 56px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.fds-cg__actions {
  margin-top: 24px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
}

.fds-cg__btn {
  display: flex;
  padding: 12px 24px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  grid-row: span 1;
  grid-column: span 1;
  justify-self: stretch;
  border-radius: 0 12px;
  border: 1px solid transparent;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
  cursor: pointer;
}

.fds-cg__btn img {
  width: 20px;
  height: 20px;
}

.fds-cg__btn--more {
  background: #002395;
  color: #ffffff;
}

.fds-cg__btn[hidden] {
  display: none !important;
}

@media (max-width: 1024px) {
  .fds-cg__grid {
    grid-template-columns: repeat(var(--fds-cg-columns-tablet, 4), minmax(0, 1fr));
  }

  .fds-cg__tab {
    font-size: 28px;
  }
}

@media (max-width: 767px) {
  .fds-cg__grid {
    grid-template-columns: repeat(var(--fds-cg-columns-mobile, 2), minmax(0, 1fr));
    gap: 12px;
  }

  .fds-cg__tabs {
    gap: 2px;
    scrollbar-width: thin;
  }

  .fds-cg__tab {
    font-size: 18px;
    white-space: nowrap;
    padding: 10px 10px 8px;
  }
}
