/*
Theme Name: Sporting Club de Goa
Theme URI: http://localhost:8084
Author: Kilowott
Description: Custom block theme for Sporting Club de Goa, built from the Figma "Final design".
Version: 0.2.15
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sc-goa
*/

/* Styles live in theme.json. Only add CSS here for things theme.json can't express. */

/* Header: logo | menu | socials, with the menu truly centred on the page. */
.sc-header__bar {
	display: grid !important;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
}
.sc-header__bar > :last-child { /* social icons */
	justify-self: end;
}
/* Menu and icons line up with the top of the crest, like the design */
.sc-header__bar:has(.sc-header__logo) {
	align-items: start;
}
.sc-header__bar:has(.sc-header__logo) > .wp-block-navigation,
.sc-header__bar:has(.sc-header__logo) > :last-child {
	margin-top: 8px;
}
.sc-header .wp-block-navigation {
	font-size: 0.875rem;
}
.sc-header__bar > :last-child,
.sc-header__bar .sc-social {
	margin-block: 0;
	line-height: 0;
}

/* Social icons: white glyphs on dark shield badges */
.sc-social.wp-block-social-links .wp-social-link {
	border-radius: 0;
	clip-path: polygon(0 4%, 50% 0, 100% 4%, 100% 66%, 50% 100%, 0 66%);
}
.sc-social.wp-block-social-links .wp-social-link a {
	padding: 0.3em 0.3em 0.55em;
}
.sc-header .sc-social.wp-block-social-links .wp-social-link { /* header: small rounded squares */
	clip-path: none;
	border-radius: 6px;
	background-color: rgba(255, 255, 255, 0.14) !important;
}
.sc-header .sc-social.wp-block-social-links .wp-social-link a {
	padding: 0.25em;
}
.sc-header__logo,
.sc-footer__logo {
	margin: 0;
}

/* Footer */
.sc-footer h2,
.sc-footer h4,
.sc-footer p {
	margin: 0;
}
.sc-footer__blurb {
	max-width: 290px;
}
.sc-footer__links .wp-block-navigation {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	text-transform: none;
	color: var(--wp--preset--color--grey);
	margin-top: 8px;
}
.sc-footer__links h4 {
	font-size: var(--wp--preset--font-size--large);
}
.sc-footer__links h4 + p {
	margin-top: 8px;
}
.sc-footer > .wp-block-columns > .wp-block-column:first-child { /* link columns start a little further left, like the design */
	flex-basis: 48.5% !important;
}
.sc-footer > .wp-block-columns > .wp-block-column:last-child {
	flex-basis: 51.5% !important;
}
.sc-footer__links .wp-block-column > p + p {
	margin-top: 14px;
}

/* Full-width section blocks (inc/blocks.php) sit flush against each other;
   nested ones (trophy row, social icons) keep the normal spacing of where they sit */
.sc-section.alignfull {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* A page's sections (inc/pages.php) follow each other with no gap, like they did
   when they sat straight in the template's <main> (blockGap 0). */
.sc-page-content > * {
	margin-block: 0;
}
/* Wide sections (Media featured story, news grid) sit at the wide width straight
   in the page, so they don't need a Group around them. */
.sc-page-content > .sc-section.alignwide {
	max-width: min(var(--wp--style--global--wide-size), 100% - var(--wp--style--root--padding-left) - var(--wp--style--root--padding-right));
	margin-inline: auto;
}
.sc-page-content > .sc-section.alignwide:has(+ .sc-section.alignfull) { /* room before the next full-width section */
	padding-bottom: 80px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* Block styles */
.is-style-kicker {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	text-transform: uppercase;
	line-height: 1;
	margin: 0;
}
.is-style-arrow .wp-block-button__link::after { /* long thin arrow, in the text colour */
	content: "";
	display: inline-block;
	width: 1.4em;
	height: 0.75em;
	margin-left: 0.6em;
	vertical-align: -0.05em;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 6h21M17 1l5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 6h21M17 1l5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.is-style-tilted {
	position: relative;
	isolation: isolate;
	margin: 30px 10px;
}
.is-style-tilted::before { /* peach card behind the photo */
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: var(--wp--preset--color--peach);
	border-radius: 6px;
	transform: rotate(-3.5deg);
}
.is-style-tilted img {
	border-radius: 6px;
	transform: rotate(3deg);
}

/* Pages that open with a full-bleed hero: header floats over it */
.wp-site-blocks:has(.sc-hero, .sc-page-hero, .sc-page-header, .sc-post-hero, .sc-404) > header.wp-block-template-part {
	position: absolute;
	top: var(--wp-admin--admin-bar--height, 0);
	left: 0;
	right: 0;
	z-index: 10;
}
.wp-site-blocks:has(.sc-hero, .sc-page-hero, .sc-page-header, .sc-post-hero, .sc-404) .sc-header {
	/* no band: the hero runs up behind the menu, just darkened enough to read it */
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), transparent) !important;
}

/* Pages built from sections end on a full-width band that meets the footer */
.wp-site-blocks > main:has(.sc-section) + footer.wp-block-template-part {
	margin-top: 0;
}

/* Hero */
.sc-hero {
	margin-top: 0 !important;
	background: #000 url(assets/images/hero-poster.jpg) center / cover no-repeat;
}
@media (prefers-reduced-motion: reduce) {
	.sc-hero .wp-block-cover__video-background {
		display: none; /* poster stays */
	}
}

/* News ticker */
.sc-ticker {
	overflow: hidden;
	margin-top: 0 !important;
}
.sc-ticker__track {
	display: flex !important;
	flex-wrap: nowrap;
	width: max-content;
	margin: 0;
	padding: 0;
	list-style: none;
}
.sc-ticker__track > li {
	display: flex;
	align-items: center;
	height: 67px;
	margin: 0;
	white-space: nowrap;
}
.sc-ticker__track > li::after { /* TODO: swap for the ball icon once exported */
	content: "\26BD\FE0E";
	margin: 0 40px;
	font-size: 1rem;
}
.sc-ticker__track > li:nth-child(even)::after { /* the design alternates ball and dot */
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
}
.sc-ticker__item {
	margin: 0;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--small);
	text-transform: none;
	line-height: 1;
}
.sc-ticker.is-running .sc-ticker__track {
	animation: sc-ticker var(--sc-ticker-duration, 40s) linear infinite;
}
.sc-ticker:hover .sc-ticker__track,
.sc-ticker:focus-within .sc-ticker__track {
	animation-play-state: paused;
}
@keyframes sc-ticker {
	to {
		transform: translateX(-50%);
	}
}
@media (prefers-reduced-motion: reduce) {
	.sc-ticker.is-running .sc-ticker__track {
		animation: none;
	}
	.sc-ticker {
		overflow-x: auto;
	}
}

/* Match promo */
.sc-match {
	margin-top: 0 !important;
}
.sc-match h2,
.sc-match h3,
.sc-match p {
	margin-bottom: 0;
}
.sc-match__kicker {
	opacity: 0.6;
}
.sc-match__crest {
	margin: 0;
}
.sc-match__crests p {
	margin: 0;
}

/* Text + tilted photo sections (Sponsor, Squad youth team) */
.sc-split {
	min-height: 720px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.sc-split > * {
	width: 100%;
}
.sc-split h2,
.sc-split p {
	margin-bottom: 0;
}
.sc-stats p {
	margin: 0;
}
.sc-split .is-style-tilted {
	max-width: 690px;
	margin-left: auto;
}
.sc-youth {
	min-height: 852px;
}
.sc-youth .is-style-tilted {
	max-width: 605px;
}

/* Short page header (Squad, Contact, Leadership, Media) */
.sc-page-header {
	margin-top: 0 !important;
}
.sc-page-header h1,
.sc-page-header p {
	margin-bottom: 0;
}
.sc-page-header .wp-block-cover__inner-container {
	/* core sets width:auto for bottom-left content, which shrink-wraps it */
	width: 100% !important;
	box-sizing: border-box;
}
.sc-page-header__intro {
	margin-left: 0 !important; /* don't centre inside the shrink-wrapped cover content */
	max-width: 520px;
	line-height: 1.45;
	color: rgba(255, 255, 255, 0.82);
}

/* "Pitch lines" group style: halfway line and penalty boxes (TODO: pitch-lines.svg once exported) */
.is-style-pitch {
	position: relative;
	overflow: hidden;
	background-image: linear-gradient(rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.15));
	background-size: 1px 100%;
	background-position: center;
	background-repeat: no-repeat;
}
.is-style-pitch::before,
.is-style-pitch::after {
	content: "";
	position: absolute;
	top: 17%;
	height: 57%;
	width: 7.3%;
	border: 1px solid rgba(255, 255, 255, 0.15);
	pointer-events: none;
}
.is-style-pitch::before {
	left: 0;
	border-left: 0;
}
.is-style-pitch::after {
	right: 0;
	border-right: 0;
}
.sc-history h2 {
	margin: 0;
}
.is-style-pitch > * {
	position: relative;
	z-index: 1;
}

/* Trophy cabinet */
.sc-trophies {
	align-items: end;
	text-align: center;
}
.sc-trophy p {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	text-transform: uppercase;
	line-height: 1;
	color: rgba(255, 255, 255, 0.5);
}
.sc-trophy figure {
	margin: 0 0 24px;
}
.sc-trophy img {
	width: 120px;
	height: auto;
}
.sc-trophy__count {
	font-size: 2.5rem;
	margin-bottom: 10px !important;
}
.sc-trophy__label {
	font-size: var(--wp--preset--font-size--large);
}
.sc-trophy.is-featured {
	position: relative;
}
.sc-trophy.is-featured::before { /* centre circle */
	content: "";
	position: absolute;
	top: -60px;
	left: 50%;
	width: 170px;
	height: 170px;
	transform: translateX(-50%);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 50%;
}
.sc-trophy.is-featured img {
	position: relative;
	width: 160px;
}
.sc-trophy.is-featured p {
	color: var(--wp--preset--color--white);
}
.sc-trophy.is-featured .sc-trophy__count {
	font-size: 4rem;
}
.sc-trophy.is-featured .sc-trophy__label {
	font-size: var(--wp--preset--font-size--x-large);
}

/* Rotating cabinet (assets/js/trophies.js): five at a time, spaced like the
   design (narrower outer columns), the middle one big and in colour. */
.sc-trophies.is-rotating {
	grid-template-columns: 174fr 294fr 324fr 294fr 174fr !important;
}
.sc-trophies.is-rotating > .sc-trophy:nth-child(n + 6) {
	display: none;
}
/* Images keep one size and scale down at the sides, so a turn only moves
   and scales things (smooth) and never re-lays out the row. */
.sc-trophies.is-rotating .sc-trophy img {
	width: var(--sc-big, var(--w, 160px));
	max-width: 100%;
	transform: scale(var(--sc-small, 0.5));
	transform-origin: 50% 100%;
	filter: grayscale(1) brightness(0.8);
	opacity: 0.55;
	transition: transform 1s var(--sc-glide), filter 1s ease, opacity 1s ease;
}
.sc-trophies.is-rotating .sc-trophy.is-featured img {
	transform: none;
	filter: none;
	opacity: 1;
}
.sc-trophies.is-rotating .sc-trophy p {
	transition: font-size 1s var(--sc-glide), color 1s ease;
}
/* Once trophies.js has measured the five places, the trophies leave the grid
   and glide between those places as one row, like the design. */
.sc-trophies.is-rotating {
	--sc-glide: cubic-bezier(0.1, 0, 0.4, 1); /* fitted to the design's motion */
	position: relative;
}
.sc-trophies.is-rotating.is-sliding > .sc-trophy {
	display: flex !important;
	position: absolute;
	left: 0;
	bottom: 0;
	margin: 0;
	transition: transform 1s var(--sc-glide), opacity 1s ease;
}
.sc-trophies.is-rotating.is-instant > .sc-trophy,
.sc-trophies.is-rotating.is-instant > .sc-trophy * {
	transition: none !important;
}
.sc-trophies.is-rotating .sc-trophy.is-featured::before {
	display: none; /* the pitch's own centre circle sits behind the middle column */
}

/* Sliders: arrows are two Button blocks (sc-slider__prev / sc-slider__next) */
.sc-slider__arrows {
	flex-shrink: 0;
	gap: 16px !important;
}
.sc-slider__arrows .wp-block-button { /* don't let the heading squeeze the buttons */
	flex: 0 0 auto;
}
.sc-slider__arrows button.wp-block-button__link { /* beats core's width: 100% */
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid currentColor;
	background: transparent;
	color: inherit;
	font-size: 1.25rem;
	cursor: pointer;
}
.sc-slider__arrows button.wp-block-button__link { /* arrow icon instead of the ← → text */
	font-size: 0;
}
.sc-slider__arrows button.wp-block-button__link::before {
	content: "";
	width: 20px;
	height: 12px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 6h17M13 1l5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 6h17M13 1l5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sc-slider__prev button.wp-block-button__link::before {
	transform: scaleX(-1);
}
.sc-slider__arrows button:hover:not(:disabled) {
	background: var(--wp--preset--color--orange);
	border-color: var(--wp--preset--color--orange);
	color: var(--wp--preset--color--white);
}
.sc-slider__arrows button:disabled {
	opacity: 0.35;
	cursor: default;
}
.sc-slider__track {
	display: flex !important;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	/* bleed off the right edge of the page, like the design */
	margin-right: calc(50% - 50vw) !important;
	padding-bottom: 4px;
}
.sc-slider .sc-slider__track { /* beats the layout's margin-right: auto !important */
	max-width: none;
	margin-right: calc(50% - 50vw) !important;
}
.sc-slider__track::-webkit-scrollbar {
	display: none;
}
.sc-slider__track > li {
	flex: 0 0 340px;
	scroll-snap-align: start;
	margin: 0;
}

/* "Dot grid" group style: faint dots fading out behind the section heading */
.is-style-dot-grid {
	position: relative;
}
.is-style-dot-grid::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 300px;
	background-image: radial-gradient(rgba(0, 0, 0, 0.12) 1px, transparent 1.5px);
	background-size: 16px 16px;
	-webkit-mask-image: linear-gradient(to bottom, #000, transparent);
	mask-image: linear-gradient(to bottom, #000, transparent);
	pointer-events: none;
}
.is-style-dot-grid > * {
	position: relative;
}

/* Latest Buzz */
.sc-buzz h2 {
	margin: 0;
}
.sc-card {
	height: 100%;
	background: var(--wp--preset--color--white);
	border: 1px solid #f0f0f0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.sc-card__image {
	margin: 0;
}
.sc-card__image img {
	display: block;
}
.sc-card__tag a {
	display: inline-block;
	padding: 3px 9px;
	border: 1px solid #e2e2e2;
	border-radius: 999px;
	background: #efefef;
	color: var(--wp--preset--color--grey-dark);
	font-size: 0.8125rem;
	line-height: 1.3;
}
.sc-card__title {
	margin: 0;
	font-size: 1.375rem;
	line-height: 1.1;
}

/* Squad slider: one player per slide */
.sc-squad {
	position: relative;
	overflow: hidden;
	margin-top: 0 !important;
}
.sc-squad .sc-slider__track,
.sc-slider.sc-squad .sc-slider__track {
	gap: 0;
	margin-right: 0 !important;
	padding-bottom: 0;
}
.sc-squad .sc-slider__track > li {
	flex: 0 0 100%;
}
/* slider.js stacks the players, like the design: the next player waits small and
   blurred in the background (top left); on each change it comes forward into
   place and sharpens, while the outgoing one grows, slides left and blurs into
   the foreground. Names, numbers and details cross-fade in place. */
.sc-squad.is-fading .sc-slider__track {
	display: grid !important;
	overflow: hidden;
	scroll-snap-type: none;
}
.sc-squad.is-fading .sc-slider__track > li {
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 700ms ease, visibility 0s linear 700ms;
}
.sc-squad.is-fading .sc-slider__track > li.is-next {
	z-index: 0;
}
.sc-squad.is-fading .sc-slider__track > li.is-previous {
	z-index: 1;
}
.sc-squad.is-fading .sc-slider__track > li:is(.is-current, .is-previous, .is-next) {
	opacity: 1;
	visibility: visible;
	transition: opacity 700ms ease, visibility 0s;
}
/* the outgoing player passes in front while it moves; the new one is on top once it's in */
.sc-squad.is-fading .sc-slider__track > li.is-current {
	z-index: 2;
	pointer-events: auto;
	transition: opacity 700ms ease, visibility 0s, z-index 0s 500ms;
}
.sc-squad.is-fading .sc-player__info {
	transition: opacity 700ms ease;
}
.sc-squad.is-fading li:not(.is-current) .sc-player__info {
	opacity: 0;
}
.sc-squad.is-fading .sc-player__photo img {
	transform-origin: center bottom;
}
/* waiting in the background; slides that drop out jump here once faded out */
.sc-squad.is-fading li .sc-player__photo img {
	transform: translate(-25%, -53%) scale(0.42);
	filter: blur(10px);
	opacity: 0.5;
	transition: transform 0s 700ms, filter 0s 700ms, opacity 0s 700ms;
}
.sc-squad.is-fading li.is-next .sc-player__photo img {
	transition: transform 900ms cubic-bezier(.2, .7, .2, 1), filter 900ms ease, opacity 900ms ease;
}
.sc-squad.is-fading li.is-current .sc-player__photo img {
	transform: none;
	filter: none;
	opacity: 1;
	transition: transform 900ms cubic-bezier(.2, .7, .2, 1), filter 900ms ease, opacity 900ms ease;
}
.sc-squad.is-fading li.is-previous .sc-player__photo img { /* large and low at the far left */
	transform: translate(-66%, 58%) scale(1.6);
	filter: blur(12px);
	opacity: 0.8;
	transition: transform 1000ms cubic-bezier(.3, .7, .2, 1), filter 1000ms ease, opacity 1000ms ease;
}
.sc-player {
	grid-template-columns: 1fr 1fr !important;
	min-height: 813px;
}
.sc-player__photo { /* the full height of the section: heads reach near the top, as in the design */
	align-self: end;
	height: 813px;
	margin: 0;
}
.sc-player__photo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center bottom;
}
.sc-player__info {
	padding: 90px var(--wp--style--root--padding-right) 210px 0;
}
.sc-player__info p {
	margin: 0;
}
.sc-player__kicker {
	color: #cccccc;
}
.sc-player__head {
	margin-top: 20px;
}
.sc-player__name {
	width: min-content; /* first and last name on their own lines, as in the design */
	overflow-wrap: normal;
	word-break: normal;
	margin: 0;
	font-size: clamp(4rem, 8.3vw, 7.5rem);
	line-height: 0.92;
}
.sc-player .sc-player__number {
	flex-shrink: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(6rem, 12.5vw, 11.25rem);
	line-height: 0.8;
	background: linear-gradient(to bottom, #767d5f, #37502b);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.sc-player__details {
	margin-top: 80px;
	column-gap: 64px;
	row-gap: 20px;
}
.sc-player .sc-player__value {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 2rem;
	line-height: 1;
	text-transform: uppercase;
	color: var(--wp--preset--color--orange);
}
.sc-player__bio {
	max-width: 500px;
	margin-top: 30px;
}
.sc-player__bio p {
	line-height: 1.4;
}
.sc-squad__arrows {
	position: absolute;
	left: 50%;
	bottom: 129px;
	z-index: 2;
}

/* Merchandise */
.sc-merch {
	margin-top: 0 !important;
}
.sc-merch .wp-block-media-text__content {
	padding-left: var(--wp--style--root--padding-left);
	padding-right: var(--wp--preset--spacing--30);
}
.sc-merch .wp-block-media-text__content > * {
	max-width: 400px;
}
.wp-block-media-text.sc-merch > .wp-block-media-text__media { /* beats core's 250px */
	min-height: 722px;
}
.sc-merch .sc-merch__video { /* beats core's height:auto for media-text videos */
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 37% 50%;
}
/* The photo fades into the page on its left edge */
.sc-merch .wp-block-media-text__media::after {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 140px;
	background: linear-gradient(to right, #fff, rgb(255 255 255 / 0.6) 40px, rgb(255 255 255 / 0.2) 90px, rgb(255 255 255 / 0));
	pointer-events: none;
}
.sc-merch h2,
.sc-merch p {
	margin-bottom: 0;
}

/* Our Socials */
.sc-socials {
	margin-top: 0 !important;
}
.sc-socials h2,
.sc-socials p {
	margin-bottom: 0;
}
.sc-socials__grid figure {
	margin: 0;
}
.sc-socials__grid img {
	border-radius: 2px;
}

/* About: page hero */
.sc-page-hero {
	margin-top: 0 !important;
}
.sc-page-hero p,
.sc-page-hero h1 {
	margin-bottom: 0;
}
.sc-page-hero__kicker {
	letter-spacing: 0.08em;
}
.sc-page-hero__title {
	font-size: clamp(4rem, 11vw, 10rem);
	line-height: 0.9;
}
.sc-page-hero .sc-facts { /* the facts row runs the full width, under the photo too */
	width: min(var(--wp--style--global--wide-size), 100vw - var(--wp--style--root--padding-left) - var(--wp--style--root--padding-right));
	max-width: none !important;
}
.sc-facts__label {
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.6);
}
.sc-facts__value {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	text-transform: uppercase;
	line-height: 1;
}

/* About: The Beginning */
.sc-beginning {
	margin-top: 0 !important;
	overflow: hidden;
}
.sc-beginning h2,
.sc-beginning p {
	margin-bottom: 0;
}
.sc-beginning__kicker {
	letter-spacing: 0.08em;
	color: #a3b2aa;
}
.sc-beginning__body {
	max-width: 500px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.82);
}
/* "Faded big number" paragraph style (the ghost "1999") — works on light or dark */
.is-style-ghost {
	font-family: var(--wp--preset--font-family--heading);
	font-size: clamp(8rem, 21vw, 19rem);
	line-height: 0.8;
	color: color-mix(in srgb, currentColor 6%, transparent) !important;
	user-select: none;
}
/* The faded year sits on the photo's bottom line */
.sc-beginning__text {
	display: flex;
	flex-direction: column;
	container-type: inline-size;
}
.sc-beginning__text .is-style-ghost {
	margin-top: auto !important;
	padding-top: 70px;
	white-space: nowrap;
	font-size: min(clamp(8rem, 21vw, 19rem), 54cqi); /* one line, as wide as the text column at most */
}
.sc-beginning__photo {
	margin: 0;
}
.sc-beginning__photo img {
	border-radius: 4px;
}

/* "Black & white" image style */
.is-style-mono img {
	filter: grayscale(1);
}

/* About: timeline */
.sc-timeline {
	margin-top: 0 !important;
	overflow: hidden;
}
.sc-timeline h2 {
	margin: 0;
}
/* The years sit in a row and the row glides one year along (timeline.js);
   the next and previous years peek in, faded, either side. */
@property --sc-lit {
	syntax: "<percentage>";
	inherits: false;
	initial-value: 0%;
}
.sc-timeline__track {
	--sc-year: clamp(8rem, 24vw, 22rem);
	gap: 0 !important;
	margin-top: 60px;
	padding-left: 335px;
	touch-action: pan-y;
}
.sc-chapter {
	position: relative;
	flex: 0 0 calc(var(--sc-year) * 2.1); /* one year and its text, then the next year */
	transform: translateX(var(--sc-shift, 0));
	transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.sc-chapter.is-active {
	z-index: 1;
}
.sc-chapter p {
	margin: 0;
}
.sc-chapter .sc-chapter__year {
	--sc-lit: 0%;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--sc-year);
	line-height: 0.78;
	white-space: nowrap;
	/* Room above the tight line box, or the gradient would slice off the tops of the digits */
	padding-top: 0.12em;
	margin-top: -0.12em !important;
	/* Faded grey, warming to the orange gradient when it's the current year */
	background: linear-gradient(to right, color-mix(in srgb, #ff9d47 var(--sc-lit), #f3f3f3), color-mix(in srgb, var(--wp--preset--color--orange) var(--sc-lit), #f3f3f3) 60%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	transition: --sc-lit 0.6s;
}
.sc-chapter.is-active .sc-chapter__year {
	--sc-lit: 100%;
}
.sc-chapter .sc-chapter__text {
	position: absolute;
	left: calc(var(--sc-year) * 1.64);
	bottom: 0;
	width: 340px;
	font-size: 1rem !important;
	line-height: 1.6;
	opacity: 0;
	transition: opacity 0.6s;
}
.sc-chapter.is-active .sc-chapter__text {
	opacity: 1;
}
.sc-timeline__nav {
	position: relative;
	display: flex;
	margin: 120px 0 0;
	padding: 0;
	list-style: none;
	border-bottom: 1px solid #d8d8d8;
}
.sc-timeline__nav li {
	flex: 1;
}
.sc-timeline__nav button {
	position: relative;
	padding: 0 0 18px;
	border: 0;
	background: none;
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	color: var(--wp--preset--color--ink);
	cursor: pointer;
}
.sc-timeline__nav button::after { /* tick on the line */
	content: "";
	position: absolute;
	left: 50%;
	bottom: -7px;
	width: 1px;
	height: 14px;
	background: var(--wp--preset--color--green);
}
.sc-timeline__dot { /* slides along the line to the current year */
	position: absolute;
	left: 0;
	bottom: -5px;
	width: 9px;
	height: 9px;
	margin-left: -4px;
	border-radius: 2px;
	background: var(--wp--preset--color--orange);
	transition: left 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.sc-timeline__nav button.is-active,
.sc-timeline__nav button:hover {
	color: var(--wp--preset--color--orange);
}
@media (prefers-reduced-motion: reduce) {
	.sc-chapter,
	.sc-timeline__dot {
		transition: none;
	}
}

/* About: vision */
.sc-vision {
	margin-top: 0 !important;
}
.sc-vision h2,
.sc-vision h3,
.sc-vision p {
	margin: 0;
}
.sc-vision__photo {
	margin: 0;
}
.sc-vision__photo img {
	border-radius: 4px;
}
.sc-vision__text {
	max-width: 614px;
}
.sc-vision__lead {
	margin-top: 10px !important;
	font-size: clamp(1.25rem, 2vw, 1.75rem);
	line-height: 1.55;
}
.sc-vision__item {
	padding: 50px 0 40px;
	max-width: 520px;
}
.sc-vision__item + .sc-vision__item {
	max-width: none;
	border-top: 1px solid #d8d8d8;
}
.sc-vision__item:last-child {
	padding-bottom: 0;
}
.sc-vision__item p {
	line-height: 1.7;
}

/* About: honours */
.sc-honours {
	margin-top: 0 !important;
}
.sc-honours__kicker {
	letter-spacing: 0.1em;
	opacity: 0.6;
}
.sc-honours__intro {
	opacity: 0.6;
}

/* About: the club today */
.sc-today {
	margin-top: 0 !important;
}
.sc-today h2,
.sc-today p {
	margin-bottom: 0;
}
.sc-today {
	align-items: flex-start; /* text sits near the top, as in Figma */
}
.sc-today__content {
	padding-left: 57.7%; /* text column starts at x=808 of 1440 */
}
.sc-today__kicker {
	letter-spacing: 0.08em;
	opacity: 0.75;
}
.sc-today h2 {
	line-height: 1;
}
.sc-today .wp-block-button__link { /* "MEET THE SQUAD" in the heading face */
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--large);
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

/* Leadership & Alumni card sliders */
.sc-people {
	margin-top: 0 !important;
}
.sc-people h2 {
	margin: 0;
}
.sc-people .sc-slider__track {
	margin-right: 0 !important;
}
.sc-people .sc-slider__track > li {
	flex: 0 0 calc((100% - 72px) / 4); /* four cards fill the row */
}
.sc-person p {
	margin: 0;
}
.sc-person__photo {
	margin: 0 0 36px;
}
.sc-person__name {
	margin: 10px 0 0;
	font-size: var(--wp--preset--font-size--x-large);
	line-height: 1;
}
.sc-person__bio {
	margin-top: 16px;
	line-height: 1.6;
}
.sc-person__bio p + p {
	margin-top: 0.8em;
}
.sc-alumni .sc-person__role {
	color: rgba(255, 255, 255, 0.65);
}
.sc-person__stats {
	margin-top: 14px;
	padding: 16px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	gap: 0 !important;
}
.sc-person__stat {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1.875rem;
	line-height: 1;
}
.sc-person__stat-label {
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.65);
}
.sc-alumni .sc-person__bio {
	color: rgba(255, 255, 255, 0.85);
}

/* Media: Club Media header */
.sc-media-header p {
	margin: 0;
}
.sc-media-header .sc-page-header__intro {
	font-size: var(--wp--preset--font-size--medium);
}
.sc-media-header__title {
	margin: 0;
	font-size: clamp(5rem, 13vw, 11.5rem);
	line-height: 0.85;
}
.sc-media-counts__number {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 3rem;
	line-height: 1;
}
.sc-media-counts__label,
.sc-muted {
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.8125rem;
}
.sc-media-header__bar {
	font-size: 0.8125rem;
}

/* Media: featured story */
.sc-featured {
	margin: 0;
}
.sc-featured figure {
	margin: 0;
}
.sc-featured__text p {
	margin: 0;
}
.sc-featured__title {
	margin: 12px 0 0;
	font-size: clamp(2.5rem, 4vw, 3.5rem);
	line-height: 0.95;
}
.sc-featured__excerpt {
	margin-top: 24px;
	line-height: 1.6;
}
.sc-featured__excerpt .wp-block-post-excerpt__excerpt + .wp-block-post-excerpt__excerpt {
	margin-top: 1em;
}
.sc-featured__excerpt .wp-block-post-excerpt__more-text {
	display: none;
}
.sc-featured__more {
	display: inline-block;
	margin-top: 20px;
	color: inherit;
}
.sc-featured__more::after,
.sc-arrow-link a::after {
	content: "\2192";
	margin-left: 0.6em;
}

/* Post card grids (Media, More stories) */
.sc-cards {
	gap: 40px 24px !important;
}
.sc-cards .sc-card__image {
	margin: 0;
}
.sc-load-more {
	margin-top: 40px;
}
.sc-load-more a {
	display: inline-block;
	padding: 12px 24px;
	background: var(--wp--preset--color--ink);
	color: var(--wp--preset--color--white);
	font-size: var(--wp--preset--font-size--small);
}
.sc-load-more a:hover {
	background: var(--wp--preset--color--orange);
	color: var(--wp--preset--color--white);
}
.sc-load-more a[aria-busy="true"] {
	opacity: 0.5;
	pointer-events: none;
}

/* Blog details: post hero */
.sc-post-hero {
	margin-top: 0 !important; /* background: "Night pitch" gradient preset */
}
/* The preset turns white 405px above the bottom, where the full-size 1260x640
   photo crosses the edge; a narrower photo is shorter, so move the edge with it. */
.sc-post-hero.has-night-pitch-gradient-background {
	--sc-photo-edge: min(405px, (100vw - var(--wp--style--root--padding-left) - var(--wp--style--root--padding-right)) * 0.3215);
	background: linear-gradient(to bottom, #060f0a 0, #285f42 calc(100% - var(--sc-photo-edge)), #ffffff calc(100% - var(--sc-photo-edge))) !important;
}
.sc-breadcrumb p,
.sc-breadcrumb .wp-block-post-terms {
	margin: 0;
	color: rgba(255, 255, 255, 0.6);
}
.sc-breadcrumb > *:not(:last-child)::after {
	content: "/";
	margin-left: 10px;
	color: rgba(255, 255, 255, 0.35);
}
.sc-breadcrumb .sc-breadcrumb__current {
	color: var(--wp--preset--color--white);
}
.sc-breadcrumb__current {
	margin: 0;
	font-family: inherit;
	font-size: inherit;
	text-transform: none;
}
.sc-post-hero__tag a {
	background: rgba(255, 255, 255, 0.16) !important;
	border-color: transparent !important;
	color: rgba(255, 255, 255, 0.8) !important;
	font-weight: 400;
}
.sc-post-hero__title {
	max-width: 780px;
	margin-left: 0 !important;
	margin-bottom: 0;
	line-height: 0.95;
}
.sc-post-meta p {
	margin: 0;
}
.sc-post-meta,
.sc-post-meta__dot {
	color: rgba(255, 255, 255, 0.6);
}
.sc-post-meta__author::before {
	content: "By ";
}
.sc-post-hero .wp-block-post-featured-image img {
	display: block;
}

/* Blog details: article */
.sc-article {
	margin-top: 0 !important;
}
.sc-share {
	position: sticky;
	top: 40px;
	align-self: flex-start;
}
.sc-share__label {
	margin: 0 0 14px;
	font-size: 0.8125rem;
}
.sc-share .wp-block-buttons {
	gap: 6px !important;
}
.sc-share .wp-block-button__link {
	padding: 0;
	border: 0;
	background: none;
	color: var(--wp--preset--color--grey-dark);
	font-size: 0.875rem;
}
.sc-share .wp-block-button__link:hover {
	background: none;
	color: var(--wp--preset--color--orange);
}
.sc-article__body {
	color: #575757;
	font-size: 1.0625rem;
	line-height: 1.8;
}
.sc-article__body .wp-block-post-content > p:first-child {
	margin-top: 0;
	font-size: 1.25rem;
	line-height: 1.65;
	color: var(--wp--preset--color--ink);
}
.sc-article__body h2 {
	margin: 64px 0 24px;
	font-size: 3rem;
	color: var(--wp--preset--color--ink);
}
.sc-article__body figure {
	margin: 32px 0;
}
.sc-article__body figcaption {
	margin-top: 10px;
	font-size: 0.75rem;
	color: var(--wp--preset--color--grey-dark);
	text-align: left;
}
.sc-article__body .wp-block-gallery {
	gap: 12px;
}
.sc-article__body .wp-block-gallery > .wp-element-caption {
	flex-basis: 100%;
	margin-top: 0;
	color: var(--wp--preset--color--grey-dark);
	font-size: 0.75rem;
	text-align: left;
}
.sc-article__body .wp-block-quote {
	margin: 32px 0 64px;
	padding: 0 0 0 26px;
	border-left: 3px solid var(--wp--preset--color--green);
}
.sc-article__body .wp-block-quote p {
	margin: 0;
	font-family: var(--wp--preset--font-family--heading);
	font-size: 2.75rem;
	line-height: 1;
	text-transform: uppercase;
	color: var(--wp--preset--color--green);
}
.sc-post-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid #e2e2e2;
	font-size: 0; /* hides the separators between tags */
}
.sc-post-tags a {
	padding: 3px 9px;
	border: 1px solid #e2e2e2;
	border-radius: 999px;
	background: #efefef;
	color: var(--wp--preset--color--grey-dark);
	font-size: 0.75rem;
}

/* More stories */
.sc-more {
	margin-top: 0 !important;
}
.sc-more h2,
.sc-more p {
	margin: 0;
}
.sc-more .sc-card {
	border: 0;
	box-shadow: none;
}

/* 404 */
.sc-404 {
	margin-top: 0 !important;
	min-height: 784px;
}
.sc-404 .wp-block-columns {
	margin: 0;
}
.sc-404__title {
	margin: 0;
	font-size: clamp(5rem, 10vw, 9rem);
	line-height: 0.9;
}
.sc-404__title mark {
	color: #fd8627 !important; /* a lighter orange than the brand one, as in the design */
}
.sc-404__note {
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.2;
}
.sc-404__hand {
	margin: 0;
}
.sc-404__hand img {
	display: block;
	/* soften the crop's edges into the background */
	-webkit-mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent), linear-gradient(to bottom, transparent, #000 4%);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(to right, transparent, #000 15%, #000 85%, transparent), linear-gradient(to bottom, transparent, #000 4%);
	mask-composite: intersect;
}

/* Media header: the photo comes into focus as the page opens */
.sc-media-header .wp-block-cover__image-background {
	animation: sc-focus-in 2.6s ease-out both;
}
@keyframes sc-focus-in {
	from {
		filter: blur(10px);
		transform: scale(1.06);
	}
}
@media (prefers-reduced-motion: reduce) {
	.sc-media-header .wp-block-cover__image-background {
		animation: none;
	}
}

/* Contact: form */
.sc-contact {
	margin-top: 0 !important;
}
.sc-contact h2 {
	margin: 0;
}
.sc-contact__photo {
	margin: 0;
}
.sc-contact__photo img {
	border-radius: 4px;
}
.sc-contact .sc-form {
	margin-top: 40px;
}

/* Form block (blocks/form): fields are full width unless set to "Half row" */
.sc-form__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px 20px;
	max-width: 560px;
}
.sc-form__grid > * {
	grid-column: 1 / -1;
	margin: 0 !important;
}
.sc-form__grid > .is-width-half {
	grid-column: auto;
}
.sc-form label {
	display: block;
	margin-bottom: 10px;
	font-size: var(--wp--preset--font-size--small);
}
.sc-form input,
.sc-form textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 13px 16px;
	border: 1px solid #d9d9d9;
	border-radius: 0;
	font: inherit;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--ink);
}
.sc-form input::placeholder,
.sc-form textarea::placeholder {
	color: #999999;
}
.sc-form input:focus,
.sc-form textarea:focus {
	outline: 2px solid var(--wp--preset--color--orange);
	outline-offset: -1px;
	border-color: transparent;
}
.sc-form textarea {
	height: 140px;
	resize: vertical;
}
.sc-form button {
	cursor: pointer;
	font-family: inherit;
}
.sc-form__required {
	color: var(--wp--preset--color--orange);
}
.sc-form .is-hidden-in-editor { /* hidden on the site, faded so it stays editable */
	opacity: 0.45;
}
/* "Inline (one row)" form style, e.g. the footer email box */
.sc-form.is-style-inline .sc-form__grid {
	display: flex;
	flex-wrap: nowrap;
	gap: 11px;
	max-width: none;
}
.sc-form.is-style-inline .sc-form__field {
	flex: 0 1 320px;
	min-width: 0;
}
.sc-form.is-style-inline .wp-block-buttons {
	flex: 0 0 auto;
}
.sc-footer .sc-form.is-style-inline { /* field + button on one row, as wide as the design */
	flex: 0 1 470px;
}
.sc-form.is-style-inline .wp-block-buttons button {
	height: 100%;
}
.sc-form.is-style-inline input {
	padding: 0.6rem 1rem;
	border: 0;
}
.sc-form.is-style-inline .sc-form__notice {
	margin-bottom: 12px;
}
.sc-form__trap {
	position: absolute !important;
	left: -9999px;
}
.sc-form__notice {
	display: none;
	margin: 0 0 24px;
	padding: 12px 16px;
	font-size: var(--wp--preset--font-size--small);
}
.sc-form__notice:target {
	display: block;
}
.sc-form__notice--sent {
	background: #e7f2ec;
	color: var(--wp--preset--color--green);
}
.sc-form__notice--error {
	background: #fdeee3;
	color: #a34700;
}

/* Contact details strip */
.sc-details {
	margin-top: 0 !important;
}
.sc-details p {
	margin: 0;
}
.sc-details p + p {
	margin-top: 10px;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.85);
}
.sc-details__title {
	margin: 0;
	font-size: var(--wp--preset--font-size--x-large);
}
.sc-details__item + .sc-details__item {
	padding-left: 40px;
	border-left: 1px solid rgba(255, 255, 255, 0.2);
}
.sc-details a[href^="mailto:"] { /* never split the address mid-word */
	overflow-wrap: normal;
	word-break: keep-all;
}
.sc-details__item:last-child { /* as wide as the address; the heading column gives way */
	flex: 0 0 auto !important;
}

@media (max-width: 1024px) {
	.sc-cards {
		grid-template-columns: repeat(2, 1fr) !important;
	}
	.sc-people .sc-slider__track > li {
		flex-basis: calc((100% - 24px) / 2);
	}
	/* Contact: the 603px photo leaves the form no room, so stack them. */
	.sc-contact .wp-block-columns {
		flex-wrap: wrap !important;
		row-gap: 40px;
	}
	.sc-contact .wp-block-column {
		flex-basis: 100% !important;
	}
	/* Photo + text sections: the fixed-width photo leaves the text no room, so stack them. */
	.sc-beginning > .wp-block-columns,
	.sc-vision > .wp-block-columns,
	.sc-featured,
	.sc-footer > .wp-block-columns {
		flex-wrap: wrap !important;
		row-gap: 40px;
	}
	.sc-beginning > .wp-block-columns > .wp-block-column,
	.sc-vision > .wp-block-columns > .wp-block-column,
	.sc-featured > .wp-block-column,
	.sc-footer > .wp-block-columns > .wp-block-column {
		flex-basis: 100% !important;
	}
	/* Contact details: heading on its own row, the details three across below. */
	.sc-details > .wp-block-columns {
		flex-wrap: wrap !important;
		row-gap: 24px;
	}
	.sc-details > .wp-block-columns > .wp-block-column:first-child {
		flex-basis: 100% !important;
	}
	.sc-details__item {
		flex: 1 1 0 !important;
	}
}

@media (max-width: 600px) {
	.sc-cards {
		grid-template-columns: 1fr !important;
	}
	/* Footer links: two columns, contact details full width below. */
	.sc-footer__links.is-not-stacked-on-mobile {
		flex-wrap: wrap !important;
		row-gap: 32px;
	}
	.sc-footer__links.is-not-stacked-on-mobile > .wp-block-column {
		flex: 0 0 calc(50% - 1em) !important;
	}
	.sc-footer__links.is-not-stacked-on-mobile > .wp-block-column:last-child {
		flex-basis: 100% !important;
	}
	.sc-form.is-style-inline .sc-form__field {
		flex: 1 1 auto;
	}
}

@media (max-width: 781px) {
	.sc-form__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.sc-details__item + .sc-details__item {
		padding-left: 0;
		border-left: 0;
	}
	.sc-featured {
		padding: 20px !important;
	}
	.sc-share {
		position: static;
	}
	.sc-share .wp-block-buttons {
		flex-direction: row !important;
		flex-wrap: wrap;
	}
	.sc-404 {
		padding-top: 140px !important;
	}
	.sc-404 .wp-block-column:last-child {
		display: none;
	}
	.sc-people .sc-slider__track > li {
		flex-basis: 78vw;
	}
	.sc-facts {
		grid-template-columns: 1fr !important;
		row-gap: 20px;
	}
	.sc-timeline__track {
		padding-left: 0;
	}
	.sc-chapter {
		flex-basis: 100%;
		flex-direction: column;
		align-items: flex-start !important;
		gap: 20px !important;
	}
	.sc-chapter .sc-chapter__text {
		position: static;
		width: 100%;
	}
	.sc-timeline__nav {
		overflow-x: auto;
		gap: 24px;
		/* The line moves up into the scroll box so the dot and ticks aren't cut off */
		padding-bottom: 8px;
		border-bottom: 0;
		background: linear-gradient(#d8d8d8, #d8d8d8) left 0 bottom 8px / 100% 1px no-repeat local;
	}
	.sc-timeline__dot {
		bottom: 3px;
	}
	.sc-timeline__nav li {
		flex: 0 0 auto;
	}
	.sc-vision__item {
		padding: 30px 0;
	}
	.sc-today__content {
		padding-left: 0;
	}
}

@media (max-width: 781px) {
	.sc-player {
		grid-template-columns: 1fr !important;
		min-height: 0;
	}
	.sc-player__photo {
		height: 360px;
	}
	.sc-player__info {
		padding: 40px var(--wp--style--root--padding-right) 120px var(--wp--style--root--padding-left);
	}
	.sc-player__details {
		margin-top: 40px;
		column-gap: 32px;
	}
	.sc-squad .sc-squad__arrows { /* keep these; other sliders hide arrows on phones */
		display: flex;
		left: var(--wp--style--root--padding-left);
		bottom: 40px;
	}
	.sc-merch .wp-block-media-text__content {
		padding: 60px var(--wp--style--root--padding-right) 40px var(--wp--style--root--padding-left);
	}
	.wp-block-media-text.sc-merch > .wp-block-media-text__media {
		min-height: 360px;
	}
	.sc-merch .wp-block-media-text__media::after {
		content: none;
	}
	.sc-socials__grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media (max-width: 781px) {
	.sc-trophies {
		grid-template-columns: repeat(2, 1fr) !important;
		row-gap: 40px;
	}
	.sc-trophy.is-featured {
		grid-column: 1 / -1;
		order: -1;
	}
	/* Rotating: three across on phones, the middle one big. */
	.sc-trophies.is-rotating {
		grid-template-columns: 1fr 1.4fr 1fr !important;
		column-gap: 8px;
	}
	.sc-trophies.is-rotating > .sc-trophy:nth-child(1),
	.sc-trophies.is-rotating > .sc-trophy:nth-child(5) {
		display: none;
	}
	.sc-trophies.is-rotating .sc-trophy.is-featured {
		grid-column: auto;
		order: 0;
	}
	.sc-trophies.is-rotating {
		--sc-big: calc(var(--w, 160px) * 0.7);
		--sc-small: 0.55;
	}
	.sc-trophies.is-rotating .sc-trophy__label {
		font-size: var(--wp--preset--font-size--small);
	}
	.is-style-pitch::before,
	.is-style-pitch::after {
		display: none;
	}
	.sc-slider__track > li {
		flex-basis: 78vw;
	}
	.sc-slider__arrows {
		display: none;
	}
}

@media (max-width: 781px) {
	.sc-header__bar {
		grid-template-columns: auto 1fr auto;
	}
	.sc-header__bar > .wp-block-navigation {
		justify-self: end;
	}
	.sc-header__bar > :last-child {
		display: none;
	}
}
