/* ==========================================================
   Go Global – archive (/go-global/) + single community
   Loaded only on Go Global pages (admin/go-global.php).
   ========================================================== */

:root {
	--gg-navy: #000072;
	--gg-brand: #140A61;
	--gg-blue: #337DFF;
	--gg-white: #FFFFFF;
	--gg-radius: 10px;
	--gg-orange: #FFB157; /* design colour of the card CTA – see note at .go-global-card__link */
	--gg-card-border: rgba(24, 48, 255, 0.2);
	--gg-bg-soft: #F3F5FF;
	--gg-max: 1860px;
}

/* ----------------------------------------------------------
   Hero – Figma "header" 1860×350, 20px from the viewport edges
   Layers: base #C4C4C4 → media → gradient → overlay → title
   ---------------------------------------------------------- */

.go-global-hero {
	position: relative;
	box-sizing: border-box;
	width: min(var(--gg-max), calc(100% - 40px));
	height: 350px;
	margin: 0 auto;
}

.go-global-hero__clip {
	position: relative;
	width: 100%;
	height: 100%;
	border-radius: var(--gg-radius);
	overflow: hidden;
	isolation: isolate; /* keeps the layers' z-index local */
}

/* Rectangle 212 – fallback colour while media loads */
.go-global-hero__base {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: #C4C4C4;
}

/* Image / video – fill the box */
.go-global-hero__picture {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
}

.go-global-hero__media {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	object-position: center;
	pointer-events: none;
}

/* Figma: video layer transform: matrix(-1, 0, 0, 1, 0, 0) */
.go-global-hero--mirror .go-global-hero__media {
	transform: scaleX(-1);
}

/* Rectangle 717 – #140A61 from the right edge, fading out over 1186 of 1860px */
.go-global-hero__gradient {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	width: 63.77%; /* 1186 / 1860 */
	background: linear-gradient(to left, var(--gg-brand) -14.99%, rgba(20, 10, 97, 0) 96.67%);
	pointer-events: none;
}

/* Rectangle 213 – dark contrast layer */
.go-global-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 3;
	background: #1E0303;
	opacity: 0.3;
	pointer-events: none;
}

/* Title – 700 34/34, white, right 118px, vertically centred (top 140 / h 68 in 350) */
.go-global-hero__title {
	position: absolute;
	top: 50%;
	right: 118px;
	z-index: 4;
	max-width: 255px;
	margin: 0;
	transform: translateY(-50%);
	font-family: 'Assistant', sans-serif;
	font-style: normal;
	font-weight: 700;
	font-size: 34px;
	line-height: 34px;
	text-align: right;
	color: var(--gg-white);
}

/* Video pause / play (WCAG 2.2.2) – bottom-left, away from the title */
.go-global-hero__toggle {
	position: absolute;
	left: 20px;
	bottom: 20px;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 50%;
	background: rgba(20, 10, 97, 0.55);
	color: var(--gg-white);
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.go-global-hero__toggle:hover {
	background: rgba(20, 10, 97, 0.85);
}

.go-global-hero__toggle:focus-visible {
	outline: 3px solid var(--gg-white);
	outline-offset: 3px;
}

.go-global-hero__toggle-icon--play,
.go-global-hero__toggle[aria-pressed="true"] .go-global-hero__toggle-icon--pause {
	display: none;
}

.go-global-hero__toggle[aria-pressed="true"] .go-global-hero__toggle-icon--play {
	display: block;
}

/* ---------- Laptop ---------- */
@media (max-width: 1440px) {
	.go-global-hero {
		height: 320px;
	}

	.go-global-hero__title {
		right: 80px;
	}
}

/* ---------- Small laptop / tablet landscape ---------- */
@media (max-width: 1200px) {
	.go-global-hero {
		height: 300px;
	}

	.go-global-hero__title {
		right: 60px;
	}

	/* narrower screens: gradient covers the whole width so the title keeps its contrast */
	.go-global-hero__gradient {
		width: 100%;
	}
}

/* ---------- Tablet ---------- */
@media (max-width: 992px) {
	.go-global-hero {
		height: 280px;
	}

	.go-global-hero__title {
		right: 40px;
		max-width: 60%;
		font-size: 30px;
		line-height: 1.2;
	}
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
	.go-global-hero {
		width: calc(100% - 32px);
		height: 240px;
	}

	.go-global-hero__title {
		right: 24px;
		max-width: calc(100% - 48px - 56px); /* keep clear of the video button */
		font-size: 26px;
	}

	.go-global-hero__toggle {
		left: 12px;
		bottom: 12px;
	}
}

@media (max-width: 480px) {
	.go-global-hero {
		height: 200px;
	}

	.go-global-hero__title {
		right: 20px;
		font-size: 24px;
	}
}

/* Users who prefer reduced motion: JS keeps the video paused on its poster */
@media (prefers-reduced-motion: reduce) {
	.go-global-hero__toggle {
		transition: none;
	}
}

/* ----------------------------------------------------------
   Stamp – Figma "Mask group" 170×86, centred, hanging from the banner
   (top: 457 = banner bottom; left: 865 = centre of 1900)
   ---------------------------------------------------------- */

.go-global-stamp {
	position: absolute;
	top: 100%;
	left: 50%;
	z-index: 6;
	display: block;
	width: 170px;
	height: 86px;
	transform: translateX(-50%);
	pointer-events: none;
}

.go-global-stamp__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

@media (max-width: 768px) {
	.go-global-stamp {
		width: 120px;
		height: 61px;
	}
}

/* ----------------------------------------------------------
   Breadcrumbs – like the donation page
   25px under the banner, right 135px (= 115px from the banner edge), 14/16, gap 10
   ---------------------------------------------------------- */

.go-global-breadcrumbs {
	box-sizing: border-box;
	width: min(var(--gg-max), calc(100% - 40px));
	margin: 25px auto 0;
	padding: 0 115px;
}

.go-global-breadcrumbs__list {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start; /* starts on the right in RTL */
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.go-global-breadcrumbs__item,
.go-global-breadcrumbs__sep {
	display: flex;
	align-items: center;
	margin: 0;
	font-family: 'Assistant', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 14px;
	line-height: 16px;
	text-align: right;
}

.go-global-breadcrumbs__sep {
	color: var(--gg-navy);
}

.go-global-breadcrumbs__link {
	color: var(--gg-navy);
	text-decoration: none;
}

.go-global-breadcrumbs__link:hover {
	text-decoration: underline;
}

.go-global-breadcrumbs__link:focus-visible {
	outline: 2px solid var(--gg-blue);
	outline-offset: 2px;
	border-radius: 2px;
}

.go-global-breadcrumbs__current {
	color: #9D9D9D;
}

@media (max-width: 1440px) {
	.go-global-breadcrumbs {
		padding: 0 80px;
	}
}

@media (max-width: 1200px) {
	.go-global-breadcrumbs {
		padding: 0 60px;
	}
}

@media (max-width: 992px) {
	.go-global-breadcrumbs {
		padding: 0 40px;
	}
}

@media (max-width: 768px) {
	/* the row would run into the centred stamp → start below it (stamp 61px + 12px) */
	.go-global-breadcrumbs {
		width: calc(100% - 32px);
		margin-top: 73px;
		padding: 0 24px;
	}
}

@media (max-width: 480px) {
	.go-global-breadcrumbs {
		padding: 0 20px;
	}
}

/* ----------------------------------------------------------
   Intro – Figma "text": centred column 998px, gap 24, top 611
   (= 113px under the breadcrumbs, clear of the stamp)
   + map 1003×712 (5px wider than the text → section is 1003)
   ---------------------------------------------------------- */

.go-global-intro {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	width: min(1003px, calc(100% - 40px));
	margin: 113px auto 0;
	padding: 0;
	text-align: center;
}

.go-global-intro__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 24px;
	width: 100%;
	max-width: 998px;
}

/* TECHNION ALUMNI GO GLOBAL – 700 34 / 132.5% */
.go-global-intro__title {
	width: 100%;
	max-width: 631px;
	margin: 0;
	font-family: 'Assistant', sans-serif;
	font-style: normal;
	font-weight: 700;
	font-size: 34px;
	line-height: 132.5%;
	text-align: center;
	color: var(--gg-navy);
}

/* Paragraph – 400 24/34, 80% */
.go-global-intro__text {
	width: 100%;
	font-family: 'Assistant', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 24px;
	line-height: 34px;
	text-align: center;
	color: var(--gg-navy);
	opacity: 0.8;
}

.go-global-intro__text > * {
	margin: 0;
}

.go-global-intro__text > * + * {
	margin-top: 1em;
}

.go-global-intro__text a {
	color: inherit;
	text-decoration: underline;
}

.go-global-intro__text a:focus-visible {
	outline: 2px solid var(--gg-blue);
	outline-offset: 2px;
}

/* Map – Figma "alumni-map-white-update": 1003×712, top 892 = 42px under the text (ends at 850) */
.go-global-intro__map {
	width: 100%;
	max-width: 1003px;
	margin: 42px 0 0;
}

.go-global-intro__map-img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto; /* keeps the file's ratio; the design file is 1003×712 */
	margin: 0 auto;
}

@media (max-width: 1200px) {
	.go-global-intro__title {
		font-size: 30px;
		line-height: 1.3;
	}

	.go-global-intro__text {
		font-size: 22px;
		line-height: 32px;
	}
}

@media (max-width: 992px) {
	.go-global-intro {
		margin-top: 80px;
	}
}

@media (max-width: 768px) {
	.go-global-intro {
		width: calc(100% - 32px);
		margin-top: 48px; /* breadcrumbs already sit below the stamp here */
	}

	.go-global-intro__content {
		gap: 16px;
	}

	.go-global-intro__map {
		margin-top: 32px;
	}

	.go-global-intro__title {
		font-size: 26px;
	}

	.go-global-intro__text {
		font-size: 18px;
		line-height: 28px;
	}
}

@media (max-width: 480px) {
	.go-global-intro__title {
		font-size: 24px;
	}

	.go-global-intro__text {
		font-size: 16px;
		line-height: 24px;
	}
}

/* ----------------------------------------------------------
   Communities – section + title
   Title: Figma top 1692 = 88px under the map (ends at 1604), 939px, centred
   ---------------------------------------------------------- */

.go-global-communities {
	box-sizing: border-box;
	width: min(1638px, calc(100% - 40px)); /* Figma "global" */
	margin: 88px auto 0;
}

/* Technion Alumni Communities Around the World – 700 34 / 132.5%, #337DFF
   (contrast on white 3.8:1 – passes AA for large bold text) */
.go-global-communities__title {
	width: 100%;
	max-width: 939px;
	margin: 0 auto;
	font-family: 'Assistant', sans-serif;
	font-style: normal;
	font-weight: 700;
	font-size: 34px;
	line-height: 132.5%;
	text-align: center;
	color: var(--gg-blue);
}

@media (max-width: 1200px) {
	.go-global-communities__title {
		font-size: 30px;
		line-height: 1.3;
	}
}

@media (max-width: 992px) {
	.go-global-communities {
		margin-top: 72px;
	}
}

@media (max-width: 768px) {
	.go-global-communities {
		width: calc(100% - 32px);
		margin-top: 48px;
	}

	.go-global-communities__title {
		font-size: 26px;
	}
}

@media (max-width: 480px) {
	.go-global-communities__title {
		font-size: 24px;
	}
}

/* ----------------------------------------------------------
   Region filter – Figma "filter": bar 1638×110 #F3F5FF r10,
   row 1080 centred, gap 30, buttons 192×35 pill, 600 16/21
   (title → 50px → bar)
   ---------------------------------------------------------- */

.go-global-filter {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 110px;
	margin-top: 50px;
	padding: 20px;
	border-radius: var(--gg-radius);
	background: var(--gg-bg-soft);
}

.go-global-filter__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.go-global-filter__item {
	margin: 0;
	padding: 0;
}

.go-global-filter__btn {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 192px;
	height: 35px;
	padding: 0 20px;
	border: 1px solid var(--gg-blue);
	border-radius: 1000px;
	background: var(--gg-white);
	font-family: 'Assistant', sans-serif;
	font-style: normal;
	font-weight: 600;
	font-size: 16px;
	line-height: 21px;
	text-align: center;
	color: var(--gg-blue);
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.go-global-filter__btn:hover {
	background: rgba(51, 125, 255, 0.1);
	color: var(--gg-blue);
	text-decoration: none;
}

.go-global-filter__btn.is-active,
.go-global-filter__btn[aria-current="true"] {
	background: var(--gg-blue);
	color: var(--gg-white);
}

.go-global-filter__btn:focus-visible {
	outline: 3px solid var(--gg-navy);
	outline-offset: 3px;
}

/* ----------------------------------------------------------
   Cards – Figma "Frame 2": 2 columns × 795, gap 48 / 38, bar → 94px → cards
   Card: 795×390, padding 50/40, gap 25, white, border rgba(24,48,255,.2), r10
   ---------------------------------------------------------- */

.go-global-communities__results {
	position: relative;
	margin-top: 94px;
	min-height: 390px; /* no jump while a region loads */
}

.go-global-cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 48px;
	row-gap: 38px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.go-global-card {
	margin: 0;
	padding: 0;
}

.go-global-card__inner {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 25px;
	height: 100%;
	min-height: 390px;
	padding: 50px 40px;
	border: 1px solid var(--gg-card-border);
	border-radius: var(--gg-radius);
	background: var(--gg-white);
	text-align: start;
}

/* Frame 3 – flag · region icon · leader, 60×60, gap 10 */
.go-global-card__icons {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 10px;
}

.go-global-card__icon {
	display: block;
	flex: none;
	width: 60px;
	height: 60px;
	max-width: none;
	object-fit: contain;
}

.go-global-card__icon--leader {
	border-radius: 50%;
	object-fit: cover;
}

.go-global-card__icon--avatar svg {
	display: block;
	width: 100%;
	height: 100%;
}

/* text – gap 8 */
.go-global-card__body {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
}

.go-global-card__title {
	margin: 0;
	font-family: 'Assistant', sans-serif;
	font-style: normal;
	font-weight: 600;
	font-size: 26px;
	line-height: 135%;
	color: var(--gg-navy);
}

.go-global-card__text {
	margin: 0;
	font-family: 'Assistant', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 20px;
	line-height: 28px;
	color: var(--gg-navy);
	opacity: 0.8;
}

/* CTA – 40px circle + "Join our Community" 700 16/152%, letter-spacing .1em
   NOTE: #FFB157 on white is 1.9:1 – below WCAG AA (4.5:1 for this size).
   To comply, set --gg-orange to a darker orange, e.g. #B35F00 (4.6:1). */
.go-global-card__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--gg-orange);
	text-decoration: none;
}

.go-global-card__arrow {
	display: block;
	flex: none;
	width: 40px;
	height: 40px;
	color: var(--gg-orange); /* circle uses currentColor */
	transition: transform 0.2s ease;
}

.go-global-card__arrow svg {
	display: block;
	width: 100%;
	height: 100%;
}

.go-global-card__link-text {
	font-family: 'Assistant', sans-serif;
	font-style: normal;
	font-weight: 700;
	font-size: 16px;
	line-height: 152%;
	letter-spacing: 0.1em;
	color: var(--gg-orange);
}

.go-global-card__link:hover .go-global-card__link-text {
	text-decoration: underline;
}

.go-global-card__link:hover .go-global-card__arrow {
	transform: translateX(3px);
}

/* Hebrew content (LTR toggle off): the arrow points to the reading direction */
.go-global-communities:not([dir="ltr"]) .go-global-card__arrow svg {
	transform: scaleX(-1);
}

.go-global-communities:not([dir="ltr"]) .go-global-card__link:hover .go-global-card__arrow {
	transform: translateX(-3px);
}

.go-global-card__link:focus-visible {
	outline: 3px solid var(--gg-blue);
	outline-offset: 4px;
	border-radius: 1000px;
}

.go-global-communities__empty {
	margin: 0;
	padding: 60px 20px;
	font-family: 'Assistant', sans-serif;
	font-size: 20px;
	line-height: 28px;
	text-align: center;
	color: var(--gg-navy);
}

/* Loading (AJAX) */
.go-global-communities.is-loading .go-global-communities__results > * {
	opacity: 0.4;
	transition: opacity 0.2s ease;
}

.go-global-communities.is-loading .go-global-communities__results {
	cursor: progress;
}

@media (prefers-reduced-motion: reduce) {
	.go-global-filter__btn,
	.go-global-card__arrow,
	.go-global-communities.is-loading .go-global-communities__results > * {
		transition: none;
	}

	.go-global-card__link:hover .go-global-card__arrow {
		transform: none;
	}
}

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
	.go-global-filter__list {
		gap: 16px;
	}

	.go-global-filter__btn {
		width: auto;
		min-width: 150px;
	}

	.go-global-cards {
		column-gap: 32px;
		row-gap: 32px;
	}

	.go-global-card__inner {
		min-height: 360px;
		padding: 40px 32px;
	}

	.go-global-card__title {
		font-size: 24px;
	}

	.go-global-card__text {
		font-size: 18px;
		line-height: 26px;
	}
}

@media (max-width: 992px) {
	.go-global-communities__results {
		margin-top: 64px;
	}

	.go-global-cards {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 24px;
	}

	.go-global-card__inner {
		min-height: 0;
	}
}

@media (max-width: 768px) {
	.go-global-filter {
		min-height: 0;
		margin-top: 32px;
		padding: 16px;
	}

	.go-global-filter__list {
		gap: 10px;
	}

	.go-global-filter__btn {
		min-width: 0;
		padding: 0 18px;
	}

	.go-global-communities__results {
		margin-top: 40px;
		min-height: 0;
	}

	.go-global-card__inner {
		gap: 20px;
		padding: 30px 20px;
	}

	.go-global-card__icon {
		width: 48px;
		height: 48px;
	}

	.go-global-card__title {
		font-size: 22px;
	}

	.go-global-card__text {
		font-size: 16px;
		line-height: 24px;
	}
}

@media (max-width: 480px) {
	.go-global-filter__item {
		flex: 1 1 calc(50% - 5px);
	}

	.go-global-filter__btn {
		width: 100%;
	}
}

/* ----------------------------------------------------------
   Loader – full screen while a region loads (created by go-global.js)
   Same spinner style as the theme's jobs table loader.
   ---------------------------------------------------------- */

.go-global-loader {
	position: fixed;
	inset: 0;
	z-index: 1000; /* above the fixed header (15) and the side form (31) */
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.7);
	opacity: 0;
	transition: opacity 0.2s ease;
	cursor: progress;
}

.go-global-loader[hidden] {
	display: none;
}

.go-global-loader.is-visible {
	opacity: 1;
}

.go-global-loader__spinner {
	display: block;
	width: 56px;
	height: 56px;
	border: 8px solid transparent;
	border-top-color: var(--gg-blue);
	border-bottom-color: var(--gg-blue);
	border-radius: 50%;
	animation: gg-loader-rotate 1s linear infinite;
}

@keyframes gg-loader-rotate {
	to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
	.go-global-loader {
		transition: none;
	}

	/* no spinning: a calm, static ring */
	.go-global-loader__spinner {
		animation: none;
		border-color: rgba(51, 125, 255, 0.35);
		border-top-color: var(--gg-blue);
	}
}

/* ----------------------------------------------------------
   Podcast – Figma "פודקאסט": full width #F3F5FF, 130px after the communities
   title 700 34/44 #337DFF (top 59) · subtitle 400 20/133.5% (top 108)
   list 1656px (top 168) · CTA 200×50 50px under the list · 88px bottom
   Cards: the site's podcast component (.popular-podcasts-list, style.css)
   ---------------------------------------------------------- */

.go-global-podcast {
	margin-top: 130px;
	padding: 59px 20px 88px;
	background: var(--gg-bg-soft);
}

.go-global-podcast__inner {
	width: min(1656px, 100%);
	margin: 0 auto;
}

.go-global-podcast__title {
	margin: 0;
	font-family: 'Assistant', sans-serif;
	font-style: normal;
	font-weight: 700;
	font-size: 34px;
	line-height: 44px;
	text-align: center;
	color: var(--gg-blue);
}

.go-global-podcast__subtitle {
	margin: 5px 0 0;
	font-family: 'Assistant', sans-serif;
	font-style: normal;
	font-weight: 400;
	font-size: 20px;
	line-height: 133.5%;
	text-align: center;
	color: var(--gg-navy);
}

.go-global-podcast__list.popular-podcasts-list {
	margin-top: 33px; /* 168 − (108 + 27) */
}

/* Figma: 2 rows × 512.7px, 16px between them (row 1 ends 680.85, row 2 starts 697)
   → list ends at 1209.7 and the CTA sits 50px below (1260). Desktop only – the component's
   own responsive rules (responsive.css) take over on smaller screens. */
@media (min-width: 1025px) {
	.go-global-podcast__list.popular-podcasts-list {
		row-gap: 16px;
	}

	.go-global-podcast__list .popular-podcasts-list-item.wide {
		min-height: 512px;
	}
}

.go-global-podcast__cta-wrap {
	margin-top: 50px;
	text-align: center;
}

.go-global-podcast__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 200px;
	height: 50px;
	padding: 0 20px;
	border: 1px solid var(--gg-blue);
	border-radius: 1000px;
	background: var(--gg-blue);
	font-family: 'Assistant', sans-serif;
	font-weight: 600;
	font-size: 18px;
	line-height: 24px;
	color: var(--gg-white);
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.go-global-podcast__cta:hover {
	background: var(--gg-white);
	color: var(--gg-blue);
	text-decoration: none;
}

.go-global-podcast__cta:focus-visible {
	outline: 3px solid var(--gg-navy);
	outline-offset: 3px;
}

@media (max-width: 1200px) {
	.go-global-podcast {
		margin-top: 100px;
	}

	.go-global-podcast__title {
		font-size: 30px;
		line-height: 1.3;
	}
}

@media (max-width: 768px) {
	.go-global-podcast {
		margin-top: 64px;
		padding: 40px 16px 56px;
	}

	.go-global-podcast__title {
		font-size: 26px;
	}

	.go-global-podcast__subtitle {
		font-size: 18px;
	}

	.go-global-podcast__list.popular-podcasts-list {
		margin-top: 24px;
	}

	.go-global-podcast__cta-wrap {
		margin-top: 32px;
	}
}

@media (max-width: 480px) {
	.go-global-podcast__title {
		font-size: 24px;
	}
}

/* ----------------------------------------------------------
   Next sections (next steps)
   ---------------------------------------------------------- */
/* Single ..................................... .go-global-single */

/* ==========================================================
   MOBILE (≤767px) – per Figma "mobile global lobby" (375px)
   Must stay LAST in the file: it overrides the generic
   ≤768 / ≤480 rules above. 767px = the theme's mobile breakpoint.
   ========================================================== */

/* Mobile-only controls stay out of the desktop layout */
.go-global-filter__toggle,
.go-global-podcast__nav {
	display: none;
}

@media (max-width: 767px) {

	/* ---------- Hero – 345×440, title top-right ---------- */
	.go-global-hero {
		width: calc(100% - 30px);
		height: 440px;
	}

	/* mobile_title 700 30/39 – 54px from the top, 29px from the right */
	.go-global-hero__title {
		top: 54px;
		right: 29px;
		max-width: 229px;
		transform: none;
		font-size: 30px;
		line-height: 39px;
	}

	/* Figma "Rectangle 717": navy wash on the right side only */
	.go-global-hero__gradient {
		width: 100%;
		background: linear-gradient(270deg, rgba(20, 10, 97, 0.5) 0, rgba(20, 10, 97, 0) 140px);
		opacity: 0.8;
	}

	/* Stamp – full size, 170×85 */
	.go-global-stamp {
		width: 170px;
		height: 85px;
	}

	/* ---------- Breadcrumbs – not in the mobile design ---------- */
	.go-global-breadcrumbs {
		display: none;
	}

	/* ---------- Intro – 300px column, start-aligned, map full width ---------- */
	.go-global-intro {
		width: calc(100% - 74px);
		margin-top: 117px; /* 85px stamp + 32px */
		text-align: start;
	}

	.go-global-intro__content {
		align-items: stretch;
		gap: 15px;
	}

	.go-global-intro__title {
		max-width: none;
		font-size: 30px;
		line-height: 39px;
		text-align: start;
	}

	/* Figma: 700 20/26, full colour */
	.go-global-intro__text {
		font-weight: 700;
		font-size: 20px;
		line-height: 26px;
		text-align: start;
		opacity: 1;
	}

	.go-global-intro__map {
		width: 100vw;
		max-width: none;
		margin: 30px 0 0;
	}

	/* ---------- Communities ---------- */
	.go-global-communities {
		width: calc(100% - 30px);
		margin-top: 60px;
	}

	.go-global-communities__title {
		max-width: 300px;
		font-size: 30px;
		line-height: 39px;
	}

	/* Filter bar 345×110 #F3F5FF with one 260×35 pill */
	.go-global-filter {
		flex-direction: column;
		min-height: 110px;
		margin-top: 22px;
		padding: 37px 20px;
		box-shadow: 0 4px 15px rgba(24, 48, 255, 0.15);
	}

	.go-global-filter.has-toggle .go-global-filter__toggle {
		display: flex;
	}

	.go-global-filter__toggle {
		box-sizing: border-box;
		align-items: center;
		justify-content: space-between;
		width: 260px;
		max-width: 100%;
		height: 35px;
		padding: 0 20px;
		border: 0;
		border-radius: 100px;
		background: var(--gg-blue);
		font-family: 'Assistant', sans-serif;
		font-weight: 600;
		font-size: 16px;
		line-height: 21px;
		color: var(--gg-white);
		cursor: pointer;
	}

	.go-global-filter__toggle-icon {
		flex: none;
		transition: transform 0.2s ease;
	}

	.go-global-filter__toggle[aria-expanded="true"] .go-global-filter__toggle-icon {
		transform: rotate(180deg);
	}

	.go-global-filter__toggle:focus-visible {
		outline: 3px solid var(--gg-navy);
		outline-offset: 3px;
	}

	/* Closed: only the pill. Open: the regions as a column of 260px pills under it. */
	.go-global-filter.has-toggle:not(.is-open) .go-global-filter__list {
		display: none;
	}

	.go-global-filter.has-toggle .go-global-filter__list {
		flex-direction: column;
		flex-wrap: nowrap;
		gap: 10px;
		width: 260px;
		max-width: 100%;
		margin-top: 12px;
	}

	.go-global-filter.has-toggle .go-global-filter__item {
		flex: none;
		width: 100%;
	}

	.go-global-filter.has-toggle .go-global-filter__btn {
		width: 100%;
	}

	/* Cards – 40px under the bar, 25px apart */
	.go-global-communities__results {
		margin-top: 40px;
	}

	.go-global-cards {
		row-gap: 25px;
	}

	/* Card – padding 50/40, gap 25 */
	.go-global-card__inner {
		gap: 25px;
		padding: 50px 40px;
	}

	.go-global-card__icon {
		width: 60px;
		height: 60px;
	}

	.go-global-card__title {
		font-size: 26px;
		line-height: 135%;
	}

	.go-global-card__text {
		font-size: 20px;
		line-height: 28px;
	}

	/* ---------- Podcast – full-width #F3F5FF, carousel of 270px cards ---------- */
	.go-global-podcast {
		margin-top: 80px;
		padding: 40px 0 49px;
	}

	.go-global-podcast__title {
		max-width: 338px;
		margin: 0 auto;
		padding: 0 15px;
		font-size: 30px;
		line-height: 39px;
	}

	.go-global-podcast__subtitle {
		max-width: 296px;
		margin: 15px auto 0;
		font-size: 20px;
		line-height: 26px;
	}

	/* Scroll-snap strip: the active card is centred, the neighbours peek in, 15px apart */
	.go-global-podcast .go-global-podcast__list.popular-podcasts-list {
		flex-wrap: nowrap;
		gap: 15px;
		margin-top: 25px;
		padding: 0 calc(50% - 135px);
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding: 0 calc(50% - 135px);
		scrollbar-width: none;
	}

	.go-global-podcast .go-global-podcast__list.popular-podcasts-list::-webkit-scrollbar {
		display: none;
	}

	.go-global-podcast .go-global-podcast__list .popular-podcasts-list-item.wide {
		flex: 0 0 270px;
		width: 270px;
		scroll-snap-align: center;
	}

	/* Arrows + dots row – 270px, centred, 35px under the cards */
	.go-global-podcast__nav:not([hidden]) {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		width: 270px;
		max-width: calc(100% - 30px);
		margin: 35px auto 0;
	}

	.go-global-podcast__arrow {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		flex: none;
		width: 39px;
		height: 39px;
		padding: 0;
		border: 1px solid var(--gg-white);
		border-radius: 50%;
		background: var(--gg-navy);
		color: var(--gg-white);
		cursor: pointer;
	}

	.go-global-podcast__arrow:disabled {
		opacity: 0.35;
		cursor: default;
	}

	.go-global-podcast__arrow:focus-visible {
		outline: 3px solid var(--gg-blue);
		outline-offset: 2px;
	}

	.go-global-podcast__dots {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 6px 10px;
	}

	.go-global-podcast__dot {
		box-sizing: border-box;
		width: 12px;
		height: 12px;
		padding: 0;
		border: 1px solid rgba(24, 48, 255, 0.2);
		border-radius: 50%;
		background: var(--gg-white);
		cursor: pointer;
	}

	.go-global-podcast__dot.is-active {
		background: var(--gg-navy);
	}

	.go-global-podcast__dot:focus-visible {
		outline: 2px solid var(--gg-blue);
		outline-offset: 2px;
	}

	.go-global-podcast__cta-wrap {
		margin-top: 30px;
	}
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
	.go-global-filter__toggle-icon {
		transition: none;
	}
}
