/* The map is shared with Resources; country and pathway cards stay native to the homepage. */
.home-page .pathways-showcase-header { display: block; max-width: 850px; margin: 0 auto 2rem; text-align: center; }
.home-page .pathways-showcase-header h2 { margin: .4rem 0 1rem; }
.home-page .home-globe-eyebrow { margin: 0; color: #56725a; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.home-globe { position: relative; --home-globe-height: 720px; display: grid; align-items: start; grid-template-columns: minmax(0, 1fr) minmax(350px, 400px); gap: 24px; }
.home-globe-map { position: relative; min-width: 0; height: max(var(--home-globe-height), var(--home-globe-card-height, 0px)); }
.home-globe-map iframe { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; }
.home-globe-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 2rem; border: 1px solid #dbe3d7; border-radius: 20px; background: radial-gradient(ellipse at center, #eff4eb, #f7f8f3); text-align: center; color: #55745c; }
.home-globe-placeholder > svg { width: 96px; fill: none; stroke: #76957a; stroke-width: 1.25; }
.home-globe-placeholder a { color: #305b41; text-decoration: underline; text-underline-offset: 3px; }
.home-globe [hidden], .home-globe-footer [hidden] { display: none; }
.home-globe-sidebar { display: flex; min-width: 0; min-height: max(var(--home-globe-height), var(--home-globe-card-height, 0px)); }
.home-globe-measurements { position: absolute; top: 0; left: 0; height: 0; overflow: hidden; visibility: hidden; pointer-events: none; contain: layout style paint; }
.home-globe-card { display: flex; flex: 1; flex-direction: column; gap: .85rem; padding: clamp(1.2rem, 2vw, 1.6rem); border: 1px solid #dfe5d9; border-radius: 20px; background: #f8f9f4; color: #173e32; min-width: 0; min-height: 0; }
.home-globe-country-heading { display: flex; align-items: center; justify-content: space-between; gap: .65rem; }
.home-globe-country { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.home-globe-country img { flex: none; width: 36px; height: 26px; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 1px #173e3214; }
.home-globe-card h3 { margin: 0; font-size: clamp(1.45rem, 2vw, 1.85rem); line-height: 1.15; font-weight: 600; letter-spacing: -.025em; overflow-wrap: anywhere; }
.home-globe-total { margin: 0; color: #677767; font-size: .85rem; }
.home-globe-total strong { color: #35583e; font-weight: 700; }
.home-globe-card-content { display: flex; flex: 1; flex-direction: column; gap: 1.3rem; min-height: 0; padding-top: .35rem; }
.home-globe-card-content > * { flex-shrink: 0; }
.home-globe-card :is(#home-globe-card-label, .home-globe-country, .home-globe-total, .home-globe-card-content) { transition: opacity .32s ease; }
.home-globe-card.is-changing :is(#home-globe-card-label, .home-globe-country, .home-globe-total, .home-globe-card-content) { opacity: 0; transition-duration: .2s; }
.home-globe-feature { display: block; padding: 1.1rem; border: 1px solid #e1e6d8; border-radius: 14px; background: #fff; box-shadow: 0 3px 12px #254b3805; }
.home-globe-feature .home-globe-eyebrow { color: #8a773e; font-size: .65rem; letter-spacing: .1em; }
.home-globe-feature h4 { margin: .55rem 0 .65rem; color: #254b38; font-weight: 600; font-size: 1.08rem; line-height: 1.35; }
.home-globe-card p:not(.home-globe-eyebrow):not(.home-globe-total) { margin: 0; color: #637163; font-size: .85rem; line-height: 1.65; }
.home-globe-feature:hover { border-color: #a5b89a; box-shadow: 0 4px 18px #254b380c; }
.home-globe-feature:hover h4 { color: #173e32; }
.home-globe-type { display: inline-flex; align-items: center; margin-top: 1rem; padding: .24rem .6rem; border: 1px solid color-mix(in srgb, currentColor 22%, transparent); border-radius: 100px; font: 700 .65rem/1.35 'DM Sans', sans-serif; text-transform: uppercase; letter-spacing: .045em; }
.home-globe-type-residency { color: #416b4a; background: #e7f0e5; }
.home-globe-type-citizenship { color: #3d5877; background: #e8f0f8; }
.home-globe-type-other { color: #6f5d7a; background: #f0ecf5; }
.home-globe-categories h4 { margin: 0 0 .7rem; color: #526b53; font-size: .82rem; font-weight: 600; }
.home-globe-categories ul { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.home-globe-categories li { max-width: 100%; }
.home-globe-category { display: inline-flex; align-items: center; gap: .45rem; max-width: 100%; min-height: 40px; padding: .55rem .7rem; border: 1px solid #dce5d7; border-radius: 8px; background: #fff; color: #426047; font-size: .75rem; line-height: 1.35; text-decoration: none; }
.home-globe-category:hover { border-color: #a5b89a; background: #edf3e9; color: #173e32; }
.home-globe-category-arrow { width: 15px; height: 15px; color: #789077; }
.home-globe-country-link { display: flex; justify-content: space-between; align-items: center; gap: .5rem; min-height: 46px; margin-top: auto; padding: .85rem 1rem; border-radius: 10px; color: #fff; background: #456e52; font-size: .88rem; font-weight: 600; text-decoration: none; }
.home-globe-country-link:hover { background: #355b40; color: #fff; }
.home-globe-country-link svg { width: 17px; height: 17px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.home-globe-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; margin-top: .6rem; }
.home-globe-footer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.home-globe-footer a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; color: #486648; font: 600 .82rem 'DM Sans', sans-serif; }
.home-globe-footer .home-globe-attribution { color: #81907e; font-size: .65rem; font-weight: 400; }
.home-globe :is(a, button):focus-visible, .home-globe-footer :is(a, button):focus-visible { outline: 2px solid #416b4a; outline-offset: 4px; }
.home-globe-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 1050px) and (min-width: 761px) {
  .home-globe { grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; }
  .home-globe-card { padding: 1.2rem; }
}
@media (max-width: 760px) {
  .home-globe { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .home-globe-map { min-height: 0; height: 410px; }
  .home-globe-sidebar { min-height: 0; }
  .home-globe-card { gap: .85rem; padding: 1.25rem; }
  .home-globe-categories { display: none; }
  .home-globe-country-link { margin-top: .2rem; }
  .home-page .pathways-showcase-header { margin-bottom: 1.25rem; }
  .home-page .pathways-showcase-header p:not(.home-section-eyebrow) { font-size: .94rem; }
}
@media (max-width: 380px) {
  .home-globe-map { height: 380px; }
  .home-globe-card { padding: 1rem; }
  .home-globe-country img { width: 28px; height: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .home-globe-card :is(#home-globe-card-label, .home-globe-country, .home-globe-total, .home-globe-card-content) { transition: none; }
}
