/*
 * Montego reskin — global styles.
 * Header (template-parts/header-member.php) and footer (footer.php, logged-in branch)
 * plus the few helpers Beaver Builder has no native setting for. Page layout and
 * styling otherwise live in each Beaver Builder node's own settings.
 */

:root {
	--mtg-teal: #0b6461;
	--mtg-ink: #04332f;
	--mtg-mint: #f1f8f7;
	--mtg-red: #ce181e;
	--mtg-gold: linear-gradient(90deg, #aa7b21 0%, #c59e4a 18%, #e7cd84 38%, #f5e9ba 52%, #e9d08a 70%, #caa553 86%, #b0832a 100%);
	--mtg-font-heading: 'Bitter', Georgia, serif;
	--mtg-font-body: 'Lato', Arial, sans-serif;
	--mtg-maxw: 1000px;
}

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

/* ------------------------------------------------------------------ Header */

.mtg-header {
	position: relative;
	z-index: 100;
	background: #fff;
	font-family: var(--mtg-font-body);
}

.mtg-header__inner {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	width: min(var(--mtg-maxw), calc(100% - 48px));
	height: 143px;
	margin: 0 auto;
}

.mtg-header__logo {
	display: block;
	margin-top: 62px;
	line-height: 0;
}

.mtg-header__logo img {
	display: block;
	width: 163px;
	height: auto;
}

.mtg-header__right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.mtg-header ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* style.css gives every li a 20px left margin */
.mtg-header li,
.mtg-footer li {
	margin: 0;
}

.mtg-header a {
	color: var(--mtg-teal);
	text-decoration: none;
	text-transform: uppercase;
	font-size: 15px;
	line-height: 19px;
	letter-spacing: 0;
}

.mtg-header a:hover,
.mtg-header a:focus-visible,
.mtg-header .current-menu-item > a {
	color: var(--mtg-ink);
	text-decoration: underline;
	text-underline-offset: 5px;
	text-decoration-thickness: 2px;
}

/* Account link (My Account, with Change Password / Logout beneath it) */
.mtg-header__account {
	margin-top: 38px;
}

.mtg-account-menu > li {
	position: relative;
}

.mtg-account-menu > li > a {
	display: flex;
	align-items: center;
	gap: 11px;
}

.mtg-account-icon {
	width: 18px;
	height: 18px;
	flex: none;
}

.mtg-header__account .sub-menu .mtg-account-icon {
	display: none;
}

/* Main navigation */
.mtg-header__nav {
	margin-top: 29px;
}

.mtg-main-menu {
	display: flex;
	gap: 46px;
}

.mtg-main-menu > li {
	position: relative;
}

/* Contact Us lives in the footer and the mobile menu, not the desktop bar */
.mtg-main-menu > li.menu-footer-only {
	display: none;
}

/* Dropdowns (both menus) */
.mtg-header__right .sub-menu {
	position: absolute;
	top: 100%;
	right: 0;
	z-index: 10;
	display: none;
	min-width: 180px;
	margin-top: 10px;
	padding: 8px 0;
	background: #fff;
	box-shadow: 0 8px 24px rgba(4, 51, 47, 0.18);
	border-top: 3px solid var(--mtg-teal);
}

.mtg-header__right .sub-menu::before {
	content: '';
	position: absolute;
	top: -15px;
	left: 0;
	right: 0;
	height: 15px;
}

.mtg-header__right li:hover > .sub-menu,
.mtg-header__right li:focus-within > .sub-menu {
	display: block;
}

.mtg-header__right .sub-menu a {
	display: block;
	padding: 8px 16px;
	font-size: 14px;
	white-space: nowrap;
}

/* Emblem hanging from the bottom edge of the header */
.mtg-header__emblem {
	position: absolute;
	top: 143px;
	left: 50%;
	z-index: 3;
	width: 97px;
	height: auto;
	transform: translateX(-50%);
	pointer-events: none;
}

/* Mobile */
.mtg-header__toggle {
	display: none;
}

.mtg-mobile-nav[hidden] {
	display: none;
}

@media (max-width: 1024px) {
	.mtg-header__inner {
		align-items: center;
		height: 96px;
	}

	.mtg-header__logo {
		margin-top: 0;
	}

	.mtg-header__logo img {
		width: 160px;
		height: auto;
	}

	.mtg-header__right {
		display: none;
	}

	.mtg-header__toggle {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 48px;
		height: 48px;
		margin: 0 -8px 0 0;
		padding: 0;
		background: none;
		border: 0;
		cursor: pointer;
	}

	.mtg-header__bars,
	.mtg-header__bars::before,
	.mtg-header__bars::after {
		display: block;
		width: 28px;
		height: 3px;
		background: var(--mtg-teal);
		border-radius: 2px;
		transition: transform 0.2s, opacity 0.2s;
	}

	.mtg-header__bars {
		position: relative;
	}

	.mtg-header__bars::before,
	.mtg-header__bars::after {
		content: '';
		position: absolute;
		left: 0;
	}

	.mtg-header__bars::before {
		top: -9px;
	}

	.mtg-header__bars::after {
		top: 9px;
	}

	.mtg-header__toggle[aria-expanded='true'] .mtg-header__bars {
		background: transparent;
	}

	.mtg-header__toggle[aria-expanded='true'] .mtg-header__bars::before {
		transform: translateY(9px) rotate(45deg);
	}

	.mtg-header__toggle[aria-expanded='true'] .mtg-header__bars::after {
		transform: translateY(-9px) rotate(-45deg);
	}

	.mtg-mobile-nav {
		position: relative;
		z-index: 4;
		padding: 8px 24px 64px;
		background: #fff;
		border-top: 1px solid rgba(11, 100, 97, 0.2);
	}

	.mtg-mobile-menu a {
		display: block;
		padding: 16px 0;
		border-bottom: 1px solid rgba(11, 100, 97, 0.15);
		font-size: 18px;
	}

	.mtg-mobile-menu .sub-menu a {
		padding-left: 20px;
		font-size: 16px;
	}

	.mtg-header__emblem {
		top: 96px;
		width: 72px;
	}
}

@media (max-width: 480px) {
	.mtg-header__logo img {
		width: 140px;
	}

	.mtg-header__emblem {
		width: 60px;
	}
}

.mtg-header.is-open .mtg-header__emblem {
	display: none;
}

/* ------------------------------------------------------------------ Footer */

.mtg-footer {
	position: relative;
	background: var(--mtg-teal);
	color: #fff;
	font-family: var(--mtg-font-body);
}

.mtg-footer__inner {
	width: min(var(--mtg-maxw), calc(100% - 48px));
	margin: 0 auto;
	padding: 62px 0 120px;
}

/* The logo row is the logo's height; the logged-out warning hangs to its right without
   pushing the links down */
.mtg-footer__top {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	height: 43px;
}

.mtg-footer__logo {
	display: inline-block;
	line-height: 0;
}

.mtg-sgw--footer {
	margin-top: -17px;
}

.mtg-sgw--footer .mtg-sgw__label {
	width: 80px;
	margin-bottom: 6px;
}

.mtg-sgw--footer .mtg-sgw__statement {
	width: 272px;
}

.mtg-footer__logo img {
	display: block;
	width: 163px;
	height: auto;
}

.mtg-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mtg-footer__nav {
	margin-top: 80px;
}

.mtg-footer-menu {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px 46px;
}

.mtg-footer-menu a {
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 15px;
	line-height: 19px;
}

.mtg-footer-menu a:hover,
.mtg-footer-menu a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 5px;
}

/* "FAQs" keeps its lowercase s under the uppercase menu */
.mtg-footer-menu__lc {
	text-transform: none;
}

.mtg-footer__disclaimer {
	max-width: 1030px;
	margin-right: auto;
	margin-left: auto;
	margin-top: 44px;
	font-size: 11.5px;
	line-height: 13.7px;
	text-align: center;
	text-transform: uppercase;
}

.mtg-footer__disclaimer p {
	margin: 0;
}

.mtg-footer__disclaimer p + p {
	margin-top: 13.7px;
}

/* From 1200px the centred disclaimer can't run under the fixed warning, so the footer can
   close up to the comp's bottom padding; logged-out pages carry the warning in the page
   instead of fixed, so they can at every width */
@media (min-width: 1200px) {
	.mtg-footer__inner {
		padding-bottom: 45px;
	}
}

.mtg-footer--guest .mtg-footer__inner {
	padding-bottom: 45px;
}

/* The Surgeon General's warning stays fixed bottom-right at every width (style.css), so the
   footer keeps enough bottom padding for the disclaimer to scroll clear of it */
@media (max-width: 767px) {
	.mtg-footer__inner {
		padding: 56px 0 170px;
		text-align: center;
	}

	.mtg-footer--guest .mtg-footer__inner {
		padding-bottom: 48px;
	}

	.mtg-footer__top {
		flex-direction: column;
		align-items: center;
		gap: 32px;
		height: auto;
	}

	.mtg-sgw--footer {
		margin-top: 0;
	}

	.mtg-footer__nav {
		margin-top: 48px;
	}

	.mtg-footer-menu {
		flex-direction: column;
		gap: 18px;
	}

	.mtg-footer-menu a {
		font-size: 18px;
		line-height: 24px;
	}

	.mtg-footer__disclaimer {
		margin-top: 48px;
		font-size: 12px;
		line-height: 15px;
	}
}

/* ------------------------------------------- Surgeon General's warning block */

/* Static warning (label over statement) used by the logged-out header and footer; member
   pages keep the legacy fixed .warning */
.mtg-sgw {
	flex: none;
	line-height: 0;
}

.mtg-sgw img {
	display: block;
	max-width: none;
	height: auto;
}

/* Member pages' fixed warning: CIGARETTES.png is white type, which vanished over light
   sections, so it sits in a white box in black, above the statement (marketing, 11/12) */
.warning .warning-label-box {
	display: block;
	width: max-content;
	margin: 0 0 4px;
	padding: 3px 5px;
	background: #fff;
	border: 1px solid #000;
	line-height: 0;
}

.warning .warning-label-box .warning-label {
	margin: 0;
	filter: brightness(0);
}

/* ------------------------------------------------------- Logged-out header */

.mtg-guest-header {
	background: #fff;
	font-family: var(--mtg-font-body);
}

.mtg-guest-header__inner {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	width: min(var(--mtg-maxw), calc(100% - 48px));
	height: 147px;
	margin: 0 auto;
}

.mtg-guest-header__logo {
	display: block;
	margin-top: 62px;
	line-height: 0;
}

.mtg-guest-header__logo img {
	display: block;
	width: 163px;
	height: auto;
}

.mtg-sgw--header {
	margin-top: 37px;
}

/* CIGARETTES.png is white type (made for the legacy dark grounds); black on the white header */
.mtg-sgw--header .mtg-sgw__label {
	width: 68px;
	margin-bottom: 4px;
	filter: brightness(0);
}

.mtg-sgw--header .mtg-sgw__statement {
	width: 229px;
}

/* ------------------------------------------------------------- Login page */

.mtg-login {
	position: relative;
	overflow: hidden;
	padding: 56px 0;
	background: #444 url('../images/montego/login-bg.webp') center / cover no-repeat;
	font-family: var(--mtg-font-body);
}

/* On windows taller than the page, the field fills the gap instead of white space below the footer */
.wrapper:has(> .mtg-login) {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	min-height: 100dvh;
}

.wrapper > .mtg-login {
	flex: 1 0 auto;
	display: grid;
	align-content: center;
}

/* The supplied clip is in colour; greyscale at 90% brightness matches the still behind it */
.mtg-login__video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: grayscale(1) brightness(0.9);
	pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
	.mtg-login__video {
		display: none;
	}
}

/* The card is centred with the monogram hanging over its top edge (marketing, 11/2) */
.mtg-login__inner {
	position: relative;
	display: flex;
	justify-content: center;
	width: min(var(--mtg-maxw), calc(100% - 48px));
	margin: 0 auto;
}

.mtg-login__card {
	position: relative;
	box-sizing: border-box;
	width: 737px;
	max-width: 100%;
	padding: 73px 73px 36px;
	background: var(--mtg-teal);
	border: 4px solid #e6ca80;
	border-image: linear-gradient(180deg, #f6ebbd 0%, #f0dda3 20%, #e6ca80 50%, #cfaa59 70%, #a8791f 100%) 1;
	color: #fff;
}

.mtg-login__emblem {
	position: absolute;
	top: -16px;
	left: 50%;
	width: 70px;
	height: auto;
	transform: translateX(-50%);
}

.mtg-login__title {
	margin: 0;
	color: #fff;
	font-family: var(--mtg-font-heading);
	font-size: 44px;
	font-weight: 900;
	line-height: 46px;
	letter-spacing: 0;
	text-transform: uppercase;
}

.mtg-login__form {
	margin: 28px 0 0;
}

.mtg-login__notice {
	margin: 0 0 16px;
	padding: 10px 14px;
	background: rgba(255, 255, 255, 0.14);
	border-left: 4px solid #e6ca80;
	font-size: 15px;
	line-height: 1.35;
}

.mtg-login__notice p {
	margin: 0;
	padding: 0 !important;
	text-align: left !important;
}

.mtg-login__form input[type='text'],
.mtg-login__form input[type='password'] {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 42px;
	margin: 0;
	padding: 0 14px;
	background: #fff;
	border: 0;
	border-radius: 6px;
	color: var(--mtg-ink);
	font-family: var(--mtg-font-body);
	font-size: 19px;
}

.mtg-login__form input::placeholder {
	color: #8a9a99;
	opacity: 1;
}

.mtg-login__row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 21px 0 12px;
	font-size: 15px;
	line-height: 19px;
}

.mtg-login__remember {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-weight: 400;
	cursor: pointer;
}

.mtg-login__remember input {
	width: 15px;
	height: 15px;
	margin: 0;
	accent-color: #e6ca80;
}

.mtg-login__forgot,
.mtg-login__forgot:visited {
	color: #fff;
	text-decoration: none;
}

.mtg-login__forgot:hover,
.mtg-login__forgot:focus-visible {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.mtg-login__note {
	max-width: 440px;
	margin: 31px 0 0;
	font-size: 15px;
	line-height: 18.6px;
}

.mtg-login__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 22px;
	margin-top: 20px;
}

.mtg-login__btn,
.mtg-login__btn:visited {
	display: inline-block;
	box-sizing: border-box;
	min-width: 108px;
	margin: 0;
	padding: 10px 24px;
	border: 0;
	border-radius: 6px;
	color: var(--mtg-ink);
	font-family: var(--mtg-font-body);
	font-size: 19px;
	line-height: 25px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	cursor: pointer;
}

.mtg-login__btn--gold {
	background: var(--mtg-gold);
}

.mtg-login__btn--white {
	background: #fff;
}

.mtg-login__btn--gold:hover,
.mtg-login__btn--gold:focus-visible {
	background: #fff;
	color: var(--mtg-ink);
}

.mtg-login__btn--white:hover,
.mtg-login__btn--white:focus-visible {
	background: var(--mtg-gold);
	color: var(--mtg-ink);
	text-decoration: none;
}

.mtg-login__btn:hover,
.mtg-login__btn:focus-visible {
	-webkit-text-stroke: 0.75px currentColor;
}

.mtg-login__legal {
	margin: 48px 0 0;
	font-size: 11.5px;
	font-weight: 700;
	line-height: 14px;
	text-transform: uppercase;
}

@media (max-width: 767px) {
	.mtg-guest-header__inner {
		align-items: center;
		height: auto;
		padding: 16px 0;
	}

	.mtg-guest-header__logo {
		margin-top: 0;
	}

	.mtg-guest-header__logo img {
		width: 120px;
	}

	.mtg-sgw--header {
		margin-top: 0;
	}

	.mtg-sgw--header .mtg-sgw__label {
		width: 48px;
		margin-bottom: 3px;
	}

	.mtg-sgw--header .mtg-sgw__statement {
		width: 168px;
	}

	.mtg-login {
		padding: 32px 0;
	}

	.mtg-login__inner {
		width: calc(100% - 32px);
	}

	.mtg-login__card {
		width: 100%;
		padding: 64px 22px 32px;
	}

	.mtg-login__emblem {
		top: -12px;
		width: 56px;
	}

	.mtg-login__title {
		font-size: 32px;
		line-height: 35px;
	}

	.mtg-login__note {
		margin-top: 24px;
	}

	.mtg-login__legal {
		margin-top: 32px;
	}
}

/* -------------------------------------------- Page hero (account pages) */

/* Teal banner with the emblem hanging from the top, the hero line art faded back, and the
   gold bar along the bottom (same gradient as the Home hero) */
.mtg-page-hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 338px;
	padding: 56px 24px 34px;
	overflow: hidden;
	background: var(--mtg-teal);
}

.mtg-page-hero::before {
	content: '';
	position: absolute;
	top: 73px;
	left: -19.4%;
	width: 127%;
	aspect-ratio: 2400 / 664;
	background: url('../images/montego/hero-lineart.png') 0 0 / 100% auto no-repeat;
	opacity: 0.25;
	pointer-events: none;
}

.mtg-page-hero::after {
	content: '';
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 25px;
	background: linear-gradient(90deg, #be842b 0%, #fff7c3 44%, #f3e2a8 48%, #cd9e4e 64%, #be842b 71%, #bf872f 75%, #c5903b 80%, #cda050 85%, #dab66d 90%, #ead292 95%, #fff7c3 100%);
}

.mtg-page-hero__emblem {
	position: absolute;
	top: 0;
	left: 50%;
	z-index: 1;
	width: 97px;
	height: auto;
	transform: translateX(-50%);
}

.mtg-page-hero__title {
	position: relative;
	z-index: 1;
	margin: 0;
	color: #fff;
	font-family: var(--mtg-font-heading);
	font-size: 62px;
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: 0;
	text-align: center;
	text-transform: uppercase;
}

/* ------------------------------------------------- Registration (Join Us) */

.mtg-signup {
	padding: 70px 0 96px;
	background: #fff;
	color: var(--mtg-ink);
	font-family: var(--mtg-font-body);
}

.mtg-signup__inner {
	width: min(var(--mtg-maxw), calc(100% - 48px));
	margin: 0 auto;
}

.mtg-signup__intro {
	max-width: 640px;
	margin: 0 auto;
	font-size: 17px;
	line-height: 1.4;
	text-align: center;
}

.mtg-signup__heading {
	margin: 72px 0 30px;
	color: var(--mtg-ink);
	font-family: var(--mtg-font-heading);
	font-size: 27px;
	font-weight: 900;
	line-height: 1.15;
	letter-spacing: 0;
	text-transform: uppercase;
}

.mtg-signup__inner > .mtg-signup__heading:first-child {
	margin-top: 0;
}

.mtg-signup__text {
	margin: 0 0 28px;
	font-size: 17px;
	line-height: 1.4;
}

.mtg-signup__notice {
	margin: 32px 0 0;
	padding: 12px 16px;
	background: #fdf1f1;
	border-left: 4px solid var(--mtg-red);
	color: var(--mtg-ink);
	font-size: 15px;
	line-height: 1.4;
}

.mtg-signup__notice * {
	margin: 0;
	padding: 0;
	color: inherit !important;
}

/* Four-column grid: plain fields take a quarter, --half fields take half */
.mtg-form-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px 15px;
}

.mtg-form-grid--spaced {
	margin-top: 32px;
}

.mtg-field {
	position: relative;
	min-width: 0;
}

.mtg-field--half {
	grid-column: span 2;
}

.mtg-signup label {
	display: block;
	margin: 0 0 8px;
	color: var(--mtg-ink);
	font-family: var(--mtg-font-body);
	font-size: 17px;
	font-weight: 400;
	line-height: 20px;
}

.mtg-signup input[type='text'],
.mtg-signup input[type='password'],
.mtg-signup select {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: 45px;
	margin: 0;
	padding: 0 18px;
	background-color: #fff;
	border: 1px solid #555;
	border-radius: 6px;
	box-shadow: none;
	color: var(--mtg-ink);
	font-family: var(--mtg-font-body);
	font-size: 18px;
	line-height: normal;
}

.mtg-signup select {
	padding-right: 40px;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2304332f' stroke-width='1.6'/%3E%3C/svg%3E") right 16px center / 12px 8px no-repeat;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

/* Unanswered selects read as placeholders */
.mtg-signup select:has(option[value='']:checked) {
	color: #9a9a9a;
}

.mtg-signup select option {
	color: var(--mtg-ink);
}

.mtg-signup input::placeholder {
	color: #9a9a9a;
	opacity: 1;
}

.mtg-signup input[type='text']:focus,
.mtg-signup input[type='password']:focus,
.mtg-signup select:focus {
	border-color: var(--mtg-teal);
	outline: 2px solid rgba(11, 100, 97, 0.25);
	outline-offset: 0;
}

.mtg-signup input.error,
.mtg-signup select.error {
	border-color: var(--mtg-red) !important;
}

/* jQuery Validate messages */
.mtg-signup label.error {
	margin: 6px 0 0;
	color: var(--mtg-red);
	font-size: 14px;
	line-height: 17px;
}

/* Age-verification "NO MATCH" flags, shown by the legacy scripts */
.mtg-signup span.age-error {
	top: 0;
	right: 0;
	bottom: auto;
	left: auto;
	width: auto;
	height: auto;
	padding: 1px 6px;
	border-radius: 3px;
	background: var(--mtg-red);
	font-size: 11px;
	font-weight: 700;
	line-height: 16px;
}

.mtg-signup__note {
	margin: 18px 0 0;
	font-size: 14.5px;
	line-height: 18px;
}

.mtg-signup .mtg-check {
	display: flex;
	align-items: flex-start;
	gap: 17px;
	margin: 26px 0 0;
	font-size: 14.5px;
	line-height: 18px;
	cursor: pointer;
}

.mtg-signup .mtg-check + .mtg-check {
	margin-top: 16px;
}

.mtg-signup .mtg-check input {
	flex: 0 0 auto;
	box-sizing: border-box;
	width: 19px;
	height: 19px;
	margin: 0;
	background: #fff;
	border: 1.5px solid var(--mtg-ink);
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.mtg-signup .mtg-check input:checked {
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2l2.8 3L10 1.5' fill='none' stroke='%2304332f' stroke-width='1.5'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}

.mtg-signup .mtg-check input:focus-visible {
	outline: 2px solid var(--mtg-teal);
	outline-offset: 2px;
}

.mtg-signup .mtg-check label.error {
	display: none !important;
}

/* Additional Info: question on the left, answer on the right */
.mtg-signup__questions {
	display: grid;
	gap: 22px;
}

.mtg-question {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 15px;
	align-items: center;
}

.mtg-signup .mtg-question > label:first-child {
	margin: 0;
	padding-right: 24px;
}

.mtg-question > label.error,
.mtg-question__other {
	grid-column: 2;
}

.mtg-question__other {
	margin-top: 12px;
}

/* Checkbox questions: the question in the left column, the choices stacked on the right. A floated
   legend lays out like a normal block, so it can sit beside the choices. */
.mtg-question--checkbox {
	align-items: start;
}

.mtg-question__group {
	grid-column: 1 / -1;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

.mtg-question__group legend {
	float: left;
	box-sizing: border-box;
	width: calc(50% - 7.5px);
	margin: 0;
	padding: 0 24px 0 0;
	border: 0;
	color: inherit;
	font-size: 17px;
	line-height: 20px;
}

.mtg-question__hint {
	color: #6b6b6b;
	font-size: 0.85em;
	white-space: nowrap;
}

.mtg-question__choices {
	display: grid;
	gap: 10px;
	margin-left: calc(50% + 7.5px);
}

.mtg-signup .mtg-question__choices .mtg-check,
.mtg-signup .mtg-question__choices .mtg-check + .mtg-check {
	align-items: center;
	margin: 0;
	font-size: 17px;
	line-height: 20px;
}

.mtg-signup .mtg-question__choices .mtg-check.is-disabled {
	cursor: default;
	opacity: 0.5;
}

.mtg-signup .mtg-question__choices .mtg-check.is-disabled input {
	cursor: default;
}

.mtg-signup .mtg-question textarea {
	display: block;
	box-sizing: border-box;
	width: 100%;
	min-height: 96px;
	margin: 0;
	padding: 12px 18px;
	background: #fff;
	border: 1px solid #555;
	border-radius: 6px;
	box-shadow: none;
	color: var(--mtg-ink);
	font-family: var(--mtg-font-body);
	font-size: 18px;
	line-height: 1.3;
	resize: vertical;
}

.mtg-signup .mtg-question textarea:focus {
	border-color: var(--mtg-teal);
	outline: 2px solid rgba(11, 100, 97, 0.25);
	outline-offset: 0;
}

.mtg-question--textarea {
	align-items: start;
}

.mtg-signup .mtg-question--textarea > label:first-child {
	padding-top: 12px;
}

.mtg-signup__legal p {
	margin: 0 0 14px;
	font-size: 14.5px;
	line-height: 18px;
}

/* No heading above it since the e-signature went (10/30), so it sets its own gap */
.mtg-signup__legal {
	margin: 44px 0 0;
}

/* Gold button (comp "EDIT" buttons) */
.mtg-btn,
.mtg-btn:visited,
.mtg-signup input.mtg-btn[type='submit'] {
	display: inline-block;
	box-sizing: border-box;
	min-width: 88px;
	height: 45px;
	margin: 0;
	padding: 0 22px;
	background: var(--mtg-gold);
	border: 0;
	border-radius: 6px;
	color: var(--mtg-ink);
	font-family: var(--mtg-font-body);
	font-size: 18px;
	font-weight: 400;
	line-height: 45px;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.mtg-btn:hover,
.mtg-btn:focus-visible,
.mtg-signup input.mtg-btn[type='submit']:hover,
.mtg-signup input.mtg-btn[type='submit']:focus-visible {
	background: var(--mtg-ink);
	color: #fff;
	text-decoration: none;
	-webkit-text-stroke: 0.75px currentColor;
}

.mtg-signup input.mtg-btn[type='submit'] {
	margin-top: 40px;
}

.mtg-signup__privacy {
	margin: 24px 0 0;
	font-size: 14.5px;
	line-height: 18px;
}

.mtg-signup__privacy a,
.mtg-signup__privacy a:visited {
	color: var(--mtg-teal);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------------------------------------- Forgot / reset password */

/* One column the width of a half field, centred; shares the registration form styles */
.mtg-fp__inner {
	width: min(492px, calc(100% - 48px));
	margin: 0 auto;
	text-align: center;
}

.mtg-fp__form {
	margin-top: 36px;
	text-align: left;
}

.mtg-signup .mtg-fp__form input + label {
	margin-top: 22px;
}

.mtg-fp__form .mtg-btn {
	margin-top: 32px;
}

.mtg-fp__back {
	margin: 28px 0 0;
	font-size: 15px;
	line-height: 18px;
}

.mtg-fp__back a,
.mtg-fp__back a:visited {
	color: var(--mtg-teal);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.mtg-fp__center {
	margin: 32px 0 0;
}

/* Status messages from the handlers: neutral by default, red for errors */
.mtg-notice {
	margin: 32px 0;
	padding: 12px 16px;
	background: var(--mtg-mint);
	border-left: 4px solid var(--mtg-teal);
	color: var(--mtg-ink);
	font-size: 15px;
	line-height: 1.4;
	text-align: left;
}

.mtg-notice:has(.pass_error) {
	background: #fdf1f1;
	border-left-color: var(--mtg-red);
}

.mtg-notice * {
	margin: 0;
	padding: 0;
	color: inherit !important;
}

.mtg-signup__intro + .mtg-notice {
	margin-bottom: 0;
}

.mtg-fp__inner > .mtg-notice:first-child {
	margin-top: 0;
}

/* --------------------------------------------------------- My Account */

/* Member pages: the header's own emblem hangs over the hero */
.mtg-page-hero--member {
	padding-top: 56px;
}

.mtg-account {
	padding-bottom: 91px;
}

.mtg-account__title {
	margin: 0;
	color: var(--mtg-ink);
	font-family: var(--mtg-font-heading);
	font-size: 39px;
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: 0;
	text-align: center;
	text-transform: uppercase;
}

.mtg-account .mtg-notice {
	margin: 40px 0 0;
}

.mtg-account__section {
	margin-top: 100px;
}

.mtg-account__section .mtg-signup__heading {
	margin-top: 0;
}

.mtg-account__group {
	margin: 0 0 8px;
	font-size: 17px;
	line-height: 20px;
}

.mtg-form-grid + .mtg-account__group {
	margin-top: 39px;
}

.mtg-account .mtg-check {
	margin-top: 47px;
}

.mtg-account__actions {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-top: 47px;
}

.mtg-account .mtg-check + .mtg-check + .mtg-check + .mtg-account__actions,
.mtg-account .mtg-check + .mtg-account__actions {
	margin-top: 53px;
}

.mtg-account__cancel,
.mtg-account__cancel:visited {
	padding: 0;
	background: none;
	border: 0;
	color: var(--mtg-teal);
	font-family: var(--mtg-font-body);
	font-size: 16px;
	text-decoration: underline;
	text-underline-offset: 3px;
	cursor: pointer;
}

.mtg-account__cancel[hidden] {
	display: none;
}

/* Locked (saved) sections: fields read as values, not inputs waiting for typing */
.mtg-account .is-locked input[type='text'],
.mtg-account .is-locked select {
	cursor: default;
}

.mtg-account .is-locked input[type='text']:focus,
.mtg-account .is-locked select:focus {
	border-color: #555;
	outline: 0;
}

.mtg-account .is-locked select {
	background-image: none;
}

.mtg-account .is-locked .mtg-check,
.mtg-account .is-locked .mtg-check input {
	cursor: default;
}

.mtg-account input[data-mtg-always-readonly] {
	background-color: #f6f6f6;
}

.mtg-account__password.mtg-account__password {
	color: #9a9a9a;
	font-size: 14px;
	letter-spacing: 1px;
	pointer-events: none;
}

a.mtg-btn {
	color: var(--mtg-ink);
}

/* My Tobacco Preferences: mint band, packs overhanging its top edge */
.mtg-prefs {
	position: relative;
	padding: 78px 0 128px;
	overflow-x: clip;
	background: var(--mtg-mint);
	color: var(--mtg-ink);
	font-family: var(--mtg-font-body);
}

.mtg-prefs__inner {
	position: relative;
	width: min(var(--mtg-maxw), calc(100% - 48px));
	margin: 0 auto;
}

.mtg-prefs__art {
	position: absolute;
	top: -170px;
	left: 590px;
	width: 490px;
	height: 300px;
	pointer-events: none;
}

.mtg-prefs__packs {
	position: absolute;
	top: 0;
	left: 64px;
	width: 344px;
	height: auto;
}

.mtg-prefs__leaves {
	position: absolute;
	height: auto;
	opacity: 0.9;
}

.mtg-prefs__leaves--left {
	top: 138px;
	left: 0;
	width: 120px;
}

.mtg-prefs__leaves--right {
	top: 136px;
	left: 390px;
	width: 104px;
}

.mtg-prefs__title {
	position: relative;
	margin: 0;
	color: var(--mtg-ink);
	font-family: var(--mtg-font-heading);
	font-size: 44px;
	font-weight: 900;
	line-height: 42px;
	letter-spacing: 0;
	text-transform: uppercase;
}

.mtg-prefs .mtg-notice {
	margin: 32px 0 0;
}

.mtg-prefs__list {
	margin: 32px 0 0;
}

.mtg-prefs__item {
	padding: 27px 0 28px;
	border-bottom: 3px solid transparent;
	border-image: linear-gradient(90deg, #be842b 0%, #fff7c3 44%, #f3e2a8 48%, #cd9e4e 64%, #be842b 71%, #bf872f 75%, #c5903b 80%, #cda050 85%, #dab66d 90%, #ead292 95%, #fff7c3 100%) 1;
}

.mtg-prefs__item:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.mtg-prefs__item dt {
	margin: 0;
	color: var(--mtg-ink);
	font-family: var(--mtg-font-heading);
	font-size: 27px;
	font-weight: 900;
	line-height: 31px;
}

.mtg-prefs__item dd {
	margin: 9px 0 0;
	font-size: 18px;
	line-height: 23px;
}

.mtg-prefs__item dd.is-empty {
	color: #6f7f7d;
	font-style: italic;
}

.mtg-prefs__view > .mtg-btn {
	margin-top: 56px;
}

.mtg-prefs__form.mtg-signup {
	margin-top: 48px;
	padding: 0;
	background: none;
}

.mtg-prefs__form[hidden],
.mtg-prefs__view[hidden] {
	display: none;
}

.mtg-prefs__form .mtg-question__other[hidden] {
	display: none;
}

@media (max-width: 1100px) {
	.mtg-prefs__art {
		left: auto;
		right: -40px;
	}
}

@media (max-width: 992px) {
	.mtg-page-hero::after {
		height: 31px;
	}
}

@media (max-width: 767px) {
	.mtg-page-hero {
		height: 200px;
		padding: 40px 16px 36px;
	}

	.mtg-page-hero::before {
		top: 50px;
		left: -60%;
		width: 220%;
	}

	.mtg-page-hero::after {
		height: 20px;
	}

	.mtg-page-hero__emblem {
		width: 60px;
	}

	.mtg-page-hero__title {
		font-size: 36px;
	}

	.mtg-signup {
		padding: 40px 0 64px;
	}

	.mtg-signup__inner {
		width: calc(100% - 32px);
	}

	.mtg-signup__intro {
		font-size: 16px;
	}

	.mtg-signup__heading {
		margin-top: 52px;
		margin-bottom: 22px;
		font-size: 24px;
	}

	.mtg-form-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px 12px;
	}

	.mtg-signup label {
		font-size: 16px;
	}

	.mtg-signup input[type='text'],
	.mtg-signup input[type='password'],
	.mtg-signup select {
		height: 48px;
		padding: 0 14px;
		font-size: 16px;
	}

	.mtg-signup select {
		padding-right: 34px;
		background-position: right 12px center;
	}

	.mtg-question {
		grid-template-columns: minmax(0, 1fr);
	}

	.mtg-signup .mtg-question > label:first-child {
		margin-bottom: 8px;
		padding-right: 0;
	}

	.mtg-question > label.error,
	.mtg-question__other {
		grid-column: 1;
	}

	.mtg-question__group legend {
		width: 100%;
		margin-bottom: 10px;
		padding-right: 0;
		font-size: 16px;
	}

	.mtg-question__choices {
		clear: both;
		margin-left: 0;
	}

	.mtg-signup .mtg-question__choices .mtg-check,
	.mtg-signup .mtg-question__choices .mtg-check + .mtg-check {
		font-size: 16px;
	}

	.mtg-signup .mtg-question textarea {
		font-size: 16px;
	}

	.mtg-signup .mtg-question--textarea > label:first-child {
		padding-top: 0;
	}
}

@media (max-width: 767px) {
	.mtg-account__title {
		font-size: 30px;
	}

	.mtg-account__section {
		margin-top: 64px;
	}

	.mtg-account .mtg-check,
	.mtg-account__actions {
		margin-top: 32px;
	}

	.mtg-prefs {
		padding: 0 0 72px;
	}

	.mtg-prefs__inner {
		width: calc(100% - 32px);
	}

	/* Packs sit above the heading instead of beside it */
	.mtg-prefs__art {
		position: relative;
		top: -40px;
		right: auto;
		left: auto;
		width: 300px;
		height: 220px;
		margin: 0 auto -16px;
	}

	.mtg-prefs__packs {
		left: 40px;
		width: 220px;
	}

	.mtg-prefs__leaves--left {
		top: 90px;
		width: 80px;
	}

	.mtg-prefs__leaves--right {
		top: 90px;
		left: 230px;
		width: 70px;
	}

	.mtg-prefs__title {
		font-size: 34px;
		line-height: 36px;
	}

	.mtg-prefs__item {
		padding: 22px 0 22px;
	}

	.mtg-prefs__item dt {
		font-size: 22px;
		line-height: 27px;
	}

	.mtg-prefs__item dd {
		font-size: 17px;
	}

	.mtg-prefs__view > .mtg-btn {
		margin-top: 40px;
	}
}

@media (max-width: 400px) {
	.mtg-page-hero__title {
		font-size: 30px;
	}
}

/* --------------------------------------------- Beaver Builder page helpers */

/* "Page No Title" wraps Beaver Builder content in a fixed 1170px Bootstrap container and
   style.css paints the Home body dark green; reskinned BB rows set their own widths and grounds */
.page-template-page-no-title #content > .container {
	width: 100%;
	max-width: none;
	padding: 0;
}

body.page-home {
	background-color: #fff;
}

/* style.css and Bootstrap put 10px above and below every paragraph, which throws off
   Text Editor spacing; module margins carry the spacing instead. A shortcode alone in a
   Text Editor also leaves empty <p>s either side of its output. */
.fl-builder-content .mtg-hero .fl-rich-text > :first-child,
.fl-builder-content .mtg-coupons .fl-rich-text > :first-child,
.fl-builder-content .mtg-locator .fl-rich-text > :first-child,
.fl-builder-content .mtg-roots .fl-rich-text > :first-child,
.fl-builder-content .mtg-story-rooted .fl-rich-text > :first-child,
.fl-builder-content .mtg-story-quality .fl-rich-text > :first-child,
.fl-builder-content .mtg-story-endure .fl-rich-text > :first-child,
.fl-builder-content .mtg-story-destination .fl-rich-text > :first-child,
.fl-builder-content .mtg-savings .fl-rich-text > :first-child,
.fl-builder-content .mtg-products-blends .fl-rich-text > :first-child,
.fl-builder-content .mtg-products-quality .fl-rich-text > :first-child {
	margin-top: 0;
}

.fl-builder-content .mtg-hero .fl-rich-text > :last-child,
.fl-builder-content .mtg-coupons .fl-rich-text > :last-child,
.fl-builder-content .mtg-locator .fl-rich-text > :last-child,
.fl-builder-content .mtg-roots .fl-rich-text > :last-child,
.fl-builder-content .mtg-story-rooted .fl-rich-text > :last-child,
.fl-builder-content .mtg-story-quality .fl-rich-text > :last-child,
.fl-builder-content .mtg-story-endure .fl-rich-text > :last-child,
.fl-builder-content .mtg-story-destination .fl-rich-text > :last-child,
.fl-builder-content .mtg-savings .fl-rich-text > :last-child,
.fl-builder-content .mtg-products-blends .fl-rich-text > :last-child,
.fl-builder-content .mtg-products-quality .fl-rich-text > :last-child {
	margin-bottom: 0;
}

.fl-builder-content .fl-rich-text p:empty {
	display: none;
}

/* Gold buttons: add class "mtg-btn-gold" to a Button module (BB gradients are two-stop).
   The hover colours come from each module's own Background/Text Hover Color settings.
   .fl-module raises the specificity: shared layouts inserted with [fl_builder_insert_layout]
   (Our Roots, Find More Value) load their own CSS after this file, and its equally specific
   "background-image: none" left those buttons flat gold. */
.fl-builder-content .mtg-btn-gold.fl-module a.fl-button,
.fl-builder-content .mtg-btn-gold.fl-module a.fl-button:visited {
	background-image: var(--mtg-gold);
	border: 0;
}

.fl-builder-content .mtg-btn-gold.fl-module a.fl-button:hover,
.fl-builder-content .mtg-btn-gold.fl-module a.fl-button:focus-visible {
	background-image: none;
}

/* Buttons go bold on hover (comp hover states). A text stroke thickens the face without
   changing its width, so the button doesn't grow under the pointer. */
.fl-builder-content .mtg-hero a.fl-button:hover .fl-button-text,
.fl-builder-content .mtg-coupons a.fl-button:hover .fl-button-text,
.fl-builder-content .mtg-roots a.fl-button:hover .fl-button-text,
.fl-builder-content .mtg-blends .fl-slide-cta-button a.fl-button:hover .fl-button-text,
.fl-builder-content .mtg-hero a.fl-button:focus-visible .fl-button-text,
.fl-builder-content .mtg-coupons a.fl-button:focus-visible .fl-button-text,
.fl-builder-content .mtg-roots a.fl-button:focus-visible .fl-button-text,
.fl-builder-content .mtg-blends .fl-slide-cta-button a.fl-button:focus-visible .fl-button-text,
.mtg-locator-form button:hover,
.mtg-locator-form button:focus-visible {
	-webkit-text-stroke: 0.75px currentColor;
}

/* Hero: gold bar along the bottom edge (exported gradient). The line art sits on it: the
   column's bottom margin matches the bar height so its background ends where the bar begins. */
.fl-builder-content .mtg-hero > .fl-row-content-wrap::after {
	content: '';
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	height: 25px;
	background: linear-gradient(90deg, #be842b 0%, #fff7c3 44%, #f3e2a8 48%, #cd9e4e 64%, #be842b 71%, #bf872f 75%, #c5903b 80%, #cda050 85%, #dab66d 90%, #ead292 95%, #fff7c3 100%);
}

.fl-builder-content .mtg-hero .fl-col {
	position: relative;
	z-index: 1;
}

/* Home hero: the gold mountains are revealed left to right on load, the way the band video opens
   (marketing, 11/2). A teal wash with a soft leading edge slides off to the right; the columns
   sit above it and the gold bar (::after) paints over it. */
@media (prefers-reduced-motion: no-preference) {
	.fl-builder-content .mtg-home-hero > .fl-row-content-wrap {
		overflow-x: clip;
	}

	.fl-builder-content .mtg-home-hero > .fl-row-content-wrap::before {
		content: '';
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		width: 140%;
		background: linear-gradient(90deg, rgba(11, 100, 97, 0) 0%, #0b6461 28%);
		transform: translateX(72%);
		animation: mtg-hero-mountains 2.6s cubic-bezier(0.45, 0, 0.25, 1) 0.3s backwards;
		pointer-events: none;
	}
}

@keyframes mtg-hero-mountains {
	from {
		transform: translateX(-28%);
	}

	to {
		transform: translateX(72%);
	}
}

@media (max-width: 992px) {
	.fl-builder-content .mtg-hero > .fl-row-content-wrap::after {
		height: 31px;
	}
}

@media (max-width: 767px) {
	.fl-builder-content .mtg-hero > .fl-row-content-wrap::after {
		height: 20px;
	}
}

/* ------------------------------------------------------- Our Story page */

/* Value badges: gold-outlined diamonds drawn behind a Heading module (class "mtg-diamond"; BB
   renders the module as the heading element itself). The inner diamond is inset so the outline
   reads ~4px thick along every edge. */
.fl-builder-content .fl-module-heading.mtg-diamond {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 180px;
	height: 155px;
	margin: 0 auto;
	padding: 0 32px;
	text-align: center;
}

.fl-builder-content .fl-module-heading.mtg-diamond::before,
.fl-builder-content .fl-module-heading.mtg-diamond::after {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -2;
	display: block; /* BB's module clearfix makes these display: table, which collapses them */
	background: linear-gradient(45deg, #f5e9ba 0%, #e7cd84 22%, #b0832a 48%, #e9d08a 74%, #f5e9ba 100%);
	clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.fl-builder-content .fl-module-heading.mtg-diamond::after {
	z-index: -1;
	background: #fff;
	clip-path: polygon(50% 5px, calc(100% - 6px) 50%, 50% calc(100% - 5px), 6px 50%);
}

/* Hero: the plantation pan plays greyscale and dimmed like the comp's still, and the fallback
   image (shown until it plays) gets the same treatment. It covers the row whatever the
   window's shape. */
.fl-builder-content .mtg-story-hero .fl-bg-video {
	filter: grayscale(1) brightness(0.45);
}

.fl-builder-content .mtg-story-hero .fl-bg-video video {
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}

/* Home: Our Roots plays the tobacco field the same way */
.fl-builder-content .mtg-roots .fl-bg-video {
	filter: grayscale(1) brightness(0.45);
}

.fl-builder-content .mtg-roots .fl-bg-video video,
.fl-builder-content .mtg-band .fl-bg-video video {
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}

/* Home: the band video (2560x430) has a white strip under its gold line, which ends at row 370.
   The video box is taller than the row by that strip, pinned to the top, so the strip always
   falls below the row and is clipped. Sizing the row alone (14.62vw) left a sliver showing,
   since vw counts the scrollbar but the video scales to the page width. */
.fl-builder-content .mtg-band .fl-bg-video video {
	height: calc(100% * 430 / 370) !important;
	object-position: center top;
}

/* Built to Endure: the framed photo (frame baked in) is inset to line up with the farmer
   photo's frame above, and the red pack tips over its bottom-left corner */
.fl-builder-content .mtg-story-endure .fl-col-content {
	position: relative;
}

.fl-builder-content .mtg-story-framed.fl-module {
	margin-left: 40px !important;
}

.fl-builder-content .mtg-story-framed img {
	display: block;
}

/* "Rooted in Tradition" runs on one line like the comp; it's a little wider than its column */
@media (min-width: 993px) {
	.fl-builder-content .mtg-story-rooted .mtg-heading {
		white-space: nowrap;
	}
}

/* Its two paragraphs sit a full line apart, like the comp */
.fl-builder-content .mtg-story-rooted .fl-rich-text p + p {
	margin-top: 1.2em;
}

.fl-builder-content .mtg-story-endure__pack.fl-module {
	position: absolute;
	bottom: -58px;
	left: -16px;
	z-index: 1;
	width: 155px;
	margin: 0 !important;
	pointer-events: none;
}

.fl-builder-content .mtg-story-endure__pack img {
	display: block;
	width: 100%;
	height: auto;
}

/* A Destination Worth Seeking: the mountain line art spans the full width along the bottom */
.fl-builder-content .mtg-story-destination > .fl-row-content-wrap {
	background-size: 100% auto;
}

.fl-builder-content .mtg-story-destination .fl-module-rich-text {
	max-width: 705px;
	margin-right: auto !important;
	margin-left: auto !important;
}

/* On Our Story the shared store locator that follows sits on the light mint ground */
.fl-builder-content .mtg-story-destination ~ .mtg-shared-bottom .mtg-locator > .fl-row-content-wrap {
	background-color: #f1f8f7;
}

/* The pin image has a white ground baked in; multiply drops it out against the mint */
.fl-builder-content .mtg-story-destination ~ .mtg-shared-bottom .mtg-locator .fl-photo img {
	mix-blend-mode: multiply;
}

@media (max-width: 767px) {
	.fl-builder-content .mtg-story-framed.fl-module {
		margin-left: 32px !important;
	}

	.fl-builder-content .mtg-story-endure__pack.fl-module {
		bottom: -40px;
		left: 0;
		width: 110px;
	}
}

/* Packs run off the right edge of the window, like the comp, at any width */
.fl-builder-content .mtg-story-quality {
	overflow-x: clip;
}

.fl-builder-content .mtg-bleed-right.fl-module {
	margin-right: min(0px, calc((var(--mtg-maxw) - 100vw) / 2)) !important;
}

.fl-builder-content .mtg-bleed-right img {
	display: block;
	margin-left: auto;
}

@media (max-width: 767px) {
	.fl-builder-content .mtg-bleed-right img {
		margin-right: auto;
	}
}

/* Built to Endure: the three whole packs sit beside the copy instead of running off the window's
   right edge (marketing, 11/2). They may use the gutter past the column but stop short of the edge. */
.fl-builder-content .mtg-story-packs.fl-module {
	margin-right: min(0px, calc((var(--mtg-maxw) - 100vw) / 2 + 24px)) !important;
}

.fl-builder-content .mtg-story-packs img {
	display: block;
	width: min(634px, 100%);
	height: auto;
	margin: 0;
}

@media (max-width: 767px) {
	.fl-builder-content .mtg-story-packs.fl-module {
		margin-right: 0 !important;
	}

	.fl-builder-content .mtg-story-packs img {
		margin: 0 auto;
	}
}

/* The shared Store Locator + Find More Value layout sits in a Text module */
.fl-builder-content .mtg-shared-bottom .fl-rich-text > p:only-child {
	margin: 0;
}

/* ----------------------------------------- Coupon request confirmation */

/* The message sits inside the teal banner (mtg-page-hero--message), so the banner grows with
   it instead of keeping the fixed 338px height */
/* The top padding clears the header's hanging emblem (about 76px into the banner) */
.mtg-page-hero--message.mtg-page-hero--member {
	height: auto;
	min-height: 338px;
	padding-top: 112px;
	padding-bottom: 80px;
}

.mtg-page-hero__message {
	position: relative;
	z-index: 1;
	max-width: 640px;
	color: #fff;
	font-family: var(--mtg-font-body);
	text-align: center;
}

.mtg-page-hero .mtg-page-hero__subtitle {
	margin: 28px 0 14px;
	color: #fff;
	font-family: var(--mtg-font-heading);
	font-size: 27px;
	font-weight: 900;
	line-height: 1.15;
	letter-spacing: 0;
	text-transform: uppercase;
}

.mtg-page-hero .mtg-page-hero__text {
	margin: 0;
	color: #fff;
	font-size: 17px;
	line-height: 1.4;
}

.mtg-page-hero__text a,
.mtg-page-hero__text a:visited {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.mtg-page-hero__text a:hover,
.mtg-page-hero__text a:focus-visible {
	color: #e6ca80;
}

.mtg-page-hero .mtg-page-hero__cta {
	margin: 32px 0 0;
}

@media (max-width: 767px) {
	.mtg-page-hero--message.mtg-page-hero--member {
		min-height: 200px;
		padding-top: 88px;
		padding-bottom: 56px;
	}

	.mtg-page-hero .mtg-page-hero__subtitle {
		margin-top: 20px;
		font-size: 22px;
	}

	.mtg-page-hero .mtg-page-hero__text {
		font-size: 16px;
	}
}

/* -------------------------------------------------------- Products page */

/* Backgrounds span the full width: gold line work along the hero's base, tobacco field behind the blends.
   The home hero (row class mtg-home-hero) uses the same line work so it reaches the edges on wide screens. */
.fl-builder-content .mtg-products-hero > .fl-row-content-wrap,
.fl-builder-content .mtg-home-hero > .fl-row-content-wrap,
.fl-builder-content .mtg-products-blends > .fl-row-content-wrap {
	background-size: 100% auto;
}

/* On very wide screens (about 2430px up) the full-width line work is taller than the hero's
   content, which clipped the peaks; the hero grows to the image's height (2400x702) instead,
   with the content kept at the bottom so the packs stay on the gold bar */
.fl-builder-content .mtg-home-hero > .fl-row-content-wrap {
	min-height: calc(100vw * 702 / 2400);
	align-items: flex-end;
}

/* Packs sit right on the gold bar */
.fl-builder-content .mtg-products-hero__packs img,
.fl-builder-content .mtg-blend-pack img {
	display: block;
	margin: 0 auto;
}

.fl-builder-content .mtg-products-hero__packs img {
	margin: 0;
}

.fl-builder-content .mtg-btn-teal .fl-button:hover .fl-button-text,
.fl-builder-content .mtg-btn-teal .fl-button:focus-visible .fl-button-text {
	-webkit-text-stroke: 0.75px currentColor;
}

/* American Made: faint white leaves behind the photo and in the lower-left corner */
.fl-builder-content .mtg-products-quality > .fl-row-content-wrap {
	overflow: hidden;
}

.fl-builder-content .mtg-products-quality > .fl-row-content-wrap::before,
.fl-builder-content .mtg-products-quality > .fl-row-content-wrap::after {
	content: '';
	position: absolute;
	display: block;
	background: url('../images/montego/leaves-right.png') 0 0 / contain no-repeat;
	opacity: 0.9;
	pointer-events: none;
}

.fl-builder-content .mtg-products-quality > .fl-row-content-wrap::before {
	top: 24px;
	left: calc(50% - var(--mtg-maxw) / 2 + 352px);
	width: 171px;
	height: 197px;
}

.fl-builder-content .mtg-products-quality > .fl-row-content-wrap::after {
	bottom: -40px;
	left: -20px;
	width: 200px;
	height: 190px;
	background-image: url('../images/montego/leaves-left.png');
	transform: rotate(-12deg);
}

.fl-builder-content .mtg-products-quality .fl-row-content {
	position: relative;
	z-index: 1;
}

/* Blend popup (each "… Products" button opens its HTML in BB's lightbox). King / 100's
   switch the pack with two radio inputs, no script. */
body:has(.mfp-content .mtg-blend-pop) .mfp-bg.mfp-ready {
	background: #000;
	opacity: 0.5;
}

.mfp-content .fl-button-lightbox-content:has(> .mtg-blend-pop) {
	position: relative;
	box-sizing: border-box;
	width: min(1000px, calc(100vw - 32px));
	max-width: none;
	margin: 0 auto;
	padding: 0;
	background: #f2f8f7 url('../images/montego/lineart-light.webp') center bottom / 100% auto no-repeat;
	background-blend-mode: multiply;
	border: 4px solid #e6ca80;
	border-image: linear-gradient(180deg, #f6ebbd 0%, #f0dda3 20%, #e6ca80 50%, #cfaa59 70%, #a8791f 100%) 1;
	box-shadow: none;
}

/* BB's per-button CSS pins the close to top/right -10px !important */
.mfp-content .fl-button-lightbox-content:has(> .mtg-blend-pop) .mfp-close {
	top: 10px !important;
	right: 12px !important;
	width: 34px;
	height: 34px;
	color: var(--mtg-ink);
	font-family: var(--mtg-font-body);
	font-size: 44px;
	line-height: 34px;
	opacity: 1;
}

/* The lightbox script writes an inline display: block on this element when it opens */
.fl-button-lightbox-content > .mtg-blend-pop {
	display: flex !important;
	align-items: flex-start;
	gap: 60px;
	padding: 59px 80px 61px 133px;
	color: var(--mtg-ink);
	font-family: var(--mtg-font-body);
	text-align: left;
}

.mtg-blend-pop__r {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.mtg-blend-pop__pack {
	position: relative;
	flex: 0 0 210px;
}

.mtg-blend-pop__img {
	display: block;
	width: 210px;
	height: auto;
	margin-top: auto;
}

/* Kings are shorter; keep the pack's base in the same place */
.mtg-blend-pop__img--k {
	margin-top: 50px;
}

.mtg-blend-pop__r--k:not(:checked) ~ .mtg-blend-pop__pack .mtg-blend-pop__img--k,
.mtg-blend-pop__r--k:checked ~ .mtg-blend-pop__pack .mtg-blend-pop__img--100 {
	display: none;
}

.mtg-blend-pop__badge {
	position: absolute;
	top: 212px;
	left: -38px;
	width: 88px;
	height: auto;
}

.mtg-blend-pop__body {
	flex: 1;
	min-width: 0;
	padding-top: 44px;
}

.mtg-blend-pop__sizes {
	display: flex;
	align-items: flex-end;
	gap: 11px;
}

.mtg-blend-pop__size {
	margin: 0;
	opacity: 0.4;
	cursor: pointer;
	transition: opacity 0.15s;
}

.mtg-blend-pop__size img {
	display: block;
	height: auto;
}

.mtg-blend-pop__size--k img {
	width: 35px;
}

.mtg-blend-pop__size--100 img {
	width: 36px;
}

.mtg-blend-pop__size:hover,
.mtg-blend-pop__r--k:checked ~ .mtg-blend-pop__body .mtg-blend-pop__size--k,
.mtg-blend-pop__r--100:checked ~ .mtg-blend-pop__body .mtg-blend-pop__size--100 {
	opacity: 1;
}

.mtg-blend-pop__r:focus-visible ~ .mtg-blend-pop__body .mtg-blend-pop__sizes {
	outline: 2px solid var(--mtg-teal);
	outline-offset: 4px;
}

.mtg-blend-pop__type {
	margin: 32px 0 0;
	font-size: 15px;
	line-height: 18px;
}

.mtg-blend-pop .mtg-blend-pop__name {
	margin: 10px 0 0;
	color: var(--blend);
	font-family: var(--mtg-font-heading);
	font-size: 40px;
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: 0;
	text-transform: uppercase;
}

.mtg-blend-pop__desc {
	margin: 24px 0 0;
	font-size: 19px;
	line-height: 23px;
}

/* King and 100's each have their own line; Orange (100's only) has one plain line */
.mtg-blend-pop__r--k:not(:checked) ~ .mtg-blend-pop__body .mtg-blend-pop__desc--k,
.mtg-blend-pop__r--k:checked ~ .mtg-blend-pop__body .mtg-blend-pop__desc--100 {
	display: none;
}

.mtg-blend-pop .mtg-btn {
	margin-top: 35px;
}

@media (max-width: 767px) {
	/* Compact so Start Saving clears the fixed warning box along the bottom of the screen */
	.fl-button-lightbox-content > .mtg-blend-pop {
		flex-direction: column;
		align-items: center;
		gap: 16px;
		padding: 40px 20px 28px;
		text-align: center;
	}

	.mtg-blend-pop__pack {
		flex-basis: auto;
		width: 110px;
	}

	.mtg-blend-pop__img {
		width: 110px;
	}

	.mtg-blend-pop__img--k {
		margin-top: 27px;
	}

	.mtg-blend-pop__badge {
		top: 108px;
		left: -26px;
		width: 52px;
	}

	.mtg-blend-pop__body {
		padding-top: 0;
	}

	.mtg-blend-pop__sizes {
		justify-content: center;
	}

	.mtg-blend-pop__size--k img {
		width: 28px;
	}

	.mtg-blend-pop__size--100 img {
		width: 29px;
	}

	.mtg-blend-pop__type {
		margin-top: 14px;
	}

	.mtg-blend-pop .mtg-blend-pop__name {
		margin-top: 6px;
		font-size: 30px;
	}

	.mtg-blend-pop__desc {
		margin-top: 12px;
		font-size: 16px;
		line-height: 21px;
	}

	.mtg-blend-pop .mtg-btn {
		margin-top: 22px;
	}
}

/* --------------------------------------------------------- Savings page */

/* [monthly_coupon] block: the gold button keeps the coupon logic (link, or disabled with the
   "already requested" tooltip once this month's mailer has been requested). The Customizer still
   has the Wave styles for .coupon-btn and .tooltip with !important, hence the !important here. */
.fl-builder-content .coupon-area.mtg-coupon {
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;
	font-family: var(--mtg-font-body);
	text-align: left;
}

.fl-builder-content .mtg-coupon .coupon-btn.mtg-btn {
	position: relative;
	min-width: 0;
	height: 45px;
	margin: 0;
	padding: 0 22px;
	background: var(--mtg-gold);
	border: 0;
	border-radius: 6px;
	color: var(--mtg-ink) !important;
	font-family: var(--mtg-font-body) !important;
	font-size: 18px !important;
	font-weight: 400 !important;
	line-height: 45px;
	text-transform: uppercase;
}

.fl-builder-content .mtg-coupon .coupon-btn.mtg-btn:hover,
.fl-builder-content .mtg-coupon .coupon-btn.mtg-btn:focus-visible {
	background: var(--mtg-ink);
	color: #fff !important;
}

/* Once this month's coupon is requested the button stays gold (marketing, 10/29); the cursor
   and the tooltip say why it can't be clicked, and it doesn't take the hover colour */
.fl-builder-content .mtg-coupon .coupon-btn.disabled,
.fl-builder-content .mtg-coupon .coupon-btn.disabled:hover {
	background: var(--mtg-gold) !important;
	color: var(--mtg-ink) !important;
	cursor: not-allowed;
	-webkit-text-stroke: 0;
}

.fl-builder-content .mtg-coupon .tooltip-wrap .tooltip {
	position: absolute;
	bottom: calc(100% + 10px);
	left: 0;
	z-index: 5;
	display: block;
	width: 280px;
	margin: 0;
	padding: 10px 12px;
	background: var(--mtg-ink);
	border-radius: 6px;
	color: #fff !important;
	font-family: var(--mtg-font-body) !important;
	font-size: 14px !important;
	line-height: 1.35;
	text-align: left;
	text-transform: none;
	white-space: normal;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.15s, visibility 0.15s;
	pointer-events: none;
}

.fl-builder-content .mtg-coupon .tooltip-wrap .tooltip::after {
	left: 28px;
	border-top-color: var(--mtg-ink);
}

.fl-builder-content .mtg-coupon .tooltip-wrap:hover .tooltip,
.fl-builder-content .mtg-coupon .tooltip-wrap:focus .tooltip {
	opacity: 1;
	visibility: visible;
}

.fl-builder-content .mtg-coupon .disclaimer {
	max-width: 440px;
	margin: 18px 0 0;
	color: var(--mtg-ink);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
}

.fl-builder-content .mtg-coupon .coupon-title {
	margin: 0;
	padding: 14px 16px;
	background: var(--mtg-mint);
	border-left: 4px solid var(--mtg-teal);
	color: var(--mtg-ink);
	font-family: var(--mtg-font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	text-transform: none;
}

/* Offers form reuses the locator form's look, left-aligned in its column */
.mtg-locator-form.mtg-offers-form {
	width: min(538px, 100%);
	margin: 0;
}

.mtg-offers-form button {
	width: 117px;
}

.mtg-offers-form input[readonly] {
	cursor: default;
}

.mtg-offers-done {
	margin: 0;
	color: var(--mtg-ink);
	font-family: var(--mtg-font-body);
	font-size: 17px;
	line-height: 1.4;
}

.mtg-offers-done a {
	color: var(--mtg-teal);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* Tobacco photo: centred in its column at the coupon card's width (391px), so the two line up
   with the same gap to the copy. It used to bleed to the window's left edge, which left it far
   from the copy on wide screens (marketing, 10/29). */
.fl-builder-content .mtg-bleed-left img {
	display: block;
	width: min(391px, 100%);
	margin: 0 auto;
}

/* ...and centred top to bottom in the mint band (the columns stack on phones) */
@media (min-width: 768px) {
	.fl-builder-content .mtg-savings-offers .fl-col-group {
		display: flex;
		align-items: center;
	}
}

@media (max-width: 767px) {
	.mtg-locator-form.mtg-offers-form {
		margin: 0 auto;
	}
}

/* Section headings share the brand slab face; the stand-in is Bitter until the comp's face is licensed */
.fl-builder-content .mtg-heading .fl-heading,
.fl-builder-content .mtg-blends .mtg-blend__name {
	font-family: var(--mtg-font-heading);
	font-weight: 900;
}

/* Coupons: the card image runs a little under the text column to reach the comp's size, and
   BB positions photos, so the text column has to stack above it */
.fl-builder-content .mtg-coupons .fl-col + .fl-col {
	position: relative;
	z-index: 1;
}

/* Hero: the pack shot overhangs into the row below */
.fl-builder-content .mtg-hero {
	position: relative;
	z-index: 2;
}

/* Coupons follow the hero (marketing, 11/2): the mint runs taller so the overhanging packs clear
   the coupon card (which starts ~50px into its image) and the copy. Home's Customizer zeroes row
   padding, hence !important. */
.fl-builder-content .mtg-home-hero + .mtg-coupons > .fl-row-content-wrap {
	padding-top: 44px !important;
}

@media (max-width: 992px) {
	.fl-builder-content .mtg-home-hero + .mtg-coupons > .fl-row-content-wrap {
		padding-top: 61px !important;
	}
}

@media (max-width: 767px) {
	.fl-builder-content .mtg-home-hero + .mtg-coupons > .fl-row-content-wrap {
		padding-top: 16px !important;
	}
}

/* Blend slider: strength leaves and the blend name sit in the slide text so they stack
   above the copy; dots are outlined rings as in the comp */
.fl-builder-content .mtg-blends .mtg-blend__leaves {
	display: block;
	width: 170px;
	height: auto;
	margin: 0 0 16px;
}

.fl-builder-content .mtg-blends .mtg-blend__name {
	margin: 0 0 14px;
	color: var(--mtg-ink);
	font-size: 44px;
	line-height: 1;
	text-transform: uppercase;
}

.fl-builder-content .mtg-blends .fl-slide-text p {
	margin: 0;
}

/* BB already pads the CTA 24px; together these give the comp's gap */
.fl-builder-content .mtg-blends .fl-slide-cta-button {
	margin-top: 10px;
}

/* bxSlider reserves 40px under the slides for its pager; ours overlays the slide */
.fl-builder-content .mtg-blends .bx-wrapper {
	margin-bottom: 0;
}

/* Slides are <li>s, which style.css indents 20px ("ul li, ol li") */
.fl-builder-content .fl-content-slider li.fl-slide {
	margin: 0;
}

/* Below the 1000px measure the slide text needs its own gutter (the slides have no text padding) */
@media (min-width: 768px) and (max-width: 1047px) {
	.fl-builder-content .mtg-blends .fl-slide .fl-slide-content {
		padding-left: 24px;
	}
}

/* Pack photo: BB gives it the text column's top margin and the full 40% column width */
@media (min-width: 768px) {
	.fl-builder-content .mtg-blends .fl-slide-photo {
		width: 69.6%;
		margin: 102px 0 0 24%;
	}

	.fl-builder-content .mtg-blends .fl-slide-photo-img {
		width: 100%;
		height: auto;
	}
}

.fl-builder-content .mtg-blends .bx-wrapper .bx-pager {
	bottom: 45px;
}

.fl-builder-content .mtg-blends .bx-wrapper .bx-pager .bx-pager-link {
	display: block;
	width: 14px;
	height: 14px;
	margin: 0 8px;
	padding: 0;
	overflow: hidden;
	background: transparent;
	border: 1.5px solid var(--mtg-ink);
	border-radius: 50%;
	opacity: 1;
	font-size: 0;
	line-height: 0;
	color: transparent;
}

.fl-builder-content .mtg-blends .bx-wrapper .bx-pager .bx-pager-link.active,
.fl-builder-content .mtg-blends .bx-wrapper .bx-pager .bx-pager-link:hover,
.fl-builder-content .mtg-blends .bx-wrapper .bx-pager .bx-pager-link:focus-visible {
	background: var(--mtg-ink);
}

/* Store locator search: posts to /store-locator/ exactly like that page's own form */
.mtg-locator-form {
	display: flex;
	width: min(547px, 100%);
	margin: 0 auto;
}

.mtg-locator-form input[type='text'] {
	flex: 1;
	min-width: 0;
	height: 44px;
	margin: 0;
	padding: 0 26px;
	background: #fff;
	border: 1px solid var(--mtg-ink);
	border-right: 0;
	border-radius: 6px 0 0 6px;
	color: var(--mtg-ink);
	font-family: var(--mtg-font-body);
	font-size: 18px;
}

.mtg-locator-form input[type='text']::placeholder {
	color: #8c8c8c;
	opacity: 1;
}

.mtg-locator-form button {
	flex: none;
	width: 171px;
	height: 44px;
	margin: 0;
	padding: 0;
	background: var(--mtg-teal);
	border: 0;
	border-radius: 0 6px 6px 0;
	color: #fff;
	font-family: var(--mtg-font-body);
	font-size: 18px;
	text-transform: uppercase;
	cursor: pointer;
}

.mtg-locator-form button:hover,
.mtg-locator-form button:focus-visible {
	background: var(--mtg-gold);
	color: var(--mtg-ink);
}

@media (max-width: 767px) {
	/* BB's small-screen slide: pack above, text below on the slide's mobile background */
	.fl-builder-content .mtg-blends .fl-slide-mobile-photo {
		padding-top: 72px;
		text-align: center;
	}

	.fl-builder-content .mtg-blends .fl-slide-mobile-photo-img {
		display: block;
		width: 230px;
		max-width: 62%;
		height: auto;
		margin: 0 auto;
	}

	.fl-builder-content .mtg-blends .fl-slide .fl-slide-content {
		padding: 24px 24px 80px;
		text-align: center;
	}

	.fl-builder-content .mtg-blends .fl-slide-text,
	.fl-builder-content .mtg-blends .fl-slide-text p {
		font-size: 18px;
		line-height: 1.35;
	}

	.fl-builder-content .mtg-blends .fl-slide-cta-button {
		margin-top: 0;
		text-align: center;
	}

	.fl-builder-content .mtg-blends .fl-slide-cta-button a.fl-button {
		font-size: 18px;
	}

	.fl-builder-content .mtg-blends .bx-wrapper .bx-pager {
		bottom: 28px;
	}

	.fl-builder-content .mtg-blends .mtg-blend__name {
		font-size: 40px;
	}

	.fl-builder-content .mtg-blends .mtg-blend__leaves {
		width: 150px;
		margin: 0 auto 16px;
	}

	.mtg-locator-form input[type='text'] {
		height: 50px;
		padding: 0 16px;
		font-size: 17px;
	}

	.mtg-locator-form button {
		width: 140px;
		height: 50px;
		font-size: 17px;
	}
}

/* ------------------------------------------------------- Contact Us page */

/* The form box (row class "mtg-contact") rides up over the hero with a negative top margin,
   so it has to stack above the hero row, and above the store locator teaser below it, whose
   "mtg-locator" row is z-index 3 and would otherwise clip the box and the hanging pack */
.fl-builder-content .mtg-contact {
	position: relative;
	z-index: 4;
}

.fl-builder-content .mtg-contact__box > .fl-col-content {
	position: relative;
	border: 5px solid #e6ca80;
	border-image: linear-gradient(180deg, #f6ebbd 0%, #f0dda3 20%, #e6ca80 50%, #cfaa59 70%, #a8791f 100%) 1;
}

.fl-builder-content .mtg-contact .fl-rich-text > :first-child {
	margin-top: 0;
}

.fl-builder-content .mtg-contact .fl-rich-text > :last-child {
	margin-bottom: 0;
}

/* Pack hanging off the box's bottom-right corner */
.fl-builder-content .mtg-contact__pack {
	position: absolute;
	right: -59px;
	bottom: -88px;
	z-index: 1;
	width: 153px;
	margin: 0;
	pointer-events: none;
}

.fl-builder-content .mtg-contact__pack .fl-photo-content,
.fl-builder-content .mtg-contact__pack img {
	display: block;
	width: 100%;
	height: auto;
}

/* Ninja Forms "Contact Us" form */
.mtg-contact__form .nf-form-cont {
	color: #fff;
	font-family: var(--mtg-font-body);
}

/* The fields have no label text (only the required "*"), so the placeholders do the labelling */
.mtg-contact__form .nf-form-fields-required,
.mtg-contact__form .nf-field-label {
	display: none;
}

.mtg-contact__form .nf-form-content {
	max-width: none;
	padding: 0;
}

.mtg-contact__form nf-fields-wrap {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: 14px;
}

.mtg-contact__form nf-fields-wrap > nf-field {
	grid-column: 1 / -1;
}

.mtg-contact__form nf-fields-wrap > nf-field:has(> .mtg-nf-half) {
	grid-column: auto;
}

.mtg-contact__form .nf-field-container {
	margin: 0 0 28px;
}

.mtg-contact__form .nf-field-container.textarea-container {
	margin-top: 8px;
}

.mtg-contact__form .nf-form-content input.ninja-forms-field:not([type='submit']):not([type='button']),
.mtg-contact__form .nf-form-content textarea.ninja-forms-field {
	box-sizing: border-box;
	width: 100%;
	height: 41px;
	margin: 0;
	padding: 0 12px;
	background: #fff;
	border: 0;
	border-radius: 7px;
	box-shadow: none;
	color: var(--mtg-ink);
	font-family: var(--mtg-font-body);
	font-size: 18px;
	line-height: 1.3;
}

.mtg-contact__form .nf-form-content textarea.ninja-forms-field {
	display: block;
	height: 181px;
	padding: 18px 24px;
	resize: vertical;
}

.mtg-contact__form .nf-form-content .ninja-forms-field::placeholder {
	color: #809995;
	opacity: 1;
}

.mtg-contact__form .nf-form-content .ninja-forms-field:focus {
	outline: 2px solid #e6ca80;
	outline-offset: 2px;
}

/* Grid items don't collapse margins: this adds to the message field's 28px */
.mtg-contact__form .nf-form-content .submit-container {
	margin: 24px 0 0;
}

/* style.css floats Ninja Forms buttons right with an !important orange background */
.mtg-contact__form .nf-form-content input.ninja-forms-field[type='submit'],
.mtg-contact__form .nf-form-content input.ninja-forms-field[type='button'] {
	float: none;
	width: auto;
	min-width: 117px;
	height: 45px !important;
	padding: 0 22px;
	background: var(--mtg-gold) !important;
	border: 0;
	border-radius: 6px;
	color: var(--mtg-ink);
	font-family: var(--mtg-font-body);
	font-size: 18px;
	font-weight: 400;
	line-height: 45px;
	text-transform: uppercase;
	cursor: pointer;
}

.mtg-contact__form .nf-form-content input.ninja-forms-field[type='submit']:hover,
.mtg-contact__form .nf-form-content input.ninja-forms-field[type='submit']:focus-visible,
.mtg-contact__form .nf-form-content input.ninja-forms-field[type='button']:hover,
.mtg-contact__form .nf-form-content input.ninja-forms-field[type='button']:focus-visible {
	background: #fff !important;
	color: var(--mtg-ink);
	-webkit-text-stroke: 0.75px currentColor;
}

/* Errors and the thank-you message sit on teal, so they use light tints */
.mtg-contact__form .nf-error .ninja-forms-field {
	outline: 2px solid #ff9b8f;
	outline-offset: 0;
}

/* The Ninja Forms theme's square "!" badge; the outline already marks the field */
.mtg-contact__form .nf-form-content .nf-error .nf-field-element::after {
	display: none;
}

.mtg-contact__form .nf-error-msg,
.mtg-contact__form .nf-error-wrap .nf-error-required-error {
	margin-top: 6px;
	color: #ffc9c2;
	font-size: 15px;
}

.mtg-contact__form .nf-form-errors .nf-error-msg {
	margin: 16px 0 0;
}

.mtg-contact__form .nf-response-msg {
	color: #fff;
	font-size: 19px;
	line-height: 1.4;
}

.mtg-contact__form .nf-response-msg p {
	margin: 0;
}

@media (max-width: 992px) {
	.fl-builder-content .mtg-contact__pack {
		right: -18px;
		bottom: -70px;
		width: 120px;
	}

	/* The intro's line break only suits the desktop column width */
	.fl-builder-content .mtg-contact .fl-rich-text br {
		display: none;
	}
}

@media (max-width: 767px) {
	.mtg-contact__form nf-fields-wrap {
		display: block;
	}

	.mtg-contact__form .nf-field-container {
		margin-bottom: 18px;
	}

	.mtg-contact__form .nf-form-content textarea.ninja-forms-field {
		height: 160px;
		padding: 14px 12px;
	}

	.mtg-contact__form .nf-form-content .submit-container {
		margin-top: 12px;
	}

	.fl-builder-content .mtg-contact__pack {
		right: -10px;
		bottom: -52px;
		width: 84px;
	}
}

/* ------------------------------------------------------- Store Locator page */

/* Hero: teal with the gold mountain line work along the bottom (it runs under the gold bar) */
.fl-builder-content .mtg-locator-hero > .fl-row-content-wrap {
	background-color: var(--mtg-teal);
	background-position: center bottom 12px;
	background-size: 100% auto;
}

/* The search bar and results box ride up into the hero (row class "mtg-locator") */
.fl-builder-content .mtg-locator {
	position: relative;
	z-index: 3;
}

.fl-builder-content .mtg-locator .fl-col-content {
	position: relative;
}

.fl-builder-content .mtg-locator .fl-rich-text > :first-child {
	margin-top: 0;
}

.fl-builder-content .mtg-locator .fl-rich-text > :last-child {
	margin-bottom: 0;
}

.mtg-finder {
	color: var(--mtg-ink);
	font-family: var(--mtg-font-body);
}

.mtg-finder__form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 165px 154px;
	column-gap: 32px;
	margin: 0 0 51px;
}

.mtg-finder__q,
.mtg-finder__mile {
	box-sizing: border-box;
	width: 100%;
	height: 45px;
	margin: 0;
	padding: 0 20px;
	background-color: #fff;
	border: 0;
	border-radius: 6px;
	box-shadow: none;
	color: var(--mtg-ink);
	font-family: var(--mtg-font-body);
	font-size: 19px;
	line-height: 45px;
}

.mtg-finder__q::placeholder {
	color: #8c9796;
	opacity: 1;
}

.mtg-finder__mile {
	padding-right: 44px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='12' viewBox='0 0 22 12'%3E%3Cpath d='M1 1l10 10L21 1' fill='none' stroke='%238c9796' stroke-width='1.5'/%3E%3C/svg%3E");
	background-position: right 12px center;
	background-repeat: no-repeat;
	color: #8c9796;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
}

.mtg-finder__mile:has(option:checked:not([value=''])) {
	color: var(--mtg-ink);
}

.mtg-finder__q:focus-visible,
.mtg-finder__mile:focus-visible,
.mtg-finder__go:focus-visible {
	outline: 2px solid #e6ca80;
	outline-offset: 2px;
}

.mtg-finder__go {
	height: 45px;
	margin: 0;
	padding: 0 12px;
	background: var(--mtg-gold);
	border: 0;
	border-radius: 6px;
	color: var(--mtg-ink);
	font-family: var(--mtg-font-body);
	font-size: 19px;
	line-height: 45px;
	text-transform: uppercase;
	cursor: pointer;
}

.mtg-finder__go:hover,
.mtg-finder__go:focus-visible {
	background: #fff;
	-webkit-text-stroke: 0.75px currentColor;
}

/* Results box: list panel on the left, map on the right, gold frame */
.mtg-finder__box {
	display: flex;
	box-sizing: border-box;
	height: 728px;
	background: #f5f5f5;
	border: 5px solid #e6ca80;
	border-image: linear-gradient(180deg, #f6ebbd 0%, #f0dda3 20%, #e6ca80 50%, #cfaa59 70%, #a8791f 100%) 1;
}

.mtg-finder__panel {
	position: relative;
	z-index: 1;
	flex: 0 0 356px;
	box-sizing: border-box;
	padding: 33px 47px 0 37px;
	overflow-y: auto;
	background: #f2f8f8;
	box-shadow: 4px 0 12px rgba(0, 0, 0, 0.18);
}

.mtg-finder__map {
	flex: 1 1 auto;
	min-width: 0;
}

/* Spans the panel's full width so it centres like the comp; the rule below is the first divider */
.mtg-finder .mtg-finder__heading {
	margin: 0 -47px 0 -37px;
	padding: 0 47px 0 37px;
	color: var(--mtg-ink);
	font-family: var(--mtg-font-body);
	font-size: 19px;
	font-weight: 400;
	line-height: 1.2;
	text-align: center;
	text-transform: none;
	letter-spacing: 0;
}

.mtg-finder__heading::after {
	content: '';
	display: block;
	margin-top: 35px;
	border-top: 1px solid #b7c7c6;
}

.mtg-finder__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mtg-finder__list li.mtg-finder__store {
	margin: 0;
	padding: 49px 0;
	border-bottom: 1px solid #b7c7c6;
}

.mtg-finder__list li.mtg-finder__store:last-child {
	border-bottom: 0;
}

.mtg-finder .mtg-finder__distance {
	margin: 0;
	font-size: 15px;
	line-height: 1.2;
}

.mtg-finder .mtg-finder__name {
	margin: 14px 0 0;
	font-family: var(--mtg-font-heading);
	font-size: 28px;
	font-weight: 900;
	line-height: 1.15;
	text-transform: none;
	letter-spacing: 0;
}

.mtg-finder__show {
	display: inline;
	margin: 0;
	padding: 0;
	background: none;
	border: 0;
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
}

.mtg-finder__show:hover,
.mtg-finder__show:focus-visible,
.mtg-finder__store.is-active .mtg-finder__show {
	color: var(--mtg-teal);
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.mtg-finder .mtg-finder__address {
	margin: 8px 0 0;
	font-size: 18px;
	line-height: 1.3;
}

.mtg-finder .mtg-finder__directions,
.mtg-finder .mtg-finder__directions:visited {
	display: inline-block;
	margin-top: 30px;
	padding: 0 21px;
	background: var(--mtg-teal);
	border-radius: 6px;
	color: #fff;
	font-size: 18px;
	line-height: 45px;
	text-decoration: none;
	text-transform: uppercase;
}

.mtg-finder .mtg-finder__directions:hover,
.mtg-finder .mtg-finder__directions:focus-visible {
	background: var(--mtg-ink);
	color: #fff;
	text-decoration: none;
	-webkit-text-stroke: 0.75px currentColor;
}

.mtg-finder .mtg-finder__note {
	margin: 40px 0 0;
	font-size: 18px;
	line-height: 1.4;
}

.mtg-finder__info {
	color: var(--mtg-ink);
	font-family: var(--mtg-font-body);
	font-size: 15px;
	line-height: 1.4;
}

.mtg-finder__info a {
	color: var(--mtg-teal);
	font-weight: 700;
}

/* Pack hanging off the box's bottom-right corner */
.fl-builder-content .mtg-locator__pack {
	position: absolute;
	right: -53px;
	bottom: -111px;
	z-index: 2;
	width: 153px;
	margin: 0;
	pointer-events: none;
}

.fl-builder-content .mtg-locator__pack .fl-photo-content,
.fl-builder-content .mtg-locator__pack img {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 992px) {
	.mtg-finder__form {
		column-gap: 16px;
		grid-template-columns: minmax(0, 1fr) 150px 150px;
	}

	.mtg-finder__box {
		height: 600px;
	}

	.mtg-finder__panel {
		flex-basis: 300px;
		padding-right: 28px;
		padding-left: 28px;
	}

	.mtg-finder .mtg-finder__heading {
		margin: 0 -28px;
		padding: 0 28px;
	}

	.fl-builder-content .mtg-locator__pack {
		right: -18px;
		bottom: -80px;
		width: 110px;
	}
}

@media (max-width: 767px) {
	.mtg-finder__form {
		grid-template-columns: minmax(0, 1fr) auto;
		gap: 12px;
		margin-bottom: 32px;
	}

	.mtg-finder__q {
		grid-column: 1 / -1;
	}

	.mtg-finder__box {
		flex-direction: column;
		height: auto;
	}

	.mtg-finder__map {
		order: -1;
		height: 300px;
	}

	.mtg-finder__panel {
		flex-basis: auto;
		max-height: 460px;
		padding: 28px 22px 0;
		box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.12);
	}

	.mtg-finder .mtg-finder__heading {
		margin: 0 -22px;
		padding: 0 22px;
	}

	.mtg-finder__list li.mtg-finder__store {
		padding: 28px 0;
	}

	.fl-builder-content .mtg-locator__pack {
		display: none;
	}
}

/* -------------------------------------------- Store Locator, logged out */

/* templates/store-locator-guest.php: the locator with no Montego branding, after LD's
   logged-out page. Teal ground, the title, a white card holding the search and results, and
   plain footer links; no gold frame or line art. */
.mtg-ub {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background: linear-gradient(135deg, var(--mtg-teal) 0%, var(--mtg-teal) 55%, var(--mtg-ink) 100%);
	color: #fff;
	font-family: var(--mtg-font-body);
}

.mtg-ub__main {
	flex: 1 0 auto;
	box-sizing: border-box;
	width: min(1070px, calc(100% - 32px));
	margin: 0 auto;
	padding-top: 96px;
}

.mtg-ub .mtg-ub__title {
	margin: 0 0 40px;
	color: #fff;
	font-family: var(--mtg-font-heading);
	font-size: 54px;
	font-weight: 900;
	line-height: 1.1;
	letter-spacing: 0;
	text-transform: uppercase;
}

.mtg-ub__card {
	padding: 40px 64px 56px;
	background: #fff;
	border-radius: 16px;
	color: var(--mtg-ink);
}

.mtg-ub .mtg-ub__intro {
	margin: 0 0 24px;
	color: var(--mtg-ink);
	font-size: 18px;
	line-height: 1.4;
	text-align: center;
}

.mtg-ub .mtg-finder__form {
	margin-bottom: 32px;
}

.mtg-ub .mtg-finder__q,
.mtg-ub .mtg-finder__mile {
	background-color: var(--mtg-mint);
	border: 1px solid #cfdcdb;
}

.mtg-ub .mtg-finder__go {
	background: var(--mtg-teal);
	color: #fff;
}

.mtg-ub .mtg-finder__go:hover,
.mtg-ub .mtg-finder__go:focus-visible {
	background: var(--mtg-ink);
	color: #fff;
}

.mtg-ub .mtg-finder__q:focus-visible,
.mtg-ub .mtg-finder__mile:focus-visible,
.mtg-ub .mtg-finder__go:focus-visible {
	outline-color: var(--mtg-teal);
}

.mtg-ub .mtg-finder__box {
	height: 600px;
	border: 1px solid #cfdcdb;
	border-image: none;
}

.mtg-ub__footer {
	padding: 72px 16px 48px;
	text-align: center;
}

.mtg-ub ul.mtg-ub__links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 32px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.mtg-ub ul.mtg-ub__links li {
	margin: 0;
}

.mtg-ub__links a,
.mtg-ub__links a:visited {
	color: #fff;
	font-size: 15px;
	line-height: 19px;
	text-decoration: none;
	text-transform: uppercase;
}

.mtg-ub__links a:hover,
.mtg-ub__links a:focus-visible {
	color: #fff;
	text-decoration: underline;
	text-underline-offset: 5px;
}

.mtg-ub .mtg-ub__copy {
	margin: 18px 0 0;
	color: #fff;
	font-size: 13px;
	line-height: 1.4;
}

/* The fixed warning sits bottom right; below 1200px the footer keeps clear of it */
@media (max-width: 1199px) {
	.mtg-ub__footer {
		padding-bottom: 150px;
	}
}

@media (max-width: 767px) {
	.mtg-ub__main {
		padding-top: 48px;
	}

	.mtg-ub .mtg-ub__title {
		margin-bottom: 24px;
		font-size: 36px;
	}

	.mtg-ub__card {
		padding: 24px 16px 32px;
		border-radius: 12px;
	}

	.mtg-ub .mtg-ub__intro {
		font-size: 16px;
	}

	.mtg-ub .mtg-finder__box {
		height: auto;
	}

	.mtg-ub ul.mtg-ub__links {
		flex-direction: column;
		gap: 16px;
	}

	.mtg-ub__footer {
		padding-top: 48px;
		padding-bottom: 170px;
	}
}

/* ------------------------------------------------------- FAQ page */

/* Hero: teal with the gold mountain line work anchored bottom right */
.fl-builder-content .mtg-faq-hero > .fl-row-content-wrap {
	background-color: var(--mtg-teal);
	background-position: right bottom;
	background-size: 64.55% auto;
}

/* The packs overhang the gold bar into the questions section */
.fl-builder-content .mtg-faq-packs img {
	display: block;
	width: 100%;
	height: auto;
}

.fl-builder-content .mtg-faq .fl-rich-text > :first-child {
	margin-top: 0;
}

/* Questions: Accordion module (class "mtg-faq-list"), gold rule between items, thin plus/minus */
.fl-builder-content .mtg-faq-list .fl-accordion-item {
	margin: 0;
	background: none;
	border: 0;
	border-bottom: 4px solid #d4ab5f;
	border-image: linear-gradient(90deg, #be842b 0%, #e3c581 25%, #fcf2bc 45%, #e3c581 55%, #c08830 70%, #bf872f 75%, #cda050 85%, #fff7c3 100%) 1;
	border-radius: 0;
}

.fl-builder-content .mtg-faq-list .fl-accordion-item:last-child {
	border-bottom-width: 0;
}

.fl-builder-content .mtg-faq-list .fl-accordion-button {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	min-height: 113px;
	padding: 16px 0;
	background: none;
	border: 0;
	cursor: pointer;
}

/* The Customizer forces Lato labels, Wave-green hover/open colours and 16px answers with !important */
.fl-builder-content .mtg-faq-list .fl-accordion-button-label {
	flex: 1 1 auto;
	padding: 0 24px 0 0;
	color: var(--mtg-ink);
	font-family: var(--mtg-font-heading) !important;
	text-decoration: none;
}

.fl-builder-content .mtg-faq-list .fl-accordion-button:hover .fl-accordion-button-label,
.fl-builder-content .mtg-faq-list .fl-accordion-button:focus-within .fl-accordion-button-label,
.fl-builder-content .mtg-faq-list .fl-accordion-item-active .fl-accordion-button-label,
.fl-builder-content .mtg-faq-list .fl-accordion-item-active .fl-accordion-button,
.fl-builder-content .mtg-faq-list .fl-accordion-button:hover .fl-accordion-button-icon {
	color: var(--mtg-teal) !important;
}

.fl-builder-content .mtg-faq-list .fl-accordion-content p,
.fl-builder-content .mtg-faq-list .fl-accordion-content a {
	font-size: 18px !important;
}

/* Links in answers read as links, like the legal pages */
.fl-builder-content .mtg-faq-list .fl-accordion-content a,
.fl-builder-content .mtg-faq-list .fl-accordion-content a:visited {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.fl-builder-content .mtg-faq-list .fl-accordion-content a:hover,
.fl-builder-content .mtg-faq-list .fl-accordion-content a:focus-visible {
	color: var(--mtg-teal);
}

/* Answers with steps; style.css strips list markers and padding */
.fl-builder-content .mtg-faq-list .fl-accordion-content ul,
.fl-builder-content .mtg-faq-list .fl-accordion-content ol {
	padding-left: 30px;
}

.fl-builder-content .mtg-faq-list .fl-accordion-content ul {
	list-style: disc;
}

.fl-builder-content .mtg-faq-list .fl-accordion-content ol {
	list-style: decimal;
}

.fl-builder-content .mtg-faq-list .fl-accordion-content li {
	margin: 0;
	list-style: inherit;
	font-size: 18px;
}

/* "YOUR QUESTIONS," is a hair wider than its column in the stand-in face; the line break is in
   the heading, and the packs' top-left corner is clear */
@media (min-width: 993px) {
	.fl-builder-content .mtg-faq-hero h1 {
		white-space: nowrap;
	}
}

.fl-builder-content .mtg-faq-list a.fl-accordion-button-icon {
	position: relative;
	top: -4px;
	flex: 0 0 33px;
	width: 33px;
	height: 33px;
	margin: 0 3px 0 0;
	color: var(--mtg-ink);
	opacity: 1;
}

.fl-builder-content .mtg-faq-list i.fl-accordion-button-icon {
	position: absolute;
	inset: 0;
	opacity: 0;
}

.fl-builder-content .mtg-faq-list a.fl-accordion-button-icon::before,
.fl-builder-content .mtg-faq-list a.fl-accordion-button-icon::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 3px;
	margin-top: -1.5px;
	background: currentColor;
	transition: transform 0.2s ease;
}

.fl-builder-content .mtg-faq-list a.fl-accordion-button-icon::after {
	transform: rotate(90deg);
}

.fl-builder-content .mtg-faq-list .fl-accordion-item-active a.fl-accordion-button-icon::after {
	transform: rotate(0deg);
}

/* The item clips overflow, so the focus ring stays within the 3px beside the icon */
.fl-builder-content .mtg-faq-list a.fl-accordion-button-icon:focus-visible {
	outline: 2px solid var(--mtg-teal);
	outline-offset: 1px;
}

.fl-builder-content .mtg-faq-list .fl-accordion-content {
	padding: 0 60px 34px 0;
	color: var(--mtg-ink);
}

.fl-builder-content .mtg-faq-list .fl-accordion-content p {
	margin: 0 0 12px;
}

.fl-builder-content .mtg-faq-list .fl-accordion-content > :last-child {
	margin-bottom: 0;
}

@media (max-width: 992px) {
	.fl-builder-content .mtg-faq-hero > .fl-row-content-wrap {
		background-size: 80% auto;
	}
}

@media (max-width: 767px) {
	.fl-builder-content .mtg-faq-hero > .fl-row-content-wrap {
		background-size: 100% auto;
	}

	.fl-builder-content .mtg-faq-packs {
		width: 300px;
		max-width: 100%;
		margin-right: auto;
		margin-left: auto;
	}

	.fl-builder-content .mtg-faq-list .fl-accordion-button {
		min-height: 80px;
	}

	.fl-builder-content .mtg-faq-list a.fl-accordion-button-icon {
		flex-basis: 24px;
		width: 24px;
		height: 24px;
	}

	.fl-builder-content .mtg-faq-list .fl-accordion-content {
		padding-right: 0;
	}
}

/* ------------------------------------------------------- Terms of Use page */

/* Hero: teal with the faint mountain line work (semi-transparent PNG) running under the gold bar.
   The privacy pages use the same hero as "mtg-legal-hero". */
.fl-builder-content .mtg-terms-hero > .fl-row-content-wrap,
.fl-builder-content .mtg-legal-hero > .fl-row-content-wrap {
	background-color: var(--mtg-teal);
	background-position: center bottom 15px;
	background-size: 100% auto;
}

/* Legal text (Text Editor module, class "mtg-legal"): one blank line between every block, as in
   the comp; style.css styles bare headings and list items, so those are reset here */
.fl-builder-content .mtg-legal {
	color: #222;
	font-family: var(--mtg-font-body);
	font-size: 19px;
	line-height: 1.2;
}

.fl-builder-content .mtg-legal p,
.fl-builder-content .mtg-legal h2,
.fl-builder-content .mtg-legal h3,
.fl-builder-content .mtg-legal ul {
	margin: 0 0 1.2em;
	padding: 0;
}

.fl-builder-content .mtg-legal h2,
.fl-builder-content .mtg-legal h3 {
	color: #222;
	font-family: var(--mtg-font-body);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
}

.fl-builder-content .mtg-legal ul {
	list-style: none;
}

.fl-builder-content .mtg-legal ul li {
	margin: 0 0 1.2em;
	padding: 0;
}

.fl-builder-content .mtg-legal ul li:last-child {
	margin-bottom: 0;
}

.fl-builder-content .mtg-legal a,
.fl-builder-content .mtg-legal a:visited {
	color: inherit;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.fl-builder-content .mtg-legal a:hover,
.fl-builder-content .mtg-legal a:focus-visible {
	color: var(--mtg-teal);
}

.fl-builder-content .mtg-legal .fl-rich-text > :last-child {
	margin-bottom: 0;
}

@media (max-width: 767px) {
	.fl-builder-content .mtg-legal,
	.fl-builder-content .mtg-legal h2,
	.fl-builder-content .mtg-legal h3 {
		font-size: 17px;
	}

	/* Long e-mail addresses and URLs must not push the page wider than the screen */
	.fl-builder-content .mtg-legal {
		overflow-wrap: anywhere;
	}
}

/* ------------------------------------------- Privacy Policy + California Privacy Notice */

/* Same hero and .mtg-legal text as Terms; these two also have bulleted lists ("mtg-legal--bullets"),
   italic sub-sections (h4), underlined section titles on the CCPA page ("mtg-legal--underlined")
   and the CCPA disclosure table */
.fl-builder-content .mtg-legal h3,
.fl-builder-content .mtg-legal h4 {
	scroll-margin-top: 24px;
}

.fl-builder-content .mtg-legal h4 {
	margin: 0 0 1.2em;
	padding: 0;
	color: #222;
	font-family: var(--mtg-font-body);
	font-size: 19px;
	font-style: italic;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
}

.fl-builder-content .mtg-legal--underlined h3 {
	font-weight: 400;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.fl-builder-content .mtg-legal--bullets ul {
	padding-left: 30px;
	list-style: disc;
}

.fl-builder-content .mtg-legal--bullets ul li {
	margin: 0;
}

.fl-builder-content .mtg-legal--bullets ul ul {
	margin: 0;
	padding-left: 27px;
}

/* The jump links read as a plain list in the comp */
.fl-builder-content .mtg-legal .mtg-legal__toc a,
.fl-builder-content .mtg-legal .mtg-legal__toc a:visited {
	text-decoration: none;
}

.fl-builder-content .mtg-legal .mtg-legal__toc a:hover,
.fl-builder-content .mtg-legal .mtg-legal__toc a:focus-visible {
	text-decoration: underline;
}

.fl-builder-content .mtg-legal table {
	width: 100%;
	margin: 52px 0;
	border: 4px solid var(--mtg-ink);
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
	table-layout: fixed;
}

.fl-builder-content .mtg-legal th {
	width: 39.5%;
	padding: 34px 40px 36px 52px;
	background: var(--mtg-ink);
	color: #fff;
	font-family: var(--mtg-font-heading);
	font-size: 28px;
	font-weight: 900;
	line-height: 32px;
	letter-spacing: 0.03em;
	text-align: left;
	vertical-align: top;
}

.fl-builder-content .mtg-legal th + th {
	width: auto;
	padding-left: 47px;
	border-left: 4px solid #fff;
}

/* style.css centres and stripes every table cell */
.fl-builder-content .mtg-legal td,
.fl-builder-content .mtg-legal tr:nth-child(2n+1) td {
	padding: 32px 40px 31px 50px;
	border-top: 4px solid var(--mtg-ink);
	background: #fff;
	text-align: left;
	vertical-align: middle;
}

/* The comp wraps the category names short of the column width */
.fl-builder-content .mtg-legal td:first-child,
.fl-builder-content .mtg-legal tr:nth-child(2n+1) td:first-child {
	padding-right: 120px;
	font-weight: 700;
}

.fl-builder-content .mtg-legal td + td {
	border-left: 4px solid var(--mtg-ink);
}

.fl-builder-content .mtg-legal--bullets td ul {
	margin: 0;
	padding-left: 18px;
}

@media (max-width: 767px) {
	.fl-builder-content .mtg-legal h4 {
		font-size: 17px;
	}

	.fl-builder-content .mtg-legal table {
		margin: 32px 0;
		border-width: 3px;
	}

	.fl-builder-content .mtg-legal th,
	.fl-builder-content .mtg-legal th + th {
		padding: 16px 12px;
		font-size: 17px;
		line-height: 1.2;
	}

	.fl-builder-content .mtg-legal th {
		width: 38%;
	}

	.fl-builder-content .mtg-legal td,
	.fl-builder-content .mtg-legal tr:nth-child(2n+1) td,
	.fl-builder-content .mtg-legal td:first-child,
	.fl-builder-content .mtg-legal tr:nth-child(2n+1) td:first-child {
		padding: 16px 12px;
		border-top-width: 3px;
		font-size: 15px;
		overflow-wrap: normal;
	}

	.fl-builder-content .mtg-legal td + td,
	.fl-builder-content .mtg-legal th + th {
		border-left-width: 3px;
	}

	.fl-builder-content .mtg-legal--bullets td ul {
		padding-left: 16px;
	}
}
