.fc-results {
  --fc-blue: var(--brand--blue, #0070e0);
  --fc-border: #c9def5;
  --fc-skeleton: #ebebeb;
  --fc-skeleton-sheen: #f5f5f5;

  border-top: 1px solid var(--fc-border);
  border-bottom: 1px solid var(--fc-border);
  font-family: var(--font-family--body, Poppins, Arial, sans-serif);
}

@media (min-width: 1270px) {
  .fc-results {
    max-width: 1072px;
    margin: 0 auto;
  }
}

.fc-results-standby-hint {
  margin: 0;
  padding: 16px;
  border: 1px dashed var(--brand--blue, #0070e0);
  color: #55636f;
  font-family: var(--font-family--body, Poppins, Arial, sans-serif);
  font-size: 14px;
  text-align: center;
}

/* ---- Group: one organisation ---- */

.fc-results-group {
  padding: 24px 0;
  border-bottom: 1px solid var(--fc-border);
}

.fc-results-group:last-child {
  border-bottom: 0;
}

@media (min-width: 640px) {
  .fc-results-group {
    padding: 40px 0;
  }
}

.fc-results-group-body {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  row-gap: 2rem;
  margin-top: 40px;
}

@media (min-width: 834px) {
  .fc-results-group-body {
    justify-content: space-between;
    margin-top: 4rem;
  }
}

@media (min-width: 1087px) {
  .fc-results-group-body {
    justify-content: flex-start;
    column-gap: 72px;
  }
}

.fc-results-logo-column,
.fc-results-detail-column {
  width: 100%;
}

@media (min-width: 834px) {
  .fc-results-logo-column {
    width: 27%;
  }
  .fc-results-detail-column {
    width: 63%;
  }
}

@media (min-width: 1087px) {
  .fc-results-logo-column {
    width: 296px;
  }
}

.fc-results-logo {
  display: block;
  width: 296px;
  max-width: 100%;
  height: 124px;
  margin: 0 auto;
  object-fit: contain;
}

.fc-results-badge {
  display: block;
  margin: 0 auto 8px;
}

.fc-results-title {
  margin-bottom: 40px;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
}

@media (min-width: 834px) {
  .fc-results-title {
    max-width: 280px;
    margin-bottom: 1rem;
    text-align: left;
  }
}

.fc-results-description {
  margin-bottom: 1rem;
  color: #808ca4;
}

/* ---- Location within a group ---- */

.fc-results-location {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--fc-border);
}

.fc-results-location:first-child {
  padding-top: 0;
  border-top: 0;
}

@media (min-width: 640px) {
  .fc-results-location {
    flex-direction: row;
    gap: 5rem;
  }
  .fc-results-location:last-child {
    padding-bottom: 3rem;
  }
}

@media (min-width: 834px) {
  .fc-results-location:last-child {
    padding-bottom: 4rem;
  }
}

@media (min-width: 1087px) {
  .fc-results-location {
    justify-content: flex-start;
    column-gap: 72px;
  }
}

@media (min-width: 640px) {
  .fc-results-location-address {
    width: 40%;
  }
  .fc-results-location-contact {
    width: 45%;
  }
}

@media (min-width: 834px) {
  .fc-results-location-contact {
    width: 43%;
  }
}

@media (min-width: 1087px) {
  .fc-results-location-address,
  .fc-results-location-contact {
    width: 290px;
  }
}

.fc-results-heading {
  margin-bottom: 8px;
  font-weight: 600;
}

.fc-results-address {
  margin: 0;
}

@media (min-width: 1087px) {
  .fc-results-address {
    width: 17rem;
  }
}

.fc-results-contact-label {
  font-weight: 600;
}

.fc-results-contact-row {
  display: flex;
  flex-wrap: nowrap;
  margin-top: 8px;
  align-items: center;
}

.fc-results-icon {
  width: 2.25rem;
  min-width: 2.25rem;
  color: currentColor;
  flex: none;
}

.fc-results-link {
  color: var(--fc-blue);
  font-size: 14px;
  font-weight: 600;
  line-height: 25px;
  text-decoration: none;
  word-break: break-all;
}

.fc-results-link:hover {
  text-decoration: underline;
}

.fc-results-fax-note {
  font-size: 14px;
}

/* ---- More locations toggle ---- */

.fc-results-toggle {
  display: block;
  margin: 34px auto 0;
  padding: 8px 24px;
  border: 2px solid var(--fc-blue);
  border-radius: 0.5rem;
  background: transparent;
  color: var(--fc-blue);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease-in;
}

.fc-results-toggle:hover {
  background: #f5faff;
  opacity: 0.88;
}

@media (min-width: 640px) {
  .fc-results-toggle {
    margin-top: 60px;
  }
}

/* ---- Empty, error and loading states ---- */

.fc-results-message {
  padding: 104px 0;
  text-align: center;
}

.fc-results-message-image {
  display: block;
  width: 250px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .fc-results-message-image {
    width: auto;
  }
}

.fc-results-message-title {
  margin-top: 1.5rem;
  font-size: 20px;
  font-weight: 600;
}

.fc-results-skeleton {
  background-color: var(--fc-skeleton);
  background-image: linear-gradient(
    90deg,
    var(--fc-skeleton),
    var(--fc-skeleton-sheen),
    var(--fc-skeleton)
  );
  background-size: 200px 100%;
  background-repeat: no-repeat;
  border-radius: 4px;
  animation: fc-results-shimmer 1.5s ease-in-out infinite;
}

@keyframes fc-results-shimmer {
  to {
    background-position: calc(100% + 200px) 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fc-results-skeleton {
    animation: none;
  }
}

.fc-results-jobber {
  padding: 64px 0;
  border-bottom: 1px solid var(--fc-border);
}

.fc-results-jobber:last-child {
  border-bottom: 0;
}

@media (min-width: 640px) {
  .fc-results-jobber {
    padding: 80px 0;
  }
}

@media (min-width: 834px) {
  .fc-results-jobber {
    padding: 104px 0;
  }
}

.fc-results-jobber-row {
  display: flex;
  flex-direction: column;
  row-gap: 32px;
}

@media (min-width: 640px) {
  .fc-results-jobber-row {
    flex-flow: row wrap;
    column-gap: 48px;
    row-gap: 48px;
  }
}

@media (min-width: 834px) {
  .fc-results-jobber-row {
    column-gap: 92px;
    row-gap: 64px;
  }
}

.fc-results-jobber-column {
  width: 100%;
}

@media (min-width: 640px) {
  .fc-results-jobber-column {
    width: 40%;
    max-width: 296px;
  }
}

@media (min-width: 834px) {
  .fc-results-jobber-column {
    width: 26%;
  }
}

.fc-results-jobber .fc-results-logo {
  width: auto;
  margin: 0;
}

.fc-results-jobber-site {
  margin-top: 24px;
}

.fc-results-jobber-title {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 600;
  line-height: 30px;
}

.fc-results-jobber .fc-results-badge {
  width: auto;
  max-width: 100%;
  height: 48px;
  margin: 0 0 8px;
}

.fc-results-jobber .fc-results-toggle {
  margin-top: 40px;
  border-width: 1.6px;
}

