/*
 * Gastrosàvies landing (page-templates/gastrosavies.php).
 *
 * Figma uses Fraunces / Work Sans as stand-ins; the site fonts are
 * Big Caslon FB (serif) and Apercu (sans), loaded globally in css/styles.css.
 */

.gs-landing {
	--gs-ink: #232220;
	--gs-blue: #57647c;
	--gs-blue-strong: #3f5d91;
	--gs-pink: #da949d;
	--gs-map: #e7b3b8;
	--gs-cream: #f0e8dd;
	--gs-cream-text: #f1efec;
	--gs-orange: #ba5230;
	--gs-link: #c26033;
	--gs-serif: "Big Caslon FB", Georgia, serif;
	--gs-sans: "Apercu", Arial, sans-serif;

	color: var(--gs-ink);
	font-family: var(--gs-sans);
	/* Room for the fixed #header (80px, 60px below 1200px), as other pages do. */
	padding-top: 80px;
	padding-bottom: 100px;
}

/* Resets wrapped in :where() so they never outweigh the component rules below. */
:where(.gs-landing) *,
:where(.gs-landing) *::before,
:where(.gs-landing) *::after {
	box-sizing: border-box;
}

:where(.gs-landing) :is(h1, h2, h3, p) {
	margin: 0;
}

:where(.gs-landing) button {
	font: inherit;
	letter-spacing: inherit;
	text-transform: none;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	text-align: left;
}

/* Breadcrumb -------------------------------------------------------------- */

.gs-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 24px 0 40px;
	font-size: 14px;
	line-height: 22px;
	font-weight: 700;
}

.gs-breadcrumb a {
	color: var(--gs-link);
	text-decoration: none;
}

.gs-breadcrumb a:hover {
	text-decoration: underline;
}

/* Hero -------------------------------------------------------------------- */

.gs-hero {
	display: grid;
	grid-template-columns: 420px 1fr;
	gap: 32px;
	align-items: start;
	padding-bottom: 40px;
}

.gs-hero--no-media {
	grid-template-columns: minmax(0, 640px);
}

.gs-hero__text {
	padding-top: 7px;
}

.gs-hero__title {
	font-family: var(--gs-serif);
	font-weight: 400;
	font-size: 56px;
	line-height: 64px;
	letter-spacing: -0.46px;
	color: var(--gs-ink);
}

.gs-hero__title em {
	font-style: italic;
	color: var(--gs-blue);
}

.gs-hero__intro {
	padding-top: 22px;
	font-size: 14px;
	line-height: 22px;
	font-weight: 700;
}

.gs-hero__intro p + p {
	margin-top: 1em;
}

.gs-hero__media {
	position: relative;
	height: 447px;
	background: var(--gs-ink);
	border-radius: 2px;
	overflow: hidden;
}

.gs-hero__media iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Presentation band ------------------------------------------------------- */

.gs-band {
	background: var(--gs-blue);
	color: var(--gs-cream-text);
	padding: 56px 0;
}

.gs-band__inner {
	display: grid;
	grid-template-columns: 158px 574px 1fr;
	gap: 40px;
	align-items: start;
}

.gs-band__illustration img {
	display: block;
	width: 158px;
	height: auto;
}

.gs-band__title {
	font-family: var(--gs-serif);
	font-weight: 400;
	font-size: 28px;
	line-height: 1.2;
	color: var(--gs-cream-text);
	margin-bottom: 16px;
}

.gs-band__text {
	font-size: 15px;
	line-height: 26.25px;
}

.gs-band__text p + p {
	margin-top: 1em;
}

/* Shared section heading -------------------------------------------------- */

.gs-section {
	padding: 56px 0;
}

.gs-heading {
	display: flex;
	align-items: center;
	gap: 16px;
	font-family: var(--gs-serif);
	font-weight: 400;
	font-size: 48px;
	line-height: 1.035;
	letter-spacing: -0.46px;
	color: #000;
}

.gs-heading__dot {
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
}

/* Video recipes ----------------------------------------------------------- */

.gs-videos .gs-heading {
	margin-bottom: 32px;
}

.gs-videos__layout {
	display: grid;
	grid-template-columns: 420px 1fr;
	gap: 32px;
}

/* The list takes the height of the player column and scrolls inside it. */
.gs-videos__list {
	position: relative;
}

.gs-videos__scroll {
	position: absolute;
	inset: 0;
	margin: 0;
	padding: 0 14px 0 0;
	list-style: none;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: var(--gs-blue) transparent;
}

.gs-videos__scroll::-webkit-scrollbar {
	width: 6px;
}

.gs-videos__scroll::-webkit-scrollbar-track {
	border: 1px solid var(--gs-blue);
	border-radius: 100px;
}

.gs-videos__scroll::-webkit-scrollbar-thumb {
	background: var(--gs-blue);
	border-radius: 3px;
}

.gs-videos__scroll li + li {
	margin-top: 16px;
}

.gs-videos__item {
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
	padding: 8px 0;
	border-left: 4px solid transparent;
	color: #000;
	transition: padding 0.2s ease, border-color 0.2s ease;
}

.gs-videos__item:hover .gs-videos__item-title {
	color: var(--gs-blue);
}

.gs-videos__item.is-active {
	padding: 0 0 8px 16px;
	border-left-color: var(--gs-pink);
}

.gs-videos__item:not(.is-active) {
	border-left-width: 0;
}

.gs-videos__item-title {
	font-family: var(--gs-serif);
	font-size: 18px;
	line-height: 24px;
	letter-spacing: -0.18px;
}

/* Big Caslon's 500 cut has broken word spacing; emphasise with colour instead. */
.gs-videos__item.is-active .gs-videos__item-title {
	color: var(--gs-ink);
	text-shadow: 0 0 0.4px currentColor;
}

.gs-videos__item-avies {
	font-size: 14px;
	line-height: 1.2;
	letter-spacing: -0.14px;
}

.gs-videos__player {
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

.gs-videos__frame {
	position: relative;
	aspect-ratio: 857 / 444;
	background: var(--gs-ink);
	overflow: hidden;
}

.gs-videos__frame iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.gs-seal {
	display: block;
	border-radius: 50%;
	object-fit: cover;
	pointer-events: none;
}

.gs-videos__info {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.gs-videos__title {
	font-family: var(--gs-serif);
	font-weight: 400;
	font-size: 32px;
	line-height: 1.2;
}

.gs-videos__title a {
	color: #000;
	text-decoration: none;
}

.gs-videos__title a:hover {
	color: var(--gs-blue);
}

.gs-videos__avies {
	font-size: 18px;
	line-height: 1.2;
	color: #000;
}

.gs-videos__meta {
	display: flex;
	flex-direction: column;
	margin-top: -12px;
	font-size: 18px;
	line-height: 1.2;
	color: var(--gs-blue);
}

/* Catalogue --------------------------------------------------------------- */

.gs-catalogue {
	padding-bottom: 0;
	/* Submenu links land on #cataleg: keep the heading clear of the fixed header. */
	scroll-margin-top: 60px;
}

.gs-catalogue__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 32px;
}

.gs-catalogue__whisk {
	flex: 0 0 auto;
	width: 52px;
	height: auto;
	margin-right: 4px;
	transform: rotate(-6.44deg);
}

.gs-filters {
	position: relative;
	margin-bottom: 32px;
}

.gs-filters__bar {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
}

.gs-filter {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	height: 72px;
	width: 100%;
	border-bottom: 1px solid #000 !important;
	font-family: var(--gs-serif);
	font-size: 32px;
	line-height: 1.2;
	color: #000;
	transition: color 0.2s ease, border-color 0.2s ease;
}

.gs-filter__label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.gs-filter__chevron {
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	transform: rotate(180deg);
	transition: transform 0.2s ease;
}

.gs-filter[aria-expanded="true"],
.gs-filter.has-value {
	color: var(--gs-blue);
	border-bottom-color: var(--gs-blue) !important;
}

.gs-filter[aria-expanded="true"] {
	box-shadow: inset 0 -1px 0 var(--gs-blue);
}

.gs-filter[aria-expanded="true"] .gs-filter__chevron {
	transform: none;
}

/* Dropdown panels overlay the grid, full width of the filter bar. */
.gs-filter__panel {
	position: absolute;
	z-index: 20;
	top: calc(100% + 8px);
	left: 0;
	right: 0;
	background: #fff;
	padding: 32px 40px;
	box-shadow: 0 12px 32px rgba(35, 34, 32, 0.12);
}

.gs-filter__panel[hidden] {
	display: none;
}

.gs-filter__panel--comarca {
	display: grid;
	grid-template-columns: 340px 1fr;
	gap: 56px;
	align-items: start;
}

.gs-filter__options {
	margin: 0;
	padding: 0;
	list-style: none;
	column-gap: 32px;
}

.gs-filter__options--comarca {
	columns: 4;
}

.gs-filter__options--categoria {
	columns: 4;
}

.gs-filter__options li {
	break-inside: avoid;
}

.gs-filter__option {
	display: block;
	width: 100%;
	padding: 7px 0;
	font-family: var(--gs-serif);
	font-size: 17px;
	line-height: 1.2;
	color: #000;
}

.gs-filter__option:hover:not(:disabled),
.gs-filter__option.is-selected {
	color: var(--gs-blue-strong);
}

.gs-filter__option.is-selected {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.gs-filter__option:disabled {
	color: #b5aea6;
	cursor: default;
}

/* Map */
.gs-map {
	display: block;
	width: 100%;
	height: auto;
}

.gs-map__area {
	fill: var(--gs-map);
	cursor: pointer;
	transition: fill 0.15s ease;
}

.gs-map__area:hover,
.gs-map__area.is-selected {
	fill: var(--gs-blue-strong);
}

.gs-map__area.is-empty {
	fill: #efdcdd;
	cursor: default;
}

.gs-map__outlines * {
	fill: none;
	stroke: #fff;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
	pointer-events: none;
}

/* Grid + cards */
.gs-catalogue__results[aria-busy="true"] .gs-grid {
	opacity: 0.4;
	transition: opacity 0.2s ease;
}

.gs-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 36px 24px;
}

.gs-card__link {
	display: flex;
	flex-direction: column;
	gap: 20px;
	color: inherit;
	text-decoration: none;
}

.gs-card__media {
	position: relative;
	height: 245px;
	background: transparent;
	box-shadow: 0 2px 12px rgba(35, 34, 32, 0.12);
	overflow: hidden;
}

.gs-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.gs-card__link:hover .gs-card__image {
	transform: scale(1.03);
}

/* Recipes without photo: base .gs-placeholder styles live in css/override.css
   (also used by the general Receptes listings). The single media box styles
   every img, so restate the logo size here. */
.gs-recipe__media .gs-placeholder .gs-placeholder__logo {
	position: static;
	width: auto;
	height: 75%;
	max-width: 70%;
	object-fit: contain;
	margin-left: 22px;
}

.gs-recipe__media:has(.gs-placeholder) {
	background: transparent;
	box-shadow: 0 2px 12px rgba(35, 34, 32, 0.12);
}

.gs-card__seal {
	position: absolute;
	top: 11px;
	right: 11px;
	width: 52px;
	height: 52px;
}

.gs-card__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.gs-card__title {
	font-family: var(--gs-serif);
	font-weight: 400;
	font-size: 28px;
	line-height: 1.2;
	color: #000;
	margin-bottom: 12px !important;
}

.gs-card__link:hover .gs-card__title {
	color: var(--gs-blue);
}

.gs-card__avies {
	min-height: 40px;
	font-size: 18px;
	line-height: 1.15;
	color: #000;
}

.gs-card__category {
	font-size: 18px;
	line-height: 1.2;
	font-weight: 700;
	color: var(--gs-blue);
}

.gs-location {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 18px;
	line-height: 1.2;
	color: var(--gs-blue);
}

.gs-location__icon {
	flex: 0 0 16px;
	width: 16px;
	height: 16px;
}

.gs-catalogue__empty {
	padding: 40px 0;
	font-family: var(--gs-serif);
	font-size: 24px;
	text-align: center;
}

.gs-catalogue__more {
	display: flex;
	justify-content: center;
	padding-top: 48px;
}

.gs-button {
	min-width: 260px;
	padding: 15px 36px !important;
	border: 2px solid var(--gs-orange) !important;
	border-radius: 4px;
	color: var(--gs-orange) !important;
	font-family: var(--gs-sans);
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0.39px;
	text-transform: uppercase;
	text-align: center !important;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.gs-button:hover,
.gs-button:focus-visible {
	background: var(--gs-orange) !important;
	color: #fff !important;
}

.gs-button[hidden] {
	display: none;
}

.gs-landing :focus-visible {
	outline: 2px solid var(--gs-blue-strong);
	outline-offset: 3px;
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1199px) {
	.gs-landing {
		padding-top: 60px;
	}

	.gs-band__inner {
		grid-template-columns: 130px 1fr 1fr;
		gap: 32px;
	}

	.gs-band__illustration img {
		width: 130px;
	}

	.gs-filter__panel--comarca {
		grid-template-columns: 260px 1fr;
		gap: 32px;
	}

	.gs-filter__options--comarca {
		columns: 3;
	}

	.gs-filter__options--categoria {
		columns: 3;
	}
}

@media (max-width: 991px) {
	.gs-hero,
	.gs-videos__layout {
		grid-template-columns: 1fr;
	}

	.gs-hero__title {
		font-size: 44px;
		line-height: 50px;
	}

	.gs-hero__media {
		height: auto;
		aspect-ratio: 16 / 9;
	}

	.gs-band__inner {
		grid-template-columns: 1fr 1fr;
	}

	.gs-band__illustration {
		grid-column: 1 / -1;
	}

	.gs-heading {
		font-size: 38px;
	}

	/* Player first, list below with its own scroll. */
	.gs-videos__player {
		order: -1;
	}

	.gs-videos__scroll {
		position: static;
		max-height: 340px;
	}

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

	.gs-filter {
		font-size: 26px;
	}

	.gs-filter__panel--comarca {
		grid-template-columns: 1fr;
	}

	.gs-filter__map {
		max-width: 340px;
	}

	.gs-filter__options--comarca,
	.gs-filter__options--categoria {
		columns: 3;
	}
}

@media (max-width: 767px) {
	.gs-landing {
		padding-bottom: 64px;
	}

	.gs-breadcrumb {
		padding: 16px 0 24px;
	}

	.gs-hero__title {
		font-size: 36px;
		line-height: 42px;
	}

	.gs-band {
		padding: 40px 0;
	}

	.gs-band__inner {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.gs-band__illustration img {
		width: 110px;
	}

	.gs-section {
		padding: 40px 0;
	}

	.gs-heading {
		font-size: 30px;
		gap: 12px;
	}

	.gs-heading__dot {
		flex-basis: 18px;
		width: 18px;
		height: 18px;
	}

	.gs-videos__title {
		font-size: 26px;
	}

	.gs-catalogue__whisk {
		width: 36px;
	}

	.gs-filters__bar {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.gs-filter {
		height: 60px;
		font-size: 24px;
	}

	.gs-filter__panel {
		padding: 20px;
	}

	/* The map is too small to tap on phones: list only. */
	.gs-filter__map {
		display: none;
	}

	.gs-filter__options--comarca,
	.gs-filter__options--categoria {
		columns: 2;
		column-gap: 16px;
	}

	.gs-grid {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.gs-card__title {
		font-size: 24px;
	}

	.gs-card__avies {
		min-height: 0;
	}

	.gs-button {
		width: 100%;
		min-width: 0;
	}
}

/* =========================================================================
 * Single recipe (single-recipe-gastrosavies.php)
 * ====================================================================== */

.gs-recipe {
	padding-bottom: 0;
}

/* Story band --------------------------------------------------------------- */

.gs-story {
	background: var(--gs-blue);
	color: var(--gs-cream-text);
	padding: 56px 0;
}

/* Intro + first paragraph on the left, rest of the story on the right (bottom-aligned, as in the design). */
.gs-story__columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
	align-items: end;
}

.gs-story__title {
	margin-bottom: 16px;
	font-family: var(--gs-serif);
	font-weight: 400;
	font-size: 28px;
	line-height: 1.2;
	color: var(--gs-cream-text);
}

/* Big Caslon has no real bold: colour only, no faux bold. */
.gs-story__title strong {
	font-weight: inherit;
	color: var(--gs-pink);
}

.gs-story__text {
	font-size: 15px;
	line-height: 1.4;
}

.gs-story__text p {
	margin: 0;
}

.gs-story__text p + p {
	margin-top: 0.6em;
}

/* Title, ingredients and media ---------------------------------------------- */

.gs-recipe__main {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
	align-items: start;
	padding-top: 40px;
}

.gs-recipe__title,
.gs-recipe__heading {
	font-family: var(--gs-serif);
	font-weight: 400;
	font-size: 46px;
	line-height: 1.08;
	letter-spacing: -0.46px;
	color: #000;
}

.gs-recipe__categories {
	margin-top: 16px;
	font-size: 13.5px;
	line-height: 21px;
	font-weight: 700;
	text-transform: uppercase;
	color: var(--gs-blue);
}

.gs-ingredients {
	list-style: none;
	margin: 16px 0 0;
	padding: 14px 0;
}

.gs-ingredients li {
	position: relative;
	padding-left: 20px;
	font-size: 16.7px;
	line-height: 27px;
	color: #131313;
}

.gs-ingredients li + li {
	margin-top: 10px;
}

.gs-ingredients li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 6px;
	width: 12px;
	height: 12px;
	background: url("../../images/gastrosavies/check.svg") no-repeat center / contain;
}

/* Sub-heading inside the list ("Per a la picada:"): bold, no check icon. */
.gs-ingredients li.gs-ingredients__heading {
	padding-left: 0;
	font-weight: 700;
}

.gs-ingredients li + li.gs-ingredients__heading {
	margin-top: 22px;
}

.gs-ingredients li.gs-ingredients__heading::before {
	content: none;
}

.gs-recipe__media {
	position: relative;
	height: 368px;
	background: var(--gs-ink);
	overflow: hidden;
}

.gs-recipe__media img,
.gs-recipe__media video,
.gs-recipe__media iframe {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0;
}

.gs-recipe__poster {
	position: absolute;
	inset: 0;
	width: 100%;
}

.gs-recipe__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 76px;
	height: 76px;
	margin: -38px 0 0 -38px;
	border-radius: 50%;
	background: rgba(35, 34, 32, 0.6);
	transition: background-color 0.2s;
}

.gs-recipe__play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -14px 0 0 -8px;
	border-style: solid;
	border-width: 14px 0 14px 24px;
	border-color: transparent transparent transparent #fff;
}

.gs-recipe__poster:hover .gs-recipe__play {
	background: var(--gs-orange);
}

/* Preparation and comments ------------------------------------------------- */

.gs-recipe__section {
	padding-top: 40px;
}

.gs-recipe__subtitle {
	margin-bottom: 23px;
	font-size: 26.5px;
	line-height: 36px;
	font-weight: 400;
	color: #000;
}

.gs-steps {
	columns: 2;
	column-gap: 24px;
	font-size: 15.9px;
	line-height: 27px;
	color: #131313;
	/* Numbering runs across the whole section, so a sub-heading paragraph
	   ("Per fer la massa:") between two lists does not restart it at 1. */
	counter-reset: gs-step;
}

.gs-steps p,
.gs-steps ol,
.gs-steps ul {
	margin: 0;
}

/* Sub-headings: a paragraph between lists, kept with the steps that follow. */
.gs-steps * + p {
	margin-top: 16px;
}

.gs-steps p {
	break-inside: avoid;
	break-after: avoid;
}

/* Numbered list: blue bold numbers inline with the text, as in the design. */
.gs-steps ol {
	list-style: none;
	padding: 0;
}

.gs-steps ol li {
	break-inside: avoid;
	counter-increment: gs-step;
}

.gs-steps ol li::before {
	content: counter(gs-step) ". ";
	font-weight: 700;
	color: var(--gs-blue);
}

.gs-recipe__comments {
	padding-top: 8px;
	font-size: 15.9px;
	line-height: 27px;
	font-weight: 700;
	color: var(--gs-blue);
}

.gs-recipe__comments p {
	margin: 0;
}

/* Download form --------------------------------------------------------------- */

.gs-download {
	margin-top: 70px;
	padding: 42px 0;
	background: var(--gs-blue);
	color: var(--gs-cream);
}

.gs-download__title {
	font-family: var(--gs-serif);
	font-weight: 400;
	font-size: 30px;
	line-height: 32px;
	color: var(--gs-cream);
}

.gs-download__lead {
	margin-top: 8px;
	font-size: 20px;
	line-height: 32px;
}

.gs-form {
	margin-top: 32px;
}

.gs-form p {
	margin: 0;
}

.gs-form__field + .gs-form__field,
.gs-form__legal {
	margin-top: 24px !important;
}

.gs-form__field label {
	display: block;
	margin-bottom: 10px;
	font-size: 18px;
	line-height: 32px;
	font-weight: 700;
}

.gs-form__field input,
.gs-form__field select {
	display: block;
	width: 100%;
	height: 40px;
	padding: 0 0 4px;
	font: inherit;
	font-size: 18px;
	color: var(--gs-cream);
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--gs-cream);
	border-radius: 0;
	outline: 0;
	appearance: none;
}

.gs-form__field select {
	padding-right: 32px;
	cursor: pointer;
	/* Chevron drawn with two gradients so it can take the cream colour. */
	background-image:
		linear-gradient(45deg, transparent 50%, var(--gs-cream) 50%),
		linear-gradient(135deg, var(--gs-cream) 50%, transparent 50%);
	background-position: calc(100% - 14px) 50%, calc(100% - 8px) 50%;
	background-size: 6px 6px;
	background-repeat: no-repeat;
}

.gs-form__field select option {
	color: var(--gs-ink);
}

.gs-form__field input:focus,
.gs-form__field select:focus {
	border-bottom-width: 2px;
}

.gs-form__legal {
	font-size: 16px;
	line-height: 24px;
}

.gs-form__legal a {
	color: inherit;
	text-decoration: underline;
}

.gs-form__check {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 24px !important;
	padding: 8px;
	font-size: 16px;
	line-height: 24px;
}

.gs-form__check input {
	width: 18px;
	height: 18px;
	margin: 3px;
	accent-color: var(--gs-pink);
	cursor: pointer;
}

.gs-form__check label {
	margin: 0;
	cursor: pointer;
}

.gs-form__actions {
	margin-top: 24px !important;
	text-align: right;
}

.gs-form__submit {
	min-width: 260px;
	padding: 13px 36px;
	border: 2px solid #f4efe9 !important;
	border-radius: 4px;
	font-size: 16px !important;
	line-height: 19px;
	font-weight: 700;
	letter-spacing: 0.39px !important;
	text-transform: uppercase !important;
	text-align: center !important;
	color: #f4efe9 !important;
	transition: background-color 0.2s, color 0.2s;
}

.gs-form__submit:hover,
.gs-form__submit:focus-visible {
	background: #f4efe9 !important;
	color: var(--gs-blue) !important;
}

.gs-download :focus-visible {
	outline-color: var(--gs-cream);
}

@media (max-width: 991px) {
	.gs-recipe__main {
		grid-template-columns: 1fr;
	}

	/* Image or video right below the breadcrumb band, before the title. */
	.gs-recipe__media {
		order: -1;
		height: auto;
		aspect-ratio: 16 / 9;
	}

	.gs-recipe__title,
	.gs-recipe__heading {
		font-size: 38px;
	}
}

@media (max-width: 767px) {
	.gs-story {
		padding: 40px 0;
	}

	.gs-story__columns {
		grid-template-columns: 1fr;
		gap: 1em;
	}

	.gs-steps {
		columns: 1;
	}

	.gs-story__title {
		font-size: 24px;
	}

	.gs-recipe__title,
	.gs-recipe__heading {
		font-size: 32px;
	}

	.gs-recipe__subtitle {
		font-size: 24px;
		line-height: 32px;
	}

	.gs-download {
		margin-top: 48px;
		padding: 40px 0;
	}

	.gs-download__title {
		font-size: 26px;
	}

	.gs-download__lead {
		font-size: 17px;
		line-height: 26px;
	}

	.gs-form__submit {
		width: 100%;
		min-width: 0;
	}
}

/* Gastrosàvies is Catalan only for now (see the Weglot section in inc/gastrosavies.php):
   hide the floating language switcher. */
.country-selector.weglot-dropdown {
	display: none !important;
}
