/* Country galleries use the same portrait, name and profile as the public homepage. */
.ugce-country-creators {
	--ucc-ink: #16131e;
	--ucc-paper: #f6f4ef;
	display: block;
	overflow: hidden;
	margin: 0 auto;
	padding: clamp(24px, 4vw, 66px) clamp(16px, 4.4vw, 75px);
	background: var(--ucc-paper);
	color: var(--ucc-ink);
	font: 500 16px/1.45 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	text-align: start;
	scroll-margin-top: 75px;
}
.ugce-country-creators *, .ugce-country-creators { box-sizing: border-box; }
.ugce-country-inner { max-width: 1250px; margin-inline: auto; }
.ugce-country-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: clamp(16px, 2.2vw, 32px); }
.ugce-country-head h2 { margin: 0; color: var(--ucc-ink); font: 760 clamp(28px, 4.1vw, 58px)/1.04 Inter, sans-serif; letter-spacing: -.048em; }
.ugce-country-head > span { flex: none; color: #584f60; font-size: 13px; }
.ugce-country-creators ul.ugce-country-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(11px, 1.6vw, 24px); margin: 0; padding: 0; list-style: none; }
.ugce-country-creators ul[data-layout="feature"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ugce-country-grid > li { display: flex; min-width: 0; margin: 0; padding: 0; list-style: none; }
.ugce-country-card { display: flex; width: 100%; min-width: 0; flex-direction: column; border: 1px solid #d7d2d8; background: #fffefa; border-radius: 8px; overflow: hidden; color: var(--ucc-ink); text-decoration: none !important; }
.ugce-country-card:hover { border-color: #846e9d; box-shadow: 0 5px 18px #2e1d4812; }
.ugce-country-card:focus-visible, .ugce-country-creators a:focus-visible { outline: 3px solid #67449c; outline-offset: 3px; }
.ugce-country-portrait { aspect-ratio: 4 / 3; min-width: 0; overflow: hidden; background: #e5e0e6; }
.ugce-country-portrait img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; object-position: center 33%; border-radius: 0; }
.ugce-country-detail { display: flex; flex-direction: column; flex: 1; align-items: flex-start; justify-content: center; min-width: 0; padding: clamp(14px, 1.6vw, 25px); }
.ugce-country-detail h3 { margin: 0; font: 740 clamp(20px, 2.15vw, 33px)/1.1 Inter, sans-serif; letter-spacing: -.035em; color: var(--ucc-ink); overflow-wrap: anywhere; }
.ugce-country-detail p { margin: 7px 0 0; font-size: 14px; line-height: 1.4; color: #5b5260; }
.ugce-country-detail .ugce-country-niches { font-size: 13px; }
.ugce-country-link, .ugce-country-brief { display: inline-flex; align-items: center; gap: 10px; border-bottom: 1px solid #8d779e; padding: 0 0 2px; font-size: 14px; font-weight: 680; color: #423052; }
.ugce-country-link { margin-top: 22px; }
.ugce-country-grid[data-layout="feature"] .ugce-country-card { display: grid; grid-template-columns: 42% minmax(0, 1fr); }
.ugce-country-grid[data-layout="feature"] .ugce-country-portrait { height: 100%; min-height: 170px; max-height: 260px; aspect-ratio: auto; }
.ugce-country-pages { margin-top: 24px; display: flex; gap: 13px; align-items: center; }
.ugce-country-pages a, .ugce-country-brief { display: inline-flex; min-height: 44px; align-items: center; }
.ugce-country-empty { margin: 0 0 12px; color: #514a56; }
@media (max-width: 820px) {
	.ugce-country-creators ul.ugce-country-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ugce-country-creators ul[data-layout="feature"] { grid-template-columns: minmax(0, 1fr); }
	.ugce-country-grid[data-layout="feature"] .ugce-country-card { grid-template-columns: minmax(100px, 32%) minmax(0, 1fr); }
}
@media (max-width: 500px) {
	.ugce-country-creators ul.ugce-country-grid { grid-template-columns: minmax(0, 1fr); }
	.ugce-country-card, .ugce-country-grid[data-layout="feature"] .ugce-country-card { display: grid; grid-template-columns: minmax(90px, 33%) minmax(0, 1fr); }
	.ugce-country-portrait, .ugce-country-grid[data-layout="feature"] .ugce-country-portrait { height: auto; min-height: 142px; max-height: none; aspect-ratio: auto; }
	.ugce-country-detail { padding: 12px; }
	.ugce-country-head { align-items: flex-end; }
	.ugce-country-link { margin-top: 12px; }
}
