body {
  margin: 0;
  line-height: normal;
}

:root {
  /* fonts */
  --font-montserrat: Montserrat;
  --font-rubik: Rubik;
  --mobile-paragraphs-paragraph-m-mobile: Inter;
  --font-roboto-flex: "Roboto Flex";

  /* font sizes */
  --mobile-paragraphs-paragraph-m-mobile-size: 14px;
  --mobile-labels-label-l-mobile-size: 16px;
  --font-size-lg: 18px;
  --font-size-xs: 12px;
  --mobile-headlines-headline-2-mobile-size: 20px;
  --font-size-smi: 13px;
  --font-size-13xl: 32px;
  --font-size-7xl: 26px;
  --font-size-lgi: 19px;

  /* Colors */
  --background: #fafcff;
  --ash-gray-7: #81898d;
  --semantic-colors-content-tertiary-content: #1e293b;
  --text-1: #1d2022;
  --semantic-colors-content-secondary-content: #0f172a;
  --color-gray-100: #001133;
  --new-colors: #111;
  --semantic-colors-content-primary-content: #020617;
  --ash-gray-0: #fff;
  --a-dime-a-dozen-700: #a9b1b6;
  --ash-gray-6: #9ea7ab;
  --ash-gray-2: #e4e7e9;
  --color-gainsboro-100: #e6e6e6;
  --ash-gray-3: #d6dcdf;
  --ash-gray-9: #464d51;
  --ash-gray-8: #636b6f;
  --text-2: #4e4e4e;
  --new-color-3: #4da04f;
  --new-color-11: #ffbc5a;
  --new-color-2: #67b5f4;
  --semantic-colors-surfaces-surface2: #e2e8f0;
  --semantic-colors-surfaces-surface4: #94a3b8;
  --new-color-10: #ff9864;
  --new-color-second-blue: #4e76f4;
  --brandeis-blue-0: #f7faff;
  --color-lightgray: #c9cfcf;
  --semantic-colors-basic-primary: #6689f7;

  /* Spacing */
  --semantic-other-radius-radius-base: 4px;
  --semantic-other-icons-icon-md: 24px;

  /* Gaps */
  --gap-5xl: 24px;
  --gap-13xl: 32px;
  --gap-base: 16px;
  --gap-xl: 20px;
  --gap-xs: 12px;
  --gap-21xl: 40px;
  --gap-9xl: 28px;
  --gap-5xs: 8px;
  --gap-9xs: 4px;

  /* Paddings */
  --padding-12xs: 1px;
  --padding-xl: 20px;
  --padding-81xl: 100px;
  --padding-181xl: 200px;
  --padding-3xs: 10px;
  --padding-xs: 12px;
  --padding-25xl: 44px;
  --padding-3xl: 22px;
  --padding-lgi: 19px;
  --padding-base: 16px;
  --padding-6xs: 7px;
  --padding-8xs: 5px;
  --padding-sm: 14px;
  --padding-13xl: 32px;
  --padding-9xs: 4px;
  --padding-93xl: 112px;
  --padding-2xs: 11px;
  --padding-mini: 15px;
  --padding-11xs: 2px;
  --padding-11xl: 30px;
  --padding-10xs: 3px;
  --padding-lg: 18px;
  --padding-7xs: 6px;
  --padding-10xl: 29px;
  --padding-5xs: 8px;

  /* Border radiuses */
  --br-9xs: 4px;
  --br-5xs: 8px;
  --br-981xl: 1000px;

  --color-lavender: #d2daf5;
}
/* START CARD --------------------------------------------------------------------------------------------------------*/
.card {
  display: flex;
  /*width: 412px;*/
  width: calc(33.33% - 14px);
  height: 300px;
  padding: 24px 32px;
  flex-direction: column;
  align-items: center;
  gap: 32px;

  border-radius: 4px;
  border: 1px solid var(--border-grey-3, #D6DCDF);
  background: var(--border-grey-0, #FFF);
}

.card:hover {
  border-color: #6689f7;
}

.card > a > .content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  align-self: stretch;

  color: var(--font-grey-2, #4E4E4E);
  font-family: var(--m);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
}

.card > a > .content > .main-details {
  display: flex;
  align-items: center;
  gap: 28px;
  align-self: stretch;

  flex-direction: initial; /* override global */
  justify-content: initial; /* override global */
}

.card > a > .content > .main-details > .logo {
  display: flex;
  width: 100px;
  height: 100px;
  /*padding: 12px;*/
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;

  border-radius: 4px;
  border: 1px solid var(--border-grey-2, #E4E7E9);
}

.card > a > .content > .main-details > .details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 12px;
  flex: 1 0 0;
  align-self: stretch;
}

.card > a > .content > .main-details > .details > .title {
  align-self: stretch;

  color: var(--font-grey-1, #1D2022);
  font-family: var(--r);
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 28px; /* 140% */
}

.card > a > .content > .main-details > .details > .rate {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card > a > .content > .main-details > .details > .rate > .stars > .rating-avg {
  display: flex;
  align-items: center;
  gap: 4px;
}

.card > a > .content > .main-details > .details > .rate > .stars > .rating-avg > .ratingValue {
  color: var(--Brandeis-blue-9, #013);
  font-family: var(--m);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 125% */

  margin-left: 4px;
  margin-top: 2px;
}

.card > a > .content > .main-details > .details > .rate > .stars > .rating-avg > .count_reviews {
  color: var(--border-grey-6, #9EA7AB);
  font-family: var(--m);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 125% */

  margin-top: 2px;
}

@media (max-width: 1200px) {
  .card {
    width: calc(50% - 10px);
    padding: 24px 28px;
  }

  .card > a > .content > .main-details {
    gap: 24px;
  }

  .card > a > .content > .main-details > .logo {
    width: 88px;
    height: 88px;
  }

  .card > a > .content > .main-details > .details > .title {
    font-size: 18px;
    line-height: 24px; /* 133.333% */
  }

  .card > a > .content > .main-details > .details > .rate > .stars > .rating-avg > .ratingValue {
    font-size: 15px;
  }

  .card > a > .content > .main-details > .details > .rate > .stars > .rating-avg > .count_reviews {
    font-size: 15px;
  }
}

@media (max-width: 600px) {
  .card {
    width: 100%;
  }
}

/* END CARD ----------------------------------------------------------------------------------------------------------*/

/* START LONGCARD ----------------------------------------------------------------------------------------------------*/

.longcard {
  width: 100%;
  height: 200px;
  padding: 20px 40px;
  border-radius: var(--logo-border-radius);
  border: 1px solid #D6DCDF;
  display: flex;
  gap: 80px;
  background-color: white;
}

.longcard.highlighted {
  border: 2px solid #FF9864;
  background-color: #FFF8F5;
}

.longcard:hover {
  border: 1px solid #3171ee;
}

.longcard > a > .content {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 0;
  gap: 0;
  min-height: unset;
  border: 0;
  background-color: inherit;
}

.longcard .head {
  width: 392px;
  height: 100%;
  border-right: 1px solid #D6DCDF;
  padding-right: 9px;
  margin: 0;
}

.longcard > a > .content > .head .logo {
  /*padding: 12px;*/
  /*padding: 12px;*/
  height: 100px;
  width: 100px;
  border-radius: var(--logo-border-radius);
}

.longcard .excerpt {
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 0 40px 64px;
  box-sizing: border-box;
  gap: var(--gap-13xl);
  min-width: 312px;
  font-size: var(--mobile-paragraphs-paragraph-m-mobile-size);
  color: var(--text-2);

  flex: 1;
  display: flex;
  justify-content: flex-start;
  max-width: 100%;
}

@media screen and (max-width: 1200px) {
  .longcard {
    height: auto;
    padding: 32px;
  }

  .longcard .content {
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
  }

  .longcard .head {
    border-right: none;
  }

  .longcard .head .logo {
    height: 80px;
    width: 80px;
  }

  .longcard .excerpt {
    padding: 0;
  }
}

@media screen and (max-width: 600px) {
  .longcard .item {
    height: auto;
    padding: 20px 24px;
  }

  .longcard .head {
    width: auto;
    align-items: center;
    gap: 20px;
  }

  .longcard .head .name {
    font-size: 18px;
  }

  .longcard .excerpt {
    min-width: unset;
  }
}
/* END LONGCARD ------------------------------------------------------------------------------------------------------*/