@font-face {
	font-family: "PP Migra";
	src: url("../../../fonts/PPMigra-ExtraboldItalic.woff2") format("woff2"),
		url("../../../fonts/PPMigra-ExtraboldItalic.woff") format("woff");
	font-weight: 800;
	font-style: italic;
	font-display: swap;
}

:root {
	--gah-red: #ed1c24;
	--gah-dark: #26333d;
	--gah-ink: #17242d;
	--gah-paper: #f7f7f3;
	--gah-gold: #b7a365;
	--gah-silver: #9eb2bf;
	--gah-bronze: #b27d52;
	--gah-body: FoundrySterling-Demi, Arial, sans-serif;
	--gah-display: "PP Migra", Georgia, serif;
}

body.homepage.games-active {
	padding-left: 0;
	padding-right: 0;
}

.games-active-home {
	background: #f7f7f3 url("/inc/img/themes/commonwealth/rtw-bg.jpg") repeat-y top center;
	background-size: 100% auto;
	color: var(--gah-ink);
	font-family: var(--gah-body);
	overflow: hidden;
}

.games-active-home a {
	color: inherit;
	text-decoration: none;
}

.games-active-home .home-news-2026 {
	background: #ed1c24;
	padding-top: 20px;
	padding-bottom: 40px;
}

.games-active-home .gah-news-contained .home-news-2026 {
	margin-left: 0;
	margin-right: 0;
	overflow-x: visible;
}

.games-active-home .home-news-2026-title {
	color: white;
}

.games-active-home .gah-news-contained .home-news-2026 .grid.no-max .primary-column-16 {
	padding: 0px;
}

.games-active-home .gah-news-contained .home-news-2026-featured-wrap {
	margin-left: 0;
	margin-right: 0;
}

.gah-hero {
	display: grid;
	grid-template-columns: minmax(320px, 1fr) minmax(0, 1fr);
	min-height: 560px;
	background: #fff;
}

.gah-hero__copy {
	align-items: flex-start;
	background: #fff url("/inc/img/themes/commonwealth/homepage-2026-background-effect.webp") center/cover no-repeat;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 20px;
	position: relative;
	text-align: center;
}

.gah-hero__copy svg {
	margin-top: -40px;
}

.gah-hero__mark {
	height: 56px;
	margin-bottom: 42px;
	width: auto;
}

.gah-hero h1,
.gah-section-header h2,
.gah-social h2,
.gah-signup h2 {
	font-family: var(--gah-display);
	font-style: italic;
	font-weight: 800;
	letter-spacing: 0;
	text-transform: uppercase;
}

.gah-hero h1 {
	color: var(--gah-red);
	font-size: clamp(58px, 8.2vw, 126px);
	line-height: 0.88;
	margin: 0;
	max-width: 100%;
}

@media only screen and (min-width: 750px) {
	.gah-hero h1 span {
		display: block;
		white-space: nowrap;
	}
}

.gah-hero p {
	font-size: clamp(16px, 1.6vw, 22px);
	line-height: 1.45;
	margin: 0 0 28px;
	max-width: 500px;
	margin-top: 20px;
}

.btn {
	align-items: center;
    justify-content: center;
    display: flex;
    justify-items: center;
	padding-left: 20px;
	padding-right: 20px;
}

.btn span {
	color: white;
	position: relative;
	left: 0px;
	transition: all 0.6s ease;
}

.btn svg {
	margin-top: 0px;
}

body div .btn.all-news-btn {
	background: transparent!important;
}

body div .btn.all-news-btn:hover span {
	left: -6px;
}

.gah-button--outline {
	background: transparent;
	border: 2px solid #fff;
}

.gah-hero__image {
	min-height: 420px;
	overflow: hidden;
}

.gah-hero__image img {
	height: 100%;
	object-fit: cover;
	object-position: 58% center;
	width: 100%;
}

.gah-strip {
	padding: 58px clamp(18px, 4vw, 52px);
}

.gah-strip--red,
.gah-news,
.gah-ticker,
.gah-signup {
	background: var(--gah-red);
	color: #fff;
}

.gah-section-header {
	align-items: center;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	margin: 0 auto 28px;
}

.gah-section-header h2 {
	color: var(--gah-red);
	font-size: 40px;
	line-height: 0.9;
	margin: 0;
}

.gah-section-header h2.gah-schedule-title-bigger {
	font-family: var(--gah-display);
	font-size: clamp(34px, 5vw, 66px);
	font-style: italic;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 0.9;
	margin: 0;
	text-transform: uppercase;
}

.gah-section-header--inverse h2,
.gah-strip--red .gah-section-header h2 {
	color: #fff;
}

body .home-news-2026-featured-copy {
	background: white;
}

body .home-news-2026-featured-title {
	color: var(--gah-red);
	font-family: var(--gah-display);
    font-style: italic;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

body .home-news-2026-featured-play:after {
	background: var(--gah-red);
}

.home-news-2026-featured:hover .home-news-2026-featured-play:after {
	background: white!important;
}

.gah-section-links {
	display: flex;
	gap: 18px;
}

.gah-schedule .gah-section-links .btn,
.gah-medals .gah-section-links .btn {
	background: transparent;
	border: 0;
	color: #000;
}

.gah-schedule .gah-section-links .btn span,
.gah-medals .gah-section-links .btn span {
	color: #000;
	position: relative;
	left: 0;
	transition: left 0.25s ease;
}

.gah-schedule .gah-section-links .btn svg,
.gah-schedule .gah-section-links .btn svg path,
.gah-medals .gah-section-links .btn svg,
.gah-medals .gah-section-links .btn svg path {
	fill: var(--gah-red) !important;
}

.gah-schedule .gah-section-links .btn:hover,
.gah-schedule .gah-section-links .btn:focus,
.gah-medals .gah-section-links .btn:hover,
.gah-medals .gah-section-links .btn:focus {
	background: transparent !important;
	color: #000 !important;
}

.gah-schedule .gah-section-links .btn:hover span,
.gah-schedule .gah-section-links .btn:focus span,
.gah-medals .gah-section-links .btn:hover span,
.gah-medals .gah-section-links .btn:focus span {
	color: #000;
	left: -4px;
}

.gah-schedule .gah-section-links .btn:hover svg,
.gah-schedule .gah-section-links .btn:focus svg,
.gah-schedule .gah-section-links .btn:hover svg path,
.gah-schedule .gah-section-links .btn:focus svg path,
.gah-medals .gah-section-links .btn:hover svg,
.gah-medals .gah-section-links .btn:focus svg,
.gah-medals .gah-section-links .btn:hover svg path,
.gah-medals .gah-section-links .btn:focus svg path {
	fill: var(--gah-red) !important;
}

.gah-highlight-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 0 auto;
}

.gah-highlight-card {
	align-items: stretch;
	background: #fff;
	color: var(--gah-ink);
	display: flex;
	min-height: 96px;
	overflow: hidden;
}

.gah-highlight-card p {
	color: black;
}

.gah-highlight-card .font-bold {
	font-family: 'Geist';
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    color: #000000;
}

.gah-highlight-card img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.gah-highlight-card div {
	padding: 14px 18px;
}

.gah-highlight-card span,
.gah-news-card span,
.gah-news-feature span,
.gah-medal-card span {
	color: var(--gah-red);
	display: block;
	font-family: var(--gah-display);
	font-size: 30px;
	font-style: italic;
	line-height: 1;
	margin-bottom: 7px;
	text-transform: uppercase;
}

.gah-highlight-card strong {
	display: block;
	font-size: 15px;
	line-height: 1.2;
}

.gah-highlight-card--gold span {
	color: #b09144;
}

.gah-highlight-card--silver span {
	color: #7997AF;
}

.gah-highlight-card--bronze span {
	color: #BC8148;
}

.gah-highlight-card--story strong,
.gah-highlight-card--story p {
	color: #000;
}

.gah-highlight-card p {
	font-size: 14px;
	line-height: 1.35;
	margin: 8px 0 0;
}

.gah-ticker {
	display: flex;
	font-family: FoundrySterling-ExtraBold, Arial, sans-serif;
	font-size: 12px;
	letter-spacing: 2px;
	overflow: hidden;
	padding: 14px 0;
	text-transform: uppercase;
	white-space: nowrap;
}

.gah-ticker div {
	animation: gahTicker 34s linear infinite;
	display: flex;
	flex: 0 0 auto;
	gap: 28px;
	min-width: 100%;
	padding-right: 28px;
}

.gah-ticker span:before {
	background: url("/inc/svg/themes/commonwealth/CGE_Torch_White.svg") center/contain no-repeat;
	content: "";
	display: inline-block;
	height: 16px;
	margin-right: 10px;
	vertical-align: -3px;
	width: 25px;
}

@keyframes gahTicker {
	to {
		transform: translateX(-100%);
	}
}

.gah-news {
	padding: 38px clamp(18px, 4vw, 52px) 58px;
}

.gah-news-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 auto;
	max-width: 1380px;
}

.gah-news-feature {
	background: #fff;
	color: var(--gah-ink);
	grid-column: span 3;
	grid-row: span 2;
	min-height: 520px;
	position: relative;
}

.gah-news-feature img,
.gah-news-card img,
.gah-sport-card img,
.gah-social__grid img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.gah-news-feature img {
	display: block;
	height: 100%;
	position: absolute;
}

.gah-news-feature:after {
	background: linear-gradient(180deg, rgba(23, 36, 45, 0), rgba(23, 36, 45, 0.78));
	content: "";
	inset: 0;
	position: absolute;
}

.gah-news-feature div {
	bottom: 0;
	color: #fff;
	left: 0;
	max-width: 680px;
	padding: 34px;
	position: absolute;
	z-index: 1;
}

.gah-news-feature h3,
.gah-stream-card h3,
.gah-news-card h3 {
	font-family: FoundrySterling-ExtraBold, Arial, sans-serif;
	font-size: clamp(20px, 2vw, 34px);
	line-height: 1.06;
	margin: 0;
}

.gah-stream-card {
	background: #fff;
	color: var(--gah-red);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 250px;
	padding: 24px;
}

.gah-news-card {
	background: #fff;
	color: var(--gah-ink);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	min-height: 220px;
}

.gah-news-card img {
	min-height: 220px;
}

.gah-news-card div {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 22px;
}

.gah-news-card h3 {
	font-size: 18px;
	line-height: 1.15;
}

.gah-schedule,
.gah-social {
	padding: 108px clamp(18px, 4vw, 52px);
}

.gah-sports-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 20px auto 0px auto;
	padding-top: 30px;
}

.gah-sport-card {
	background: #fff;
	display: block;
	min-height: 330px;
	overflow: hidden;
	position: relative;
}

.gah-sport-card img {
	display: block;
	aspect-ratio: 7 / 10;
	object-fit: cover;
	transition: transform 0.35s ease;
	width: 100%;
	height: calc(100% - 80px);
}

.gah-sport-card--athlete:after {
	background: url("/inc/img/themes/commonwealth/static-ticker-tape.jpg") repeat-x center / auto 100%;
	bottom: 80px;
	content: "";
	height: 38px;
	left: 0;
	pointer-events: none;
	position: absolute;
	right: 0;
	z-index: 2;
}

.gah-sport-tag {
	background: #fff;
	color: var(--gah-red);
	display: inline-block;
	font-family: "Geist Mono", monospace;
	font-size: 14px;
	left: 12px;
	line-height: 1;
	padding: 10px 14px;
	position: absolute;
	top: 12px;
	z-index: 2;
}

.gah-sport-card:hover img,
.gah-sport-card:focus-visible img {
	transform: scale(1.08);
}

.gah-sports-grid .gah-sport-card > div {
	background: white;
	border: 1px solid var(--gah-red);
	bottom: 0;
	color: var(--gah-red);
	left: 0;
	padding: 17px 20px 9px;
	position: absolute;
	right: 0;
	transition: all 0.3s ease;
	text-align: center;
}

.gah-sport-card:hover > div {
	background: var(--gah-red);
}

.gah-sport-card:hover > div strong, .gah-sport-card:hover > div span {
	color: white;	
}


.gah-sport-card strong {
	color: var(--gah-red);
	display: block;
	font-family: var(--gah-display);
	font-size: 30px;
	font-style: italic;
	line-height: 1;
	text-transform: uppercase;
}

.gah-sport-card span {
	display: block;
	font-size: 13px;
	margin-top: 4px;
	font-family: 'Geist Mono';
}

.gah-medal-totals {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 auto 64px;
}

.gah-medals--glasgow {
	background: var(--gah-paper);
	padding: 80px clamp(18px, 4vw, 52px);
}

.gah-medal-total strong {
	display: block;
	font-family: var(--gah-display);
	font-size: 140px;
	font-style: italic;
	line-height: 0.9;
}

.gah-medal-total span {
	display: block;
	font-family: var(--gah-display);
	font-size: 64px;
	font-style: italic;
	line-height: 1;
	text-transform: uppercase;
}

.gah-medal-total--position {
	color: var(--gah-red);
}

.gah-medal-total--gold {
	color: var(--gah-gold);
}

.gah-medal-total--silver {
	color: var(--gah-silver);
}

.gah-medal-total--bronze {
	color: var(--gah-bronze);
}

.gah-medal-total--gold span,
.gah-medal-total--silver span,
.gah-medal-total--bronze span {
	-webkit-text-fill-color: transparent;
	-webkit-text-stroke: 2px currentColor;
	text-stroke: 2px currentColor;
}

.gah-medal-grid-wrap {
	background: var(--gah-red);
	padding-top: 20px;
    padding-bottom: 20px;
}

.gah-medal-grid {
	display: grid;
	gap: 2rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 auto;
	max-width: 1380px;
	padding: 14px;
}

.gah-medal-card {
	background: #fff;
	display: block;
	min-height: 96px;
	padding: 16px;
}

.gah-medal-card--gold span {
	color: var(--gah-gold);
}

.gah-medal-card--silver span {
	color: var(--gah-silver);
}

.gah-medal-card--bronze span {
	color: #BC8148;
}

.gah-medal-card strong,
.gah-medal-card small {
	color: var(--gah-ink);
	display: block;
	font-size: 13px;
	line-height: 1.25;
}

.gah-medal-card small {
	margin-top: 4px;
}

.gah-medal-empty {
	color: #fff;
	font-family: "Geist Mono", monospace;
	font-size: 16px;
	grid-column: 1 / -1;
	letter-spacing: 0.08em;
	margin: 0;
	padding: 24px;
	text-align: center;
	text-transform: uppercase;
}

.gah-social {
	text-align: center;
}

.gah-social__intro {
	margin: 0 auto 42px;
	max-width: 640px;
}

.gah-social h2 {
	color: var(--gah-red);
	font-size: clamp(36px, 5.6vw, 72px);
	line-height: 0.9;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.gah-social p {
	font-size: 16px;
	line-height: 1.5;
	margin: 0 auto 24px;
	max-width: 520px;
}

.gah-social__grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin: 0 auto;
	max-width: 1380px;
}

.gah-social__grid a {
	aspect-ratio: 1 / 1.22;
	background: #d8dadc;
	display: block;
	overflow: hidden;
}

.instagram-feed--placeholder {
	align-items: center;
	justify-content: center;
	min-height: 320px;
	padding: 80px 20px;
	text-align: center;
}

.instagram-feed--placeholder p {
	color: #000;
	font-family: "Geist Mono", monospace;
	font-size: clamp(18px, 2.6vw, 34px);
	font-weight: 500;
	letter-spacing: 0.16em;
	line-height: 1.2;
	margin: 0;
	text-transform: uppercase;
}

.gah-signup {
	align-items: center;
	display: grid;
	grid-template-columns: minmax(180px, 0.7fr) minmax(280px, 1fr) minmax(180px, 0.7fr);
	min-height: 330px;
	padding: 30px clamp(18px, 4vw, 52px);
	text-align: center;
}

.gah-signup img {
	align-self: end;
	max-height: 300px;
	max-width: 100%;
	object-fit: contain;
}

.gah-signup h2 {
	color: #fff;
	font-size: clamp(34px, 5vw, 70px);
	line-height: 0.9;
	margin: 0 0 14px;
}

.gah-signup p {
	font-size: 16px;
	line-height: 1.45;
	margin: 0 auto 22px;
	max-width: 460px;
}

.games-active-home .sports-lifestyle {
	aspect-ratio: 16 / 9;
	background: var(--gah-dark);
	color: #fff;
	overflow: hidden;
	position: relative;
	text-align: center;
}

.games-active-home .sports-lifestyle:before {
	background: #000;
	content: "";
	inset: 0;
	opacity: 0.5;
	position: absolute;
	z-index: 1;
}

.games-active-home .sports-lifestyle .sports-background {
	background-position: center;
	background-size: cover;
	inset: 0;
	opacity: 1;
	position: absolute;
	transition: opacity 700ms ease-in-out;
	z-index: 0;
}

.games-active-home .sports-lifestyle .sports-background.is-hidden {
	opacity: 0;
}

.games-active-home .sports-lifestyle .container {
	align-items: center;
	display: flex;
	height: 100%;
	justify-content: center;
	margin: 0 auto;
	max-width: 1380px;
	padding: 0 clamp(18px, 4vw, 52px);
	position: relative;
}

.games-active-home .sports-headlines {
	display: flex;
	flex-direction: column;
	gap: 24px;
	height: 500px;
	justify-content: flex-start;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 32px 0;
	position: relative;
	scroll-behavior: smooth;
	scroll-snap-type: y mandatory;
	scrollbar-width: none;
	z-index: 2;
}

.games-active-home .sports-headlines::-webkit-scrollbar {
	display: none;
}

.games-active-home .sport-headline {
	color: #fff;
	cursor: pointer;
	font-family: var(--gah-display);
	font-size: clamp(70px, 13vw, 180px);
	font-style: italic;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 0.9;
	margin: 0;
	opacity: 0.35;
	scroll-snap-align: center;
	text-transform: uppercase;
	transform: scale(0.9);
	transition: opacity 500ms ease-out, transform 500ms ease-out;
	user-select: none;
}

.games-active-home .sport-headline.isActive {
	opacity: 1;
	transform: scale(1);
}

.games-active-home .sports-list p {
	margin: 0;
}

@media only screen and (max-width: 1100px) {
	.gah-hero,
	.gah-news-grid,
	.gah-highlight-grid,
	.gah-sports-grid,
	.gah-social__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gah-news-feature {
		grid-column: span 2;
	}

	.gah-medal-grid,
	.gah-medal-totals {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gah-signup {
		grid-template-columns: 1fr;
	}

	.gah-signup img {
		display: none;
	}
}

@media only screen and (max-width: 749px) {
	.gah-hero,
	.gah-highlight-grid,
	.gah-news-grid,
	.gah-sports-grid,
	.gah-medal-grid,
	.gah-medal-totals,
	.gah-social__grid {
		grid-template-columns: 1fr;
	}

	.gah-hero {
		min-height: 0;
	}

	.gah-hero__copy {
		padding-top: 44px;
	}

	.gah-hero__mark {
		height: 44px;
		margin-bottom: 30px;
	}

	.gah-hero__image {
		min-height: 320px;
	}

	.gah-section-header {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}

	.gah-section-links {
		flex-wrap: wrap;
	}

	.gah-highlight-card,
	.gah-news-card {
		grid-template-columns: 112px minmax(0, 1fr);
	}

	.gah-news-feature {
		grid-column: span 1;
		min-height: 430px;
	}

	.gah-stream-card {
		min-height: 190px;
	}

	.games-active-home .sports-lifestyle {
		aspect-ratio: 1 / 1;
	}

	.games-active-home .sports-headlines {
		height: 250px;
	}

	.games-active-home .sports-list {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gah-ticker div {
		animation: none;
	}
}
