/**
 * Discover EU Styles
 */
.tabs {
  background-color: #d9dcee;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
  width: fit-content;
  padding: 0px 20px;
}

.cards-grid {
  margin-top: 30px;
}

.cards-grid .info-job-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

/* Block: Info Card */
.info-job-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid #eaeaea;
}

/* Element: Content */
.info-job-card__content {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

/* Element: Icon */
.info-job-card__icon {
  background-color: #00205b;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Element: Text */
.info-job-card__text {
  flex-grow: 1;
}

/* Element: Header */
.info-job-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: -10px 0px 0px 0px;
  float: left;
  width: 95%;
}

/* Element: Title */
.info-job-card__title {
  font-family: Fira Sans;
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0px;
  color: #001370;
}

/* Element: Badge */
.info-job-card__badge {
  background-color: #ffd700;
  color: #020817;
  font-family: Fira Sans;
  font-weight: 700;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0%;

  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

/* Element: Description */
.info-job-card__description {
  color: #535353;
  font-family: Fira Sans;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0px;
  margin-bottom: 0.5em;
  width: 100%;
}

/* Element: Country */
.info-job-card__country {
  font-family: Fira Sans;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0px;
  margin-bottom: 0.5em;
  width: 100%;
}
.info-job-card__country .boxed-text {
    border: 2px solid #00188c;
    padding: 10px 15px;
    border-radius: 99999px;
    margin: 0px 5px;
    box-sizing: border-box;
    white-space: nowrap;
}
/* Element: salary */
.info-job-card__salary {
  font-family: Fira Sans;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0px;
  margin-bottom: 0.5em;
  width: 100%;
}

/* Element: date */
.info-job-card__date {
  font-family: Fira Sans;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0px;
  margin-bottom: 0.5em;
  width: 100%;
}

/* Element: source */
.info-job-card__source {
  font-family: Fira Sans;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #535353;
  letter-spacing: 0px;
  margin-bottom: 0.5em;
  width: 100%;
}

.info-job-card__side {
  width: 20%;
  float: left;
  text-align: right;
  margin-top: 10px;
}

/* Element: tags */
.info-job-card__tags {
}

/* Element: Action */
.info-job-card__action {
  display: flex;
  justify-content: center;
}

/* Element: Link */
.info-job-card__link {
  font-family: Fira Sans;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0px;
  text-decoration: underline;
  text-decoration-style: solid;
  text-decoration-offset: 0%;
  text-decoration-thickness: 0%;
  color: #00188c;
  padding-top: 10px;
}

.info-job-card__link:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .info-job-card {
    padding: 20px;
  }

  .info-job-card__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .info-job-card__icon {
    width: 36px;
    height: 36px;
  }

  .info-job-card__title {
    font-size: 16px;
  }
}

/**
* Discovering EU Tabs Block
*/

.custom-tabs .tabs__list {
  margin: 0 !important;
  padding-left: 0 !important;
}

.tabs {
  background-color: #d9dcee;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 20px;
}

/* Element */
.tabs__list {
  display: flex;
  list-style: none;
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.tabs__list::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

.tabs__item {
  display: inline-block;
  padding: 8px;
}

.tabs__link {
  display: inline-block;
  padding: 10px 16px;
  color: #333;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
  border-radius: 8px;
}

/* Modifier */
.tabs__link--active {
  background-color: #0a2b8d;
  color: #fff !important;
}

.tabs__link:hover:not(.tabs__link--active) {
  background-color: #d0d4e4;
}

/* Tab content */
.tab-content {
  display: none;
  padding: 20px;
  border-radius: 8px;
}

.tab-content--active {
  display: block;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .tabs__link {
    padding: 10px 12px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .tabs__link {
    padding: 8px 10px;
    font-size: 12px;
  }
}

/* Block: Info Section */
.info-section {
  background-color: #eef1f8;
  border-radius: 8px;
  padding: 16px 20px;
}

/* Element: Section Title */
.info-section__title {
  color: #00205b;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

/* Element: Section List */
.info-section__list {
  list-style-position: inside;
  margin-bottom: 10px;
}

/* Element: Section Item */
.info-section__item {
  color: #333;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px;
}

/* Element: Section Source */
.info-section__source {
  color: #666;
  font-size: 12px;
  font-style: italic;
}

hr {
  margin: 32px 0;
  background-color: #d9dcee;
}

.footer-block-section {
  margin-top: 32px;
  box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1),
    0px 2px 4px -2px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(217, 220, 238, 1);
  padding: 24px;
  border-radius: 8px;
}

/* Hero Block start */
.relocation__hero--header {
  font-family: Fira Sans;
  font-weight: 700;
  font-size: 14px;
  line-height: 100%;
  letter-spacing: 0px;
  vertical-align: middle;
  color: #000000;
  margin-bottom: 52px;
}

.relocation__hero--section {
  display: flex;
  flex-direction: row;
  gap: 40px;
  align-items: stretch;
}

@media (max-width: 768px) {
  .relocation__hero--section {
    flex-direction: column;
  }
}

.relocation__hero--content {
  flex: 1;
}

.relocation__hero--title {
  color: #001370;
  font-family: Fira Sans;
  font-weight: 700;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0px;
  vertical-align: middle;
}

.relocation__hero--description {
  font-family: Fira Sans;
  font-weight: 400;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0px;
  vertical-align: middle;
  color: #000000;
  margin-top: 52px;
  margin-bottom: 24px;
  max-width: 584px;
}
relocation__hero--description_selector {
  font-family: Fira Sans;
  font-weight: 400;
  font-size: 16px;
  line-height: 160%;
  letter-spacing: 0px;
  vertical-align: middle;
  color: #000000;
  margin-top: 52px;
  margin-bottom: 24px;
  max-width: 584px;
}

.relocation__hero--subtitle {
  font-family: Fira Sans;
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0px;
  vertical-align: middle;
  color: #000000;
  max-width: 584px;
}

.relocation__hero--subtitle_selector {
  font-family: Fira Sans;
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0px;
  vertical-align: middle;
  color: #000000;
  max-width: 584px;
  margin-top: 52px;
  margin-bottom: 24px;
}

.relocation__hero--image-container {
  flex: 1;
  max-width: 592px;
}

.relocation__hero--framed-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Hero Block end */
.content-area.primary {
  padding-top: 56px;
  padding-bottom: 56px;
}

/* MOBILE */

@media (max-width: 576px) {
  .cards-grid .info-job-cards {
    display: block;
  }
  .info-job-card__side {
    width: 100%;
  }
  .info-job-card {
    margin-bottom: 20px;
  }
}

/* Filter section */
.jobs-section--header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.jobs-section--header h2 {
  font-size: 24px;
}

.jobs-section--header p {
  max-width: 539px;
  font-size: 16px;
  margin-top: 16px;
  margin-bottom: 0;
}

/* Country selector */
.choices__item--choice.choices__item--highlighted,
.choices__item--highlighted {
  background-color: #f0f4fa; /* Or your preferred color */
  color: #00188c;
  cursor: pointer;
}

.eu-country-select-wrapper {
  width: 277px;
}

.choices__list--dropdown .choices__item--selectable,
.choices__list[aria-expanded] .choices__item--selectable {
  padding-right: 20px;
}

.choices__inner {
  background-color: #ffffff;
  border-radius: 8px;
  border-color: #d9dcee;
  min-height: 40px;
}

.choices__list--single {
  padding: 0 4px;
}

.is-focused .choices__inner,
.is-open .choices__inner,
.is-open .choices__list--dropdown,
.is-open .choices__list[aria-expanded] {
  border-color: #d9dcee;
}

.choices__list--dropdown,
.choices__list[aria-expanded] {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}
