/* NordicGPS Contributing Regions — uses the NordicGPS theme variables, with fallbacks. */
.ngps-regions { --r-accent: var(--ngps-accent, #A9311F); --r-ink: var(--ngps-ink, #0E1B2C); --r-muted: var(--ngps-muted, #3B4A60); --r-line: var(--ngps-line, #DDE1DA); --r-white: var(--ngps-white, #fff); }
.ngps-regions__lead { font-size: 17px; color: var(--r-muted); margin: 0; }

.ngps-regions__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .ngps-regions__steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .ngps-regions__steps { grid-template-columns: 1fr; } }
.ngps-regions__steps li { background: var(--r-white); border: 1px solid var(--r-line); border-radius: 14px; padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--r-muted); }
.ngps-regions__steps strong { font-family: var(--ngps-display, 'Space Grotesk', system-ui, sans-serif); font-size: 19px; color: var(--r-ink); }
.ngps-regions__num { width: 30px; height: 30px; border-radius: 50%; background: var(--r-accent); color: var(--r-white); font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 4px; }

.ngps-regions__group { display: flex; flex-direction: column; gap: 16px; }
.ngps-regions__continent { font-family: var(--ngps-display, 'Space Grotesk', system-ui, sans-serif); font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--r-muted); margin: 0; padding-bottom: 10px; border-bottom: 1px solid var(--r-line); }
.ngps-regions__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }

.ngps-region { background: var(--r-white); border: 1px solid var(--r-line); border-radius: 16px; padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 16px; }
.ngps-region__head { display: flex; flex-direction: column; gap: 2px; }
.ngps-region__name { font-family: var(--ngps-display, 'Space Grotesk', system-ui, sans-serif); font-size: 22px; font-weight: 600; margin: 0; color: var(--r-ink); line-height: 1.2; }
.ngps-region__area { font-size: 14px; color: var(--r-muted); margin: 0; }
.ngps-region__person { display: flex; align-items: center; gap: 14px; }
.ngps-region__person p { margin: 0; }
.ngps-region__photo { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: 0 0 72px; background: #E6E9E4; }
.ngps-region__photo--initials { display: inline-flex; align-items: center; justify-content: center; background: var(--r-ink); color: var(--r-white); font-family: var(--ngps-display, 'Space Grotesk', system-ui, sans-serif); font-weight: 600; font-size: 22px; }
.ngps-region__who { font-weight: 600; font-size: 16px; color: var(--r-ink); }
.ngps-region__role { font-size: 13px; font-weight: 600; color: var(--r-accent); }
.ngps-region__lines { display: flex; flex-direction: column; gap: 4px; font-size: 15px; word-break: break-word; }
.ngps-region__lines a { color: var(--r-ink); text-decoration: none; }
.ngps-region__lines a:hover { color: var(--r-accent); text-decoration: underline; }
.ngps-region__book { margin-top: auto; align-self: flex-start; }

.ngps-regions__join { background: var(--r-ink); color: var(--r-white); border-radius: 16px; padding: 32px; display: flex; flex-wrap: wrap; gap: 20px 32px; align-items: center; justify-content: space-between; }
.ngps-regions__join h3 { font-family: var(--ngps-display, 'Space Grotesk', system-ui, sans-serif); font-size: 26px; margin: 0 0 6px; color: var(--r-white); }
.ngps-regions__join p { margin: 0; max-width: 620px; color: var(--ngps-muted-light, #B9C3D2); font-size: 16px; }

/* Keep headshots round even when the theme styles images. */
.ngps-regions .ngps-region__photo, .ngps-regions img.ngps-region__photo { width: 72px !important; height: 72px !important; max-width: none !important; border-radius: 50% !important; object-fit: cover; }
