/* Give Me Freebies: site styling on top of the Kadence theme.
   Purple and yellow from the logo. Yellow only ever sits behind dark text. */

:root {
	--gmf-ink: #1d1145;
	--gmf-text: #2f2747;
	--gmf-muted: #5f5680;
	--gmf-line: #e3dbf4;
	--gmf-tint: #f4efff;
	--gmf-tint-strong: #e6dcff;
	--gmf-purple: #6d28d9;
	--gmf-purple-dark: #4c1d95;
	--gmf-purple-deep: #33107a;
	--gmf-yellow: #ffcc1f;
	--gmf-yellow-dark: #f5b400;
	--gmf-red: #b3261e;
	--gmf-radius: 16px;
	--gmf-shadow: 0 2px 4px rgba(45, 20, 110, 0.06), 0 10px 24px rgba(45, 20, 110, 0.09);
	--gmf-heading-font: var(--global-heading-font-family, sans-serif);
}

.gmf-icon { flex: none; width: 1.25em; height: 1.25em; }

/* Sections that span the full page width center their content like Kadence does. */
.gmf-wrap {
	box-sizing: border-box;
	max-width: var(--global-content-width, 1240px);
	margin: 0 auto;
	padding: 0 var(--global-content-edge-padding, 1.5rem);
}

/* ---------------------------------------------------------------- Buttons */

.gmf-btn,
.gmf-btn:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5em;
	padding: 0.7em 1.4em;
	border: 2px solid transparent;
	border-radius: 999px;
	font-family: var(--gmf-heading-font);
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, transform 0.15s;
}
.gmf-btn:hover { transform: translateY(-1px); }
.gmf-btn-yellow,
.gmf-btn-yellow:visited {
	background: var(--gmf-yellow);
	color: var(--gmf-ink);
	box-shadow: 0 2px 0 var(--gmf-yellow-dark);
}
.gmf-btn-yellow:hover,
.gmf-btn-yellow:focus { background: var(--gmf-yellow-dark); color: var(--gmf-ink); }
.gmf-btn-purple,
.gmf-btn-purple:visited {
	background: var(--gmf-purple);
	color: #ffffff;
	box-shadow: 0 6px 16px rgba(109, 40, 217, 0.3);
}
.gmf-btn-purple:hover,
.gmf-btn-purple:focus { background: var(--gmf-purple-dark); color: #ffffff; }
.gmf-btn-outline,
.gmf-btn-outline:visited {
	border-color: var(--gmf-purple);
	background: #ffffff;
	color: var(--gmf-purple-dark);
}
.gmf-btn-outline:hover,
.gmf-btn-outline:focus { background: var(--gmf-purple); color: #ffffff; }

.gmf-more,
.gmf-more:visited {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font-family: var(--gmf-heading-font);
	font-size: 0.9375rem;
	font-weight: 700;
	color: var(--gmf-purple);
	text-decoration: none;
	white-space: nowrap;
}
.gmf-more:hover,
.gmf-more:focus { color: var(--gmf-purple-dark); text-decoration: underline; }

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

#masthead,
#masthead .site-main-header-wrap .site-header-row-container-inner {
	background: var(--gmf-purple-dark);
	background: linear-gradient(90deg, #33107a 0%, #5521b5 50%, #33107a 100%);
}
#masthead .site-branding a.brand img { display: block; }

#masthead .main-navigation .primary-menu-container > ul > li.menu-item > a {
	padding: 0.5em 0.95em;
	border-radius: 999px;
	color: #ffffff;
	font-family: var(--gmf-heading-font);
	font-size: 0.9375rem;
	font-weight: 600;
}
#masthead .main-navigation .primary-menu-container > ul > li.menu-item > a:hover,
#masthead .main-navigation .primary-menu-container > ul > li.menu-item > a:focus {
	background: rgba(255, 255, 255, 0.14);
	color: #ffffff;
}
#masthead .main-navigation .primary-menu-container > ul > li.menu-item.current-menu-item > a,
#masthead .main-navigation .primary-menu-container > ul > li.menu-item.current-menu-ancestor > a {
	background: var(--gmf-yellow);
	color: var(--gmf-ink);
}
#masthead .main-navigation .primary-menu-container > ul { flex-wrap: nowrap; gap: 0.15rem; }
#masthead .main-navigation .primary-menu-container > ul > li.menu-item > a { white-space: nowrap; }
#masthead .site-header-section-left { gap: 0.5rem; }
#masthead .site-header-section-right { gap: 0.25rem; }
/* Narrow desktop windows: tighten the bar so the menu stays on one line. */
@media (max-width: 1300px) {
	#masthead .site-branding a.brand img { max-width: 184px; }
	#masthead .main-navigation .primary-menu-container > ul > li.menu-item > a { padding: 0.5em 0.65em; font-size: 0.875rem; }
	#masthead .header-button { padding: 0.6em 1.1em; font-size: 0.875rem; }
}
@media (max-width: 1140px) {
	#masthead .main-navigation .primary-menu-container > ul > li.menu-item-home { display: none; }
}
#masthead .main-navigation ul ul.sub-menu {
	padding: 0.4rem;
	border-radius: 12px;
	background: var(--gmf-ink);
}
#masthead .main-navigation ul ul.sub-menu li.menu-item > a {
	border: 0;
	border-radius: 8px;
	color: #ffffff;
	font-family: var(--gmf-heading-font);
	font-size: 0.875rem;
	font-weight: 500;
}
#masthead .main-navigation ul ul.sub-menu li.menu-item > a:hover,
#masthead .main-navigation ul ul.sub-menu li.menu-item.current-menu-item > a {
	background: rgba(255, 255, 255, 0.12);
	color: var(--gmf-yellow);
}

#masthead .header-button,
#masthead .header-button:visited {
	padding: 0.6em 1.3em;
	border-radius: 999px;
	background: var(--gmf-yellow);
	color: var(--gmf-ink);
	font-family: var(--gmf-heading-font);
	font-size: 0.9375rem;
	font-weight: 700;
	white-space: nowrap;
	box-shadow: 0 2px 0 var(--gmf-yellow-dark);
}
#masthead .header-button:hover,
#masthead .header-button:focus { background: #ffffff; color: var(--gmf-ink); }

#masthead .search-toggle-open-container .search-toggle-open,
#masthead .menu-toggle-open,
#masthead .menu-toggle-open:hover,
#masthead .search-toggle-open-container .search-toggle-open:hover { color: #ffffff; }

#masthead .header-html-inner { line-height: 1; }
.gmf-search {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	width: 220px;
	max-width: 100%;
	padding: 0 1rem;
	border-radius: 999px;
	background: #ffffff;
	color: var(--gmf-muted);
}
.gmf-search:focus-within { box-shadow: 0 0 0 3px var(--gmf-yellow); }
.gmf-search input[type="search"] {
	flex: 1;
	min-width: 0;
	height: 42px;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--gmf-ink);
	font-size: 0.875rem;
}
.gmf-search input[type="search"]:focus { outline: 0; box-shadow: none; }
.gmf-search input[type="search"]::placeholder { color: var(--gmf-muted); opacity: 1; }
@media (max-width: 1300px) {
	.gmf-search { width: 180px; }
}

#mobile-drawer .drawer-inner,
#search-drawer .drawer-inner { background: var(--gmf-ink); }
#mobile-drawer .mobile-navigation ul li { font-family: var(--gmf-heading-font); font-size: 1rem; font-weight: 600; }
#mobile-drawer .mobile-navigation ul li.current-menu-item > a { color: var(--gmf-yellow); }

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

.gmf-hero {
	overflow: hidden;
	background:
		radial-gradient(60% 120% at 82% 40%, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0) 60%),
		linear-gradient(100deg, #f7f3ff 0%, #e9dfff 50%, #d6c5ff 100%);
}
.gmf-hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	align-items: center;
	gap: 2rem;
	min-height: 320px;
}
.gmf-hero-copy { padding: 2.75rem 0; }
.gmf-hero h1 {
	margin: 0 0 1rem;
	color: var(--gmf-ink);
	font-size: clamp(2rem, 4.4vw, 3.25rem);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.02em;
}
/* Yellow brush stroke under the last word of the headline. */
.gmf-swoosh {
	display: inline-block;
	padding-bottom: 0.12em;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'%3E%3Cpath d='M4 11C70 3 180 2 296 8' fill='none' stroke='%23ffcc1f' stroke-width='7' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left bottom / 100% 0.26em;
}
.gmf-hero-copy p {
	max-width: 30em;
	margin: 0 0 1.5rem;
	color: var(--gmf-text);
	font-size: clamp(1.0625rem, 1.6vw, 1.25rem);
	line-height: 1.45;
}
.gmf-hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.gmf-hero-actions .gmf-btn { padding: 0.85em 1.6em; font-size: 1rem; }
.gmf-hero-art { align-self: end; }
.gmf-hero-art img {
	display: block;
	width: 100%;
	max-width: 580px;
	height: auto;
	margin: 1.25rem auto 0;
	filter: drop-shadow(0 14px 22px rgba(60, 20, 140, 0.22));
}

.gmf-points { border-bottom: 1px solid var(--gmf-line); background: var(--gmf-tint); }
.gmf-points ul {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	margin: 0 auto;
	padding-top: 1rem;
	padding-bottom: 1rem;
}
.gmf-points li {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.85rem;
	padding: 0.25rem 1rem;
	color: var(--gmf-text);
	font-size: 0.8125rem;
	line-height: 1.35;
}
.gmf-points li + li { border-left: 1px solid #cfc2ee; }
.gmf-points .gmf-icon { width: 2rem; height: 2rem; color: var(--gmf-purple); stroke-width: 1.75; }
.gmf-points strong {
	display: block;
	color: var(--gmf-ink);
	font-family: var(--gmf-heading-font);
	font-size: 0.9375rem;
	font-weight: 700;
}

/* ------------------------------------------------------- Top freebies row */

.gmf-top { padding: 2.75rem 0 0; }

/* ---------------------------------------------------------- Email sign-up */

.gmf-signup { padding: 2.5rem 0 0; }
.gmf-signup-panel {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: 1.5rem 2.5rem;
	padding: 1.75rem 2.25rem;
	border-radius: 20px;
	background: linear-gradient(110deg, #33107a 0%, #6d28d9 100%);
	color: #ffffff;
	box-shadow: var(--gmf-shadow);
}
.gmf-signup-copy { display: flex; align-items: center; gap: 1.1rem; }
.gmf-signup-icon {
	display: grid;
	flex: none;
	place-items: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	background: var(--gmf-yellow);
	color: var(--gmf-ink);
}
.gmf-signup-icon .gmf-icon { width: 1.75rem; height: 1.75rem; }
.gmf-signup-bee { flex: none; width: 6.25rem; height: 6.25rem; margin: -0.75rem 0; filter: drop-shadow(0 6px 10px rgba(20, 5, 60, 0.35)); }
@media (max-width: 520px) {
	.gmf-signup-bee { width: 4.5rem; height: 4.5rem; margin: 0; }
}
.gmf-signup h2 { margin: 0 0 0.25rem; color: #ffffff; font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.gmf-signup-copy p { margin: 0; color: #e7dcff; font-size: 0.9375rem; line-height: 1.45; }
.gmf-signup-form { margin: 0; }
.gmf-signup-row { display: flex; gap: 0.6rem; }
.gmf-signup-row input[type="email"] {
	flex: 1;
	min-width: 0;
	height: 52px;
	padding: 0 1.25rem;
	border: 2px solid transparent;
	border-radius: 999px;
	background: #ffffff;
	color: var(--gmf-ink);
	font-size: 1rem;
}
.gmf-signup-row input[type="email"]:focus { border-color: var(--gmf-yellow); outline: 0; box-shadow: none; }
.gmf-signup-row .gmf-btn { height: 52px; padding: 0 1.75rem; font-size: 1rem; }
.gmf-signup-row .gmf-btn:disabled { opacity: 0.7; cursor: wait; transform: none; }
.gmf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.gmf-signup-status { min-height: 1.4em; margin: 0.5rem 0 0 1.25rem; font-size: 0.875rem; font-weight: 600; color: #ffffff; }
.gmf-signup-status:empty { display: none; }
.gmf-signup-status.is-error { color: #ffe08a; }
.gmf-signup-follow { display: flex; align-items: center; gap: 0.5rem; margin: 0.75rem 0 0 1.25rem; color: #e7dcff; font-size: 0.875rem; }
.gmf-signup-follow .gmf-icon { width: 1.1rem; height: 1.1rem; color: var(--gmf-yellow); }
.gmf-signup-follow a,
.gmf-signup-follow a:visited { color: #ffffff; font-weight: 700; text-decoration: underline; }
.gmf-signup-follow a:hover { color: var(--gmf-yellow); }
/* Above the footer on inner pages. */
.site-footer ~ .gmf-signup,
#inner-wrap + .gmf-signup { padding: 0 0 3rem; }

/* --------------------------------------------------------- Section heads */

.gmf-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	margin: 0 0 1.5rem;
	scroll-margin-top: 1.5rem;
}
.gmf-section-head h2 {
	margin: 0;
	color: var(--gmf-ink);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.15;
}
.gmf-section-head p { margin: 0.25rem 0 0; color: var(--gmf-muted); font-size: 0.9375rem; }

.gmf-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.gmf-pills a,
.gmf-pills a:visited {
	padding: 0.45em 1.1em;
	border: 1.5px solid var(--gmf-line);
	border-radius: 999px;
	background: #ffffff;
	color: var(--gmf-ink);
	font-family: var(--gmf-heading-font);
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}
.gmf-pills a:hover,
.gmf-pills a:focus { border-color: var(--gmf-purple); color: var(--gmf-purple); }
.gmf-pills a.is-current,
.gmf-pills a.is-current:hover { border-color: var(--gmf-purple); background: var(--gmf-purple); color: #ffffff; }

.home .content-area { margin-top: 3rem; }

/* ------------------------------------------- Sweepstakes and instant win */

.gmf-win { padding: 3rem 0 0; }
.gmf-win-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.gmf-win-panel {
	overflow: hidden;
	border: 1px solid var(--gmf-line);
	border-radius: var(--gmf-radius);
	background: #ffffff;
	box-shadow: var(--gmf-shadow);
}
.gmf-win-head {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	padding: 1rem 1.25rem;
	background: linear-gradient(110deg, #33107a 0%, #5b21b6 100%);
	color: #ffffff;
}
.gmf-win-head .gmf-icon { width: 1.75rem; height: 1.75rem; color: var(--gmf-yellow); }
.gmf-win-head h3 { margin: 0; color: #ffffff; font-size: 1.1875rem; font-weight: 700; line-height: 1.2; }
.gmf-win-head p { margin: 0.1rem 0 0; color: #e0d4fb; font-size: 0.8125rem; }
.gmf-win-panel ul { list-style: none; margin: 0; padding: 0; }
.gmf-win-panel li + li { border-top: 1px solid var(--gmf-line); }
.gmf-win-panel li a {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	padding: 0.8rem 1.25rem;
	color: var(--gmf-text);
	text-decoration: none;
}
.gmf-win-panel li a:hover,
.gmf-win-panel li a:focus { background: var(--gmf-tint); }
.gmf-win-thumb {
	flex: none;
	overflow: hidden;
	width: 64px;
	height: 64px;
	border-radius: 12px;
	background: var(--gmf-tint-strong);
}
.gmf-win-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gmf-win-text { display: flex; flex: 1; flex-direction: column; gap: 0.15rem; min-width: 0; }
.gmf-win-text strong {
	color: var(--gmf-ink);
	font-family: var(--gmf-heading-font);
	font-size: 0.9688rem;
	font-weight: 600;
	line-height: 1.3;
}
.gmf-win-panel li a:hover strong { color: var(--gmf-purple); }
.gmf-win-prize { color: var(--gmf-muted); font-size: 0.8438rem; line-height: 1.35; }
.gmf-win-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.75rem; margin-top: 0.15rem; }
.gmf-win-empty { margin: 0; padding: 1.25rem; color: var(--gmf-muted); }

.gmf-chip {
	padding: 0.15em 0.7em;
	border-radius: 999px;
	background: var(--gmf-yellow);
	color: var(--gmf-ink);
	font-size: 0.75rem;
	font-weight: 700;
	white-space: nowrap;
}
.gmf-ends { color: var(--gmf-muted); font-size: 0.8125rem; font-weight: 600; white-space: nowrap; }
.gmf-ends.is-soon { color: var(--gmf-red); }

/* ------------------------------------------------------------ Offer cards */

ul.gmf-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.gmf-grid-item { display: flex; min-width: 0; margin: 0; }
.gmf-card {
	position: relative;
	display: flex;
	flex: 1;
	flex-direction: column;
	overflow: hidden;
	min-width: 0;
	border: 1px solid var(--gmf-line);
	border-radius: var(--gmf-radius);
	background: #ffffff;
	box-shadow: var(--gmf-shadow);
	transition: transform 0.15s, box-shadow 0.15s;
}
.gmf-card:hover { transform: translateY(-3px); box-shadow: 0 4px 8px rgba(45, 20, 110, 0.08), 0 16px 32px rgba(45, 20, 110, 0.14); }
.gmf-card-media { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--gmf-tint-strong); }
.gmf-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gmf-noimage {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #f1eaff 0%, #d9c9ff 100%);
}
/* The round bee badge, sized to the height of whatever box it stands in for. */
.gmf-card-media .gmf-noimage img,
.gmf-guide-thumb .gmf-noimage img,
.gmf-win-thumb .gmf-noimage img { width: auto; height: 80%; object-fit: contain; }
.gmf-win-thumb .gmf-noimage img { height: 100%; }
.gmf-badge {
	position: absolute;
	top: 0.75rem;
	left: 0.6rem;
	padding: 0.3em 0.9em;
	border: 2px solid #ffffff;
	border-radius: 999px;
	background: var(--gmf-purple);
	color: #ffffff;
	font-family: var(--gmf-heading-font);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.2;
	text-transform: uppercase;
	transform: rotate(-3deg);
	box-shadow: 0 2px 6px rgba(29, 17, 69, 0.25);
}
.gmf-type-sweepstakes .gmf-badge,
.gmf-type-instant-win-games .gmf-badge { background: var(--gmf-yellow); color: var(--gmf-ink); }
.gmf-type-amazon-deals .gmf-badge,
.gmf-type-guides .gmf-badge { background: var(--gmf-ink); }
.gmf-type-expired .gmf-badge { background: #6b6b6b; }
.gmf-type-expired .gmf-card-media img { filter: grayscale(1); opacity: 0.75; }

.gmf-card-body { display: flex; flex: 1; flex-direction: column; padding: 1rem 1.1rem 1.1rem; }
.gmf-card-title { margin: 0 0 0.4rem; font-size: 1.125rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.gmf-card-title a,
.gmf-card-title a:visited { color: var(--gmf-ink); text-decoration: none; }
.gmf-card-title a:hover,
.gmf-card-title a:focus { color: var(--gmf-purple); }
.gmf-card-text {
	display: -webkit-box;
	overflow: hidden;
	margin: 0 0 1rem;
	color: var(--gmf-muted);
	font-size: 0.9063rem;
	line-height: 1.45;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
}
.gmf-card-foot {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.6rem;
	margin-top: auto;
}
.gmf-card-foot .gmf-btn { padding: 0.6em 1.2em; font-size: 0.875rem; }

.navigation.pagination { margin-top: 2.5rem; }

/* ------------------------------------------------------- From the Blog */

.gmf-guides {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
	align-items: center;
	gap: 1.5rem;
	margin-top: 3.5rem;
	padding: 1.25rem 1.5rem;
	border-radius: 20px;
	background: var(--gmf-tint);
}
.gmf-guides-head { display: flex; align-items: flex-start; gap: 0.9rem; }
.gmf-guides-head > .gmf-icon { width: 2.5rem; height: 2.5rem; color: var(--gmf-purple); }
.gmf-guides-head h2 { margin: 0; color: var(--gmf-ink); font-size: 1.5rem; font-weight: 800; line-height: 1.15; }
.gmf-guides-head p { margin: 0.25rem 0 0.4rem; color: var(--gmf-muted); font-size: 0.875rem; line-height: 1.4; }
.gmf-guides ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; list-style: none; margin: 0; padding: 0; }
.gmf-guides li a {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	height: 100%;
	padding: 0.6rem;
	border-radius: 12px;
	background: #ffffff;
	color: var(--gmf-ink);
	text-decoration: none;
}
.gmf-guides li a:hover,
.gmf-guides li a:focus { box-shadow: var(--gmf-shadow); }
.gmf-guide-thumb { flex: none; overflow: hidden; width: 96px; height: 68px; border-radius: 8px; background: var(--gmf-tint-strong); }
.gmf-guide-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.gmf-guide-text { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.gmf-guide-text strong { font-family: var(--gmf-heading-font); font-size: 0.9375rem; font-weight: 700; line-height: 1.25; }
.gmf-guide-text time { color: var(--gmf-muted); font-size: 0.8125rem; }

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

.gmf-footer { background: var(--gmf-ink); color: #d3c8ef; font-size: 0.9375rem; }
.gmf-footer-main {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.5fr) minmax(0, 0.8fr);
	gap: 2rem 3.5rem;
	padding-top: 3rem;
	padding-bottom: 2.5rem;
}
.gmf-footer-logo { display: inline-block; color: #ffffff; font-family: var(--gmf-heading-font); font-size: 1.5rem; font-weight: 700; text-decoration: none; }
.gmf-footer-logo img { display: block; width: 190px; height: auto; }
.gmf-footer-brand p { max-width: 24em; margin: 0.9rem 0 1.25rem; line-height: 1.5; }
.gmf-footer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.gmf-footer-actions .gmf-btn .gmf-icon { width: 1.15em; height: 1.15em; }
.gmf-footer-social,
.gmf-footer-social:visited {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.12);
	color: #ffffff;
	transition: background-color 0.15s, color 0.15s;
}
.gmf-footer-social:hover,
.gmf-footer-social:focus { background: var(--gmf-yellow); color: var(--gmf-ink); }
.gmf-footer-col h2 {
	margin: 0.35rem 0 0.9rem;
	color: var(--gmf-yellow);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.gmf-footer-col ul { margin: 0; padding: 0; list-style: none; }
.gmf-footer-browse ul { columns: 2; column-gap: 2rem; }
.gmf-footer-col li { margin: 0; break-inside: avoid; }
.gmf-footer-col a,
.gmf-footer-col a:visited { display: inline-block; padding: 0.3rem 0; color: #ffffff; text-decoration: none; }
.gmf-footer-col a:hover,
.gmf-footer-col a:focus { color: var(--gmf-yellow); text-decoration: underline; }
.gmf-footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.8125rem; }
.gmf-footer-bottom .gmf-wrap {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.35rem 2rem;
	padding-top: 1.1rem;
	padding-bottom: 1.1rem;
}
.gmf-footer-bottom p { margin: 0; }
@media (max-width: 860px) {
	.gmf-footer-main { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2rem; padding-top: 2.5rem; padding-bottom: 2rem; }
	.gmf-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
	.gmf-footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.gmf-footer-browse ul { columns: 1; }
	/* Room at the end so the back-to-top button never sits on the last line. */
	.gmf-footer-bottom .gmf-wrap { padding-bottom: 4.5rem; }
}

/* Text pages (About, Contact, Privacy): keep lines a comfortable length. Tables
   and the birthday directory still use the full width. */
.page .entry-content > p,
.page .entry-content > h2,
.page .entry-content > h3,
.page .entry-content > ul,
.page .entry-content > ol { max-width: 46rem; }

/* Back to top: appears after a screen or two of scrolling (site.js). */
.gmf-totop {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 90;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 2px solid #ffffff;
	border-radius: 50%;
	background: var(--gmf-purple);
	color: #ffffff;
	box-shadow: 0 6px 18px rgba(29, 17, 69, 0.3);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.2s, transform 0.2s, visibility 0.2s, background-color 0.15s;
}
.gmf-totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.gmf-totop:hover,
.gmf-totop:focus { background: var(--gmf-purple-dark); color: #ffffff; }
.gmf-totop[hidden] { display: none; }
@media (max-width: 480px) {
	.gmf-totop { right: 0.9rem; bottom: 0.9rem; width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
	.gmf-totop { transition: none; }
}

/* ------------------------------------------------------------ Single posts */

/* Summary box at the top of an offer: picture, key facts and the button. */
.gmf-summary {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	overflow: hidden;
	margin: 0 0 2rem;
	border: 1px solid var(--gmf-line);
	border-radius: var(--gmf-radius);
	background: #ffffff;
	box-shadow: var(--gmf-shadow);
}
/* The picture sits on top of the facts and is shown whole, never cropped. */
.gmf-summary-picture { border-bottom: 1px solid var(--gmf-line); background: var(--gmf-tint); }
.gmf-summary-picture img { display: block; width: 100%; height: auto; max-height: 460px; object-fit: contain; }
.gmf-summary-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 1.1rem;
	padding: 1.5rem 1.75rem;
	background: linear-gradient(135deg, #ffffff 0%, var(--gmf-tint) 100%);
}
.gmf-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 1rem 1.25rem;
	width: 100%;
	margin: 0;
}
.gmf-fact { display: flex; align-items: flex-start; gap: 0.75rem; min-width: 0; }
.gmf-fact.is-wide { grid-column: 1 / -1; }
.gmf-fact > .gmf-icon {
	box-sizing: content-box;
	width: 1.2rem;
	height: 1.2rem;
	padding: 0.5rem;
	border-radius: 50%;
	background: var(--gmf-tint-strong);
	color: var(--gmf-purple-dark);
}
.gmf-facts dt {
	color: var(--gmf-muted);
	font-family: var(--gmf-heading-font);
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.gmf-facts dd { margin: 0.05rem 0 0; color: var(--gmf-ink); font-size: 1rem; font-weight: 600; line-height: 1.35; }
/* The prize, or what you get, is the headline of the box. */
.gmf-fact.is-wide:first-child dd { font-family: var(--gmf-heading-font); font-size: 1.25rem; font-weight: 700; line-height: 1.25; }
.gmf-chip-soon { margin-left: 0.4rem; background: #fdecea; color: var(--gmf-red); vertical-align: middle; }
.gmf-btn-big,
.gmf-btn-big:visited { padding: 0.9em 2em; font-size: 1.0625rem; }
.gmf-summary-note { margin: -0.5rem 0 0; color: var(--gmf-muted); font-size: 0.8125rem; }
.gmf-summary-ended { margin: 0; color: var(--gmf-text); }
.gmf-summary.is-expired { box-shadow: none; }
.gmf-summary.is-expired .gmf-summary-body { background: #f3f3f3; }
.gmf-summary.is-expired .gmf-summary-picture img { filter: grayscale(1); opacity: 0.75; }

.gmf-post-picture { margin: 0 0 1.75rem; }
.gmf-post-picture img { display: block; width: 100%; max-height: 440px; border-radius: var(--gmf-radius); object-fit: cover; }
.gmf-affiliate-note {
	margin: 0 0 1.75rem;
	padding: 0.7rem 1rem;
	border-radius: 10px;
	background: var(--gmf-tint);
	color: var(--gmf-muted);
	font-size: 0.875rem;
	line-height: 1.5;
}

/* Amazon deals. Product pictures come from Amazon on a white background, so
   they are shown whole on white instead of cropped to fill the box. */
.gmf-card-media .gmf-amazon-thumb,
.gmf-win-thumb .gmf-amazon-thumb,
.gmf-guide-thumb .gmf-amazon-thumb { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: #ffffff; }
.gmf-card-media .gmf-amazon-thumb img { width: auto; max-width: 92%; height: 90%; object-fit: contain; }
.gmf-deal .gmf-summary-picture { background: #ffffff; }
.gmf-deal .gmf-summary-picture img { width: auto; max-width: 100%; max-height: 380px; margin: 0 auto; padding: 1.25rem; box-sizing: border-box; }
.gmf-price-now { font-family: var(--gmf-heading-font); font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.gmf-chip-save { margin-left: 0.4rem; background: #e3f6e8; color: #17603a; vertical-align: middle; }
.gmf-facts dd s { color: var(--gmf-muted); font-weight: 500; }
.gmf-deal .gmf-affiliate-note { margin: 0; }
.gmf-price { display: flex; flex-wrap: wrap; align-items: center; gap: 0.1rem 0.35rem; color: var(--gmf-ink); font-size: 1.0625rem; line-height: 1.3; }
.gmf-price strong { font-family: var(--gmf-heading-font); font-weight: 700; }
.gmf-price .gmf-chip-save { margin-left: 0; }
.gmf-price-stamp,
.gmf-price-stamp:visited { color: var(--gmf-muted); font-size: 0.75rem; font-weight: 500; text-decoration: none; }
.gmf-price .gmf-price-stamp { flex-basis: 100%; }
a.gmf-price-stamp:hover { color: var(--gmf-purple); text-decoration: underline; }
.gmf-summary-note .gmf-price-stamp { font-size: inherit; font-weight: 600; }

/* The write-up: section headings and numbered steps. */
.single-post .entry-content h2 { margin-top: 2rem; font-size: 1.5rem; }
.entry-content ol.gmf-steps { list-style: none; margin: 0 0 1.5rem; padding: 0; counter-reset: gmf-step; }
.entry-content ol.gmf-steps > li {
	position: relative;
	min-height: 2.25rem;
	margin: 0 0 0.75rem;
	padding: 0.3rem 0 0 3.1rem;
	counter-increment: gmf-step;
}
.entry-content ol.gmf-steps > li::before {
	content: counter(gmf-step);
	position: absolute;
	top: 0;
	left: 0;
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: var(--gmf-purple);
	color: #ffffff;
	font-family: var(--gmf-heading-font);
	font-weight: 700;
}

.gmf-post-cta {
	margin: 2.5rem 0 1rem;
	padding: 1.5rem;
	border-radius: var(--gmf-radius);
	background: var(--gmf-tint);
	text-align: center;
}
.gmf-post-note { margin: 0; color: var(--gmf-muted); font-size: 0.875rem; line-height: 1.5; }

/* More posts of the same type, under the post. */
.gmf-related { padding: 0 0 3.5rem; }
.single-post .content-area { margin-bottom: 3.5rem; }

.gmf-notfound { margin-top: 1.75rem; }
.gmf-notfound-bee { display: block; width: 11rem; height: 11rem; margin: 0 0 1rem; }
.gmf-notfound p { margin: 0 0 0.75rem; }

@media (max-width: 700px) {
	.gmf-summary-picture img { max-height: 280px; }
	.gmf-summary-body { padding: 1.25rem; }
	.gmf-summary .gmf-btn-big { width: 100%; }
}

.gmf-expired-notice {
	padding: 0.75em 1em;
	border-left: 4px solid var(--gmf-red);
	background: #fdecea;
	color: #601410;
}

/* ------------------------------------------------------ Sweepstakes table */

.gmf-table-wrap { overflow-x: auto; }
.gmf-offers-table { width: 100%; border-collapse: collapse; }
.gmf-offers-table th,
.gmf-offers-table td {
	padding: 0.8em 0.8em;
	border-bottom: 1px solid var(--gmf-line);
	text-align: left;
	vertical-align: top;
}
.gmf-offers-table th {
	border-bottom: 2px solid var(--gmf-purple);
	color: var(--gmf-ink);
	font-size: 0.75em;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}
.gmf-offers-table tbody tr:hover { background: var(--gmf-tint); }
.gmf-offers-table td:first-child { font-weight: 600; }
.gmf-offers-table td:last-child { white-space: nowrap; }

/* ------------------------------------------------------ Birthday directory */

.gmf-directory-search { display: block; margin-bottom: 1em; }
.gmf-directory-search span { display: block; margin-bottom: 0.35em; font-weight: 600; }
.gmf-directory-search input {
	width: 100%;
	max-width: 480px;
	padding: 0.7em 1.1em;
	border: 2px solid var(--gmf-purple);
	border-radius: 999px;
	font-size: 1em;
}
.gmf-directory-letters { display: flex; flex-wrap: wrap; gap: 0.35em; margin-bottom: 1.5em; }
.gmf-directory-letters a,
.gmf-directory-letters a:visited {
	min-width: 2.75em;
	padding: 0.6em 0.5em;
	border-radius: 10px;
	background: var(--gmf-tint);
	color: var(--gmf-ink);
	font-weight: 700;
	text-align: center;
	text-decoration: none;
}
.gmf-directory-letters a:hover,
.gmf-directory-letters a:focus { background: var(--gmf-yellow); }
.gmf-directory-group h2 { margin: 1.5em 0 0.5em; padding-bottom: 0.2em; border-bottom: 2px solid var(--gmf-purple); }
.gmf-directory-group ul { margin: 0; padding: 0; list-style: none; }
.gmf-directory-group li {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.25em 1em;
	padding: 0.7em 0;
	border-bottom: 1px solid var(--gmf-line);
}
.gmf-directory-name { flex: 1 1 14em; font-weight: 600; }
.gmf-directory-reward { flex: 2 1 16em; color: var(--gmf-muted); }
.gmf-directory-links { display: flex; gap: 1em; white-space: nowrap; }

/* ------------------------------------------------------------ Small screens */

@media (max-width: 1100px) {
	ul.gmf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.gmf-guides { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
	.gmf-signup-panel { grid-template-columns: minmax(0, 1fr); padding: 1.5rem; }
	.gmf-win-grid { grid-template-columns: minmax(0, 1fr); }
	.gmf-points ul { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 0.75rem; }
	.gmf-points li { justify-content: flex-start; }
	.gmf-points li:nth-child(odd) { border-left: 0; }
}
@media (max-width: 780px) {
	ul.gmf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
	.gmf-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 0; }
	.gmf-hero-copy { padding: 2rem 0 0; }
	.gmf-hero-art img { max-width: 360px; }
	.gmf-guides ul { grid-template-columns: minmax(0, 1fr); }
	.gmf-signup { padding-top: 1.5rem; }
	.gmf-win { padding-top: 2.25rem; }
	.home .content-area { margin-top: 2.25rem; }
	/* One row of pills that scrolls sideways instead of wrapping to three. */
	.gmf-pills {
		flex-wrap: nowrap;
		overflow-x: auto;
		width: calc(100% + 2 * var(--global-content-edge-padding, 1.5rem));
		margin: 0 calc(-1 * var(--global-content-edge-padding, 1.5rem));
		padding: 0.15rem var(--global-content-edge-padding, 1.5rem);
		scrollbar-width: none;
	}
	.gmf-pills::-webkit-scrollbar { display: none; }
}
@media (max-width: 520px) {
	ul.gmf-grid { grid-template-columns: minmax(0, 1fr); }
	.gmf-hero-actions .gmf-btn { flex: 1 1 100%; }
	.gmf-signup-copy { align-items: flex-start; }
	.gmf-signup-icon { width: 2.75rem; height: 2.75rem; }
	.gmf-signup-icon .gmf-icon { width: 1.4rem; height: 1.4rem; }
	.gmf-signup h2 { font-size: 1.25rem; }
	.gmf-signup-row { flex-direction: column; }
	.gmf-signup-row input[type="email"] { flex: none; }
	.gmf-signup-status,
	.gmf-signup-follow { margin-left: 0; }
	.gmf-points li { padding: 0.25rem 0.5rem; gap: 0.6rem; }
	.gmf-points .gmf-icon { width: 1.6rem; height: 1.6rem; }
}

/* Top row: four across while they fit, then two by two. On phones the cards
   drop their description so all four stay within about one screen. */
@media (max-width: 1100px) {
	ul.gmf-grid.gmf-grid-top { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
}
@media (max-width: 960px) {
	ul.gmf-grid.gmf-grid-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
	.gmf-top { padding-top: 2rem; }
}
@media (max-width: 520px) {
	ul.gmf-grid.gmf-grid-top { gap: 0.75rem; }
	.gmf-grid-top .gmf-card-body { padding: 0.75rem; }
	.gmf-grid-top .gmf-card-title { margin-bottom: 0.6rem; font-size: 0.9375rem; }
	.gmf-grid-top .gmf-card-text { display: none; }
	.gmf-grid-top .gmf-card-foot { align-items: stretch; }
	.gmf-grid-top .gmf-card-foot .gmf-btn { padding: 0.6em 0.5em; font-size: 0.8125rem; }
	.gmf-grid-top .gmf-card-foot .gmf-btn .gmf-icon { display: none; }
	.gmf-grid-top .gmf-badge { top: 0.5rem; left: 0.4rem; padding: 0.25em 0.7em; font-size: 0.625rem; }
}

@media (prefers-reduced-motion: reduce) {
	.gmf-btn, .gmf-card { transition: none; }
	.gmf-btn:hover, .gmf-card:hover { transform: none; }
}

/* ------------------------------------------- Title band under the header */

/* Posts, pages and category pages all open with the same tinted band, in the
   hero's colors, so the top of every page ties in with the home page. */
.entry-hero .entry-hero-container-inner {
	background: linear-gradient(100deg, #f7f3ff 0%, #e9dfff 50%, #d6c5ff 100%);
}
/* Posts keep the band short so the page starts sooner: the category and the
   date share one line above the title. They come before and after the title
   in the page itself, so the order is set here. */
.entry-hero.post-hero-section .entry-header {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem 0;
	min-height: 0;
	padding: 1.35rem 0 1.5rem;
}
.entry-hero.post-hero-section .entry-taxonomies { order: 1; flex: 0 0 auto; width: auto; margin: 0; }
.entry-hero.post-hero-section .entry-meta {
	order: 2;
	flex: 0 0 auto;
	width: auto;
	justify-content: center;
	margin: 0;
	color: var(--gmf-muted);
	font-size: 0.8125rem;
}
.entry-hero.post-hero-section .entry-taxonomies + .entry-title + .entry-meta::before {
	content: "\00b7";
	margin: 0 0.6em;
	font-weight: 700;
}
.entry-hero.post-hero-section .entry-title {
	order: 3;
	flex-basis: 100%;
	max-width: 22em;
	margin: 0 auto;
	font-size: clamp(1.625rem, 3.6vw, 2.5rem);
	font-weight: 800;
	line-height: 1.14;
	letter-spacing: -0.015em;
	text-align: center;
}
/* Phones: category on one line, date on the next, every time. Side by side they
   only fit for short category names, so the layout changed from post to post. */
@media (max-width: 600px) {
	.entry-hero.post-hero-section .entry-header { gap: 0.3rem 0; padding: 1.1rem 0 1.3rem; }
	.entry-hero.post-hero-section .entry-taxonomies,
	.entry-hero.post-hero-section .entry-meta { flex: 0 0 100%; width: 100%; text-align: center; }
	.entry-hero.post-hero-section .entry-taxonomies + .entry-title + .entry-meta::before { content: none; }
	.entry-hero.post-hero-section .entry-title { margin-top: 0.2rem; }
}

/* Share buttons: a row at the end of the post. */
.gmf-share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
	margin-top: 1.75rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--gmf-line);
}
.gmf-share-label {
	margin-right: 0.25rem;
	color: var(--gmf-muted);
	font-family: var(--gmf-heading-font);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.gmf-share-btn,
.gmf-share-btn:visited {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--gmf-tint-strong);
	color: var(--gmf-purple-dark);
	cursor: pointer;
	transition: background-color 0.15s, color 0.15s, transform 0.15s;
}
.gmf-share-btn:hover,
.gmf-share-btn:focus-visible { background: var(--gmf-purple); color: #ffffff; transform: translateY(-1px); }
.gmf-share-copied:empty { display: none; }
.gmf-share-copied {
	position: absolute;
	top: calc(100% + 6px);
	left: 50%;
	padding: 0.2rem 0.6rem;
	border-radius: 6px;
	background: var(--gmf-ink);
	color: #ffffff;
	font-size: 0.75rem;
	white-space: nowrap;
	transform: translateX(-50%);
}
.single-post .content-area { margin-top: 1.75rem; }

/* ------------------------------------------------ Sweepstakes list filters */

.gmf-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; margin: 0 0 1.25rem; }
.gmf-filter[hidden] { display: none; }
.gmf-filter-label,
.gmf-topic-label {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--gmf-muted);
	font-family: var(--gmf-heading-font);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}
.gmf-pills button {
	padding: 0.45em 1.1em;
	border: 1.5px solid var(--gmf-line);
	border-radius: 999px;
	background: #ffffff;
	color: var(--gmf-ink);
	font-family: var(--gmf-heading-font);
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: inherit;
	white-space: nowrap;
	box-shadow: none;
	cursor: pointer;
}
.gmf-pills button:hover,
.gmf-pills button:focus-visible { border-color: var(--gmf-purple); background: #ffffff; color: var(--gmf-purple); box-shadow: none; }
.gmf-pills button.is-current,
.gmf-pills button.is-current:hover { border-color: var(--gmf-purple); background: var(--gmf-purple); color: #ffffff; }
.gmf-filter-count { margin-left: 0.15em; font-weight: 500; opacity: 0.7; }
.gmf-filter-status { margin: 1rem 0 0; color: var(--gmf-muted); font-size: 0.9375rem; }
.gmf-filter-status:empty { display: none; }
.gmf-offers-table tr[hidden] { display: none; }
.gmf-offers-table .gmf-chip { margin-left: 0.25rem; font-weight: 700; vertical-align: middle; }

/* ------------------------------------------------------------------ Topics */

.gmf-topic-row,
.gmf-post-topics { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.75rem; }
.gmf-topic-row { margin: -0.5rem 0 1.75rem; }
.gmf-topic-label .gmf-icon { width: 0.95rem; height: 0.95rem; }
.gmf-topic-links { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.gmf-topic-links a,
.gmf-topic-links a:visited {
	padding: 0.3em 0.85em;
	border-radius: 999px;
	background: var(--gmf-tint);
	color: var(--gmf-purple-dark);
	font-family: var(--gmf-heading-font);
	font-size: 0.8125rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}
.gmf-topic-links a:hover,
.gmf-topic-links a:focus-visible { background: var(--gmf-tint-strong); color: var(--gmf-purple-deep); }
.gmf-topic-links a.is-current,
.gmf-topic-links a.is-current:hover { background: var(--gmf-purple); color: #ffffff; }
/* On a topic's own page there is no heading row above it. */
.tag .gmf-topic-row { margin-top: 0; }

/* At the end of a post, sharing one ruled-off strip with the share buttons. */
.gmf-post-topics { margin-top: 1.75rem; padding-top: 1.25rem; border-top: 1px solid var(--gmf-line); }
.gmf-post-topics + .gmf-share { margin-top: 1rem; padding-top: 0; border-top: 0; }

@media (max-width: 780px) {
	/* The filter row keeps its label above the sideways-scrolling buttons. */
	.gmf-filter { display: block; }
	.gmf-filter-label { margin-bottom: 0.4rem; }
}
@media (max-width: 640px) {
	/* The list is stacked on phones: name, prize, then entry and end date on one line. */
	.gmf-offers-table,
	.gmf-offers-table tbody { display: block; }
	.gmf-offers-table thead { display: none; }
	.gmf-offers-table tr { display: block; padding: 0.9rem 0; border-bottom: 1px solid var(--gmf-line); }
	.gmf-offers-table tbody tr:first-child { border-top: 2px solid var(--gmf-purple); }
	.gmf-offers-table tbody tr:hover { background: none; }
	.gmf-offers-table td { display: block; padding: 0; border: 0; }
	.gmf-offers-table td:nth-child(2) { margin-top: 0.2rem; }
	.gmf-offers-table td:nth-child(2):empty,
	.gmf-offers-table td[data-label]:empty { display: none; }
	.gmf-offers-table td[data-label] {
		display: inline-block;
		margin: 0.4rem 1rem 0 0;
		color: var(--gmf-muted);
		font-size: 0.875rem;
		white-space: nowrap;
	}
	.gmf-offers-table td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; }
}
