.home-overseas-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.home-overseas-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
  min-height: 224px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid var(--line, #d8e2da);
  border-top: 4px solid var(--green, #145b42);
  border-radius: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #f5faf6 100%);
  box-shadow: 0 12px 34px rgba(17, 61, 45, 0.06);
  cursor: pointer;
}

.home-overseas-card:focus-visible {
  outline: 3px solid #b8ef45;
  outline-offset: 3px;
}

.home-overseas-company-logo {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border: 1px solid var(--line, #d8e2da);
  border-radius: 16px;
  background: #ffffff;
  color: var(--green, #145b42);
  font-size: 22px;
  font-weight: 800;
}

.home-overseas-company-logo img {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-overseas-logo-fallback {
  grid-area: 1 / 1;
}

.home-overseas-card-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.home-overseas-card-eyebrow,
.home-overseas-card-tags,
.home-overseas-card-footer,
.home-overseas-card-facts {
  display: flex;
  align-items: center;
}

.home-overseas-card-eyebrow {
  min-width: 0;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.home-overseas-featured-pill,
.home-overseas-location,
.home-overseas-card-tags span {
  border-radius: 999px;
  white-space: nowrap;
}

.home-overseas-featured-pill {
  padding: 6px 10px;
  background: #e8f0ff;
  color: #1e5da8;
  font-size: 13px;
  font-weight: 750;
}

.home-overseas-location {
  max-width: 58%;
  overflow: hidden;
  color: var(--green, #145b42);
  font-size: 13px;
  font-weight: 700;
  text-overflow: ellipsis;
}

.home-overseas-card-title {
  margin: 0;
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink, #102019);
  font-size: 22px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-overseas-card-company {
  margin: 7px 0 0;
  color: #42534b;
  font-size: 16px;
  font-weight: 700;
}

.home-overseas-card-tags {
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 15px;
}

.home-overseas-card-tags span {
  max-width: 100%;
  padding: 5px 9px;
  overflow: hidden;
  border: 1px solid var(--line, #d8e2da);
  background: rgba(255, 255, 255, 0.8);
  color: #52645b;
  font-size: 12px;
  text-overflow: ellipsis;
}

.home-overseas-card-footer {
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
}

.home-overseas-card-facts {
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

.home-overseas-card-facts strong {
  color: var(--ink, #102019);
  font-size: 14px;
}

.home-overseas-card-facts small {
  color: var(--muted, #607069);
  font-size: 12px;
}

.home-overseas-apply-link {
  flex: 0 0 auto;
  color: var(--green, #145b42);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.home-overseas-apply-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.home-overseas-apply-link:focus-visible,
.home-overseas-recommendations .section-title button:focus-visible {
  outline: 3px solid rgba(20, 91, 66, 0.28);
  outline-offset: 4px;
}

.home-overseas-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  border: 1px dashed var(--line, #d8e2da);
  border-radius: 20px;
  color: var(--muted, #607069);
  text-align: center;
}

@media (width <= 900px) {
  .home-overseas-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (width <= 600px) {
  .home-overseas-card {
    grid-template-columns: 48px minmax(0, 1fr);
    min-height: 0;
    padding: 17px;
    border-radius: 20px;
  }

  .home-overseas-company-logo {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 19px;
  }

  .home-overseas-card-title {
    font-size: 19px;
  }

  .home-overseas-card-footer {
    align-items: flex-end;
  }
}
