/* "Just funded in <country>" section (scripts/lib/country-just-funded.mjs).
   Card grid in the Just Founded page's language, on the page's light tokens. */
.country-just-funded .cgi-seg { margin: 0 0 1rem; }
.country-just-funded .cgi-seg button small { margin-left: 0.3rem; font-weight: 500; color: var(--text-lighter); }
.country-just-funded .cjf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0.9rem; }
.country-just-funded .cjf-card { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.95rem 1rem 1rem; border-radius: 14px; border: 1px solid var(--border-light); background: var(--surface-card, var(--navy)); box-shadow: var(--shadow-sm); }
.country-just-funded .cjf-card[hidden] { display: none; }
.country-just-funded .cjf-top { display: flex; align-items: flex-start; gap: 0.6rem; }
.country-just-funded .cjf-logo { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 9px; overflow: hidden; display: grid; place-items: center; font-weight: 800; font-size: 0.8rem; background: var(--logo-tile-bg); border: 1px solid var(--logo-tile-border); color: var(--text-light); }
.country-just-funded .cjf-logo img { width: 100%; height: 100%; object-fit: contain; padding: 3px; box-sizing: border-box; }
.country-just-funded .cjf-title { min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; gap: 0.1rem; }
.country-just-funded .cjf-title a { font-family: var(--font-display); font-weight: 650; font-size: 1.02rem; line-height: 1.2; color: var(--text); text-decoration: none; }
.country-just-funded .cjf-title a:hover { text-decoration: underline; }
.country-just-funded .cjf-title small { font-size: 0.74rem; color: var(--text-lighter); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.country-just-funded .cjf-round { flex: 0 0 auto; text-align: right; font-size: 0.74rem; color: var(--text-lighter); line-height: 1.25; }
.country-just-funded .cjf-round strong { display: block; font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--eyebrow); }
.country-just-funded .cjf-tagline { margin: 0; font-size: 0.84rem; line-height: 1.45; color: var(--text-light); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.country-just-funded .cjf-investors { margin: 0; font-size: 0.78rem; color: var(--text-light); }
.country-just-funded .cjf-investors strong { font-weight: 650; color: var(--text); }
.country-just-funded .cjf-investors small { color: var(--text-lighter); }
.country-just-funded .cjf-signals { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.35rem; }
.country-just-funded .cjf-signals li { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; padding: 0.2rem 0.5rem; border-radius: 999px; border: 1px solid var(--border-light); color: var(--text-light); background: var(--chart-track, transparent); }
.country-just-funded .cjf-signals li.is-repeat { color: var(--eyebrow); border-color: currentColor; }
.country-just-funded .cjf-signals li.is-growing { color: var(--mint); border-color: currentColor; }
.country-just-funded .cjf-signals li.is-foreign { color: var(--text); border-color: var(--border-mid); }
.country-just-funded .cjf-team { display: flex; flex-wrap: wrap; gap: 0.45rem 0.8rem; margin-top: auto; padding-top: 0.5rem; border-top: 1px solid var(--border-light); }
.country-just-funded .cjf-founder { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.76rem; color: var(--text-light); text-decoration: none; }
.country-just-funded .cjf-founder:hover { color: var(--text); }
.country-just-funded .cjf-founder img, .country-just-funded .cjf-founder > span { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; font-size: 0.7rem; font-weight: 700; background: var(--logo-tile-bg); border: 1px solid var(--logo-tile-border); }
.country-just-funded .cjf-founder[data-repeat="true"] img, .country-just-funded .cjf-founder[data-repeat="true"] > span { box-shadow: 0 0 0 2px var(--eyebrow); }
.country-just-funded .cjf-founder small { color: var(--text-lighter); }
@media (max-width: 560px) {
  .country-just-funded .cjf-grid { grid-template-columns: 1fr; }
  .country-just-funded .cjf-top { flex-wrap: wrap; }
  .country-just-funded .cjf-round { text-align: left; width: 100%; }
}
