/*!
 * BloggersIdeas footer (BloggersIdeas UI).
 * A dark footer in the homepage's palette: ink #0e1220 (the homepage's closing panel flows straight into it), brand red
 * #d83c3d, rose #ff6b8b → violet #8b7cff for accents, and Inter (loaded site-wide by Elementor). Every rule is scoped to
 * .bift / .bift-wrap.
 * Specificity: Elementor's Site Settings style a (0,1,1), headings (0,1,1) and buttons (0,2,0), and GeneratePress styles
 * links, buttons and headings; links and buttons here start with .bift.bift (0,2,0) where it matters.
 */

/* ------------------------------------------------------------------ Elementor container: the footer owns its layout */
body .e-con.bift-wrap {
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	--gap: 0px;
	--row-gap: 0px;
	--column-gap: 0px;
	padding: 0;
	gap: 0;
}
body .bift-wrap > .elementor-widget { margin: 0; width: 100%; max-width: 100%; }
body .bift-wrap .elementor-shortcode { width: 100%; }

/* ------------------------------------------------------------------ Frame */
.bift {
	--bift-bg: #0e1220;
	--bift-text: rgb(255 255 255 / 0.74);
	--bift-dim: rgb(255 255 255 / 0.6);
	--bift-line: rgb(255 255 255 / 0.1);
	--bift-red: #d83c3d;
	--bift-rose: #ff6b8b;
	--bift-violet: #8b7cff;
	--bift-grad: linear-gradient(90deg, #ff6b8b, #b98cff 55%, #8b7cff);
	--bift-font: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--bift-w: 1200px;
	--bift-pad: clamp(20px, 4vw, 40px);
	--bift-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	overflow: clip; /* clip, not hidden: a scroll container here would capture the wordmark's view timeline */
	background: var(--bift-bg);
	color: var(--bift-text);
	font-family: var(--bift-font);
	font-size: 15px;
	line-height: 1.6;
	text-align: left;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.bift *, .bift *::before, .bift *::after { box-sizing: border-box; }
.bift p { text-wrap: pretty; }

/* Glows, a fading dot grid and a gradient hairline along the top edge. */
.bift__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background:
		radial-gradient(52rem 24rem at 8% -4%, rgb(216 60 61 / 0.24), transparent 68%),
		radial-gradient(40rem 22rem at 96% 6%, rgb(139 124 255 / 0.14), transparent 70%),
		radial-gradient(70rem 30rem at 50% 112%, rgb(255 107 139 / 0.08), transparent 70%);
}
.bift__bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgb(255 255 255 / 0.075) 1px, transparent 1.3px);
	background-size: 24px 24px;
	-webkit-mask-image: radial-gradient(72% 52% at 50% 0%, #000 0%, transparent 78%);
	mask-image: radial-gradient(72% 52% at 50% 0%, #000 0%, transparent 78%);
}
.bift__bg::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgb(216 60 61 / 0.95) 18%, rgb(255 107 139 / 0.95) 50%, rgb(139 124 255 / 0.95) 82%, transparent);
}

.bift__inner {
	max-width: calc(var(--bift-w) + 2 * var(--bift-pad));
	margin: 0 auto;
	padding: clamp(56px, 4.5vw + 24px, 96px) var(--bift-pad) 0;
}

.bift .bift-grad {
	background: var(--bift-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}
.bift .bift-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
.bift :is(a, button, summary):focus-visible {
	outline: 2px solid var(--bift-rose);
	outline-offset: 3px;
	border-radius: 6px;
}

/* ------------------------------------------------------------------ Call to action (every page except the front page) */
.bift .bift-cta {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) auto;
	align-items: center;
	gap: 28px clamp(32px, 4vw, 64px);
	margin: 0 0 clamp(56px, 4vw + 28px, 88px);
	padding: clamp(28px, 2.4vw + 14px, 52px) clamp(22px, 3vw + 10px, 56px);
	border: 1px solid rgb(255 255 255 / 0.1);
	border-radius: 28px;
	background:
		radial-gradient(90% 150% at 0% 0%, rgb(216 60 61 / 0.32), transparent 58%),
		radial-gradient(70% 120% at 100% 100%, rgb(139 124 255 / 0.16), transparent 60%),
		linear-gradient(180deg, rgb(255 255 255 / 0.065), rgb(255 255 255 / 0.025));
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.07), 0 40px 90px -50px rgb(0 0 0 / 0.9);
	overflow: hidden;
	overflow: clip;
}
.bift .bift-cta::after {
	content: "";
	position: absolute;
	left: 8%;
	right: 8%;
	bottom: 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--bift-rose), var(--bift-violet), transparent);
	opacity: 0.75;
}
.bift .bift-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgb(255 255 255 / 0.7);
}
.bift .bift-eyebrow__dot {
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--bift-rose);
	box-shadow: 0 0 0 0 rgb(255 107 139 / 0.55);
	animation: bift-pulse 2.6s ease-out infinite;
}
@keyframes bift-pulse {
	0% { box-shadow: 0 0 0 0 rgb(255 107 139 / 0.55); }
	70%, 100% { box-shadow: 0 0 0 10px rgb(255 107 139 / 0); }
}
.bift.bift .bift-cta__title {
	margin: 0;
	padding: 0;
	font-family: var(--bift-font);
	font-size: clamp(26px, 1.25vw + 18px, 40px);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.03em;
	text-transform: none;
	color: #fff;
	text-wrap: balance;
}
.bift .bift-cta__text {
	margin: 14px 0 0;
	max-width: 52ch;
	font-size: 16px;
	line-height: 1.6;
	color: var(--bift-text);
}
.bift .bift-cta__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.bift.bift .bift-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 52px;
	padding: 0 24px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-family: var(--bift-font);
	font-size: 15.5px;
	font-weight: 700;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	transition: transform 0.3s var(--bift-ease), filter 0.25s, box-shadow 0.3s, background-color 0.25s, border-color 0.25s;
}
.bift .bift-btn .bift-ic { width: 16px; height: 16px; transition: transform 0.3s var(--bift-ease); }
.bift.bift .bift-btn--primary {
	background-color: var(--bift-red);
	background-image: linear-gradient(180deg, rgb(255 255 255 / 0.16), rgb(255 255 255 / 0) 60%);
	color: #fff;
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22), 0 14px 34px -14px rgb(216 60 61 / 0.95);
}
.bift.bift .bift-btn--primary:hover { color: #fff; filter: brightness(1.07); transform: translateY(-2px); }
.bift .bift-btn--primary:hover .bift-ic { transform: translateX(3px); }
.bift.bift .bift-btn--ghost { border-color: rgb(255 255 255 / 0.28); color: #fff; background: rgb(255 255 255 / 0.04); }
.bift.bift .bift-btn--ghost:hover { color: #fff; border-color: rgb(255 255 255 / 0.6); background: rgb(255 255 255 / 0.09); transform: translateY(-2px); }

/* ------------------------------------------------------------------ Brand block and link columns */
.bift .bift-main {
	display: grid;
	grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
	gap: 48px clamp(40px, 5vw, 88px);
}
.bift .bift-logo { display: inline-flex; align-items: center; border-radius: 8px; }
.bift .bift-logo img {
	display: block;
	width: auto;
	max-width: none;
	height: 36px;
	margin: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}
.bift .bift-brand__tag {
	margin: 24px 0 0;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.25;
	letter-spacing: -0.02em;
	color: #fff;
}
.bift .bift-brand__text {
	margin: 10px 0 0;
	max-width: 40ch;
	font-size: 15px;
	line-height: 1.65;
	color: var(--bift-text);
}
.bift.bift .bift-mail {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 18px 0 0;
	padding: 6px 0;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	background: linear-gradient(90deg, var(--bift-rose), var(--bift-violet)) 0 calc(100% - 2px) / 0 1px no-repeat;
	transition: background-size 0.35s var(--bift-ease);
}
.bift .bift-mail .bift-ic { width: 16px; height: 16px; color: var(--bift-rose); }
.bift.bift .bift-mail:hover { color: #fff; background-size: 100% 1px; }
.bift .bift-badge { margin-top: 22px; max-width: 100%; }

.bift .bift-social {
	/* One row whatever the number of links: the buttons share the width, up to 42px each. */
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 42px);
	justify-content: start;
	gap: 6px;
	margin: 18px 0 0;
	padding: 0;
	list-style: none;
}
.bift .bift-social li { min-width: 0; margin: 0; padding: 0; }
.bift.bift .bift-social__btn {
	display: grid;
	place-items: center;
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	border: 1px solid rgb(255 255 255 / 0.1);
	border-radius: 30%;
	background: rgb(255 255 255 / 0.05);
	color: rgb(255 255 255 / 0.8);
	text-decoration: none;
	transition: color 0.25s, background-color 0.25s, border-color 0.25s, transform 0.3s var(--bift-ease), box-shadow 0.3s;
}
.bift .bift-social__btn svg { display: block; width: 17px; height: 17px; }
.bift.bift .bift-social__btn:hover {
	color: #fff;
	border-color: transparent;
	background: var(--bift-red);
	box-shadow: 0 10px 24px -12px rgb(216 60 61 / 0.95);
	transform: translateY(-2px);
}

.bift .bift-cols {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 36px 28px;
}
.bift .bift-col { min-width: 0; }
.bift .bift-col__title {
	margin: 0 0 14px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #fff;
}
.bift .bift-col__title::before {
	content: "";
	display: block;
	width: 20px;
	height: 2px;
	margin: 0 0 14px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--bift-red), var(--bift-rose));
}
.bift .bift-col__list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.bift .bift-col__list li { margin: 0; padding: 0; }
.bift.bift .bift-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	max-width: 100%;
	padding: 6px 0;
	color: var(--bift-text);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
	background: linear-gradient(90deg, var(--bift-rose), var(--bift-violet)) 0 calc(100% - 4px) / 0 1px no-repeat;
	transition: color 0.2s, background-size 0.35s var(--bift-ease);
}
.bift .bift-link > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.bift.bift .bift-link:hover,
.bift.bift .bift-link:focus-visible { color: #fff; background-size: 100% 1px; }
.bift .bift-link[aria-current="page"] { color: #fff; }
.bift .bift-link__ext { flex: none; width: 12px; height: 12px; opacity: 0.5; transition: transform 0.25s var(--bift-ease), opacity 0.25s; }
.bift .bift-link:hover .bift-link__ext { opacity: 1; transform: translate(2px, -2px); }

/* ------------------------------------------------------------------ Press strip */
.bift .bift-press {
	display: grid;
	justify-items: center;
	gap: 18px;
	margin-top: clamp(48px, 3vw + 28px, 72px);
	padding-top: clamp(28px, 2vw + 16px, 40px);
	border-top: 1px solid var(--bift-line);
}
.bift .bift-press__label { margin: 0; font-size: 12px; font-weight: 700; line-height: 1.3; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bift-dim); }
.bift .bift-press__img {
	display: block;
	width: 100%;
	max-width: 900px;
	height: auto;
	margin: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	/* The logos keep their own grey tones (filled marks such as PCMag's square stay readable); a little lift for the dark ground. */
	filter: grayscale(1) brightness(1.35);
	opacity: 0.78;
	transition: opacity 0.3s;
}
.bift .bift-press:hover .bift-press__img { opacity: 1; }

/* ------------------------------------------------------------------ Bottom bar: copyright, legal links, back to top, disclaimer */
.bift .bift-bottom {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-areas: "text top" "disc disc";
	align-items: center;
	gap: 18px 48px;
	margin-top: clamp(40px, 2.4vw + 24px, 56px);
	padding-top: 28px;
	border-top: 1px solid var(--bift-line);
}
.bift .bift-bottom__text { grid-area: text; min-width: 0; }
.bift .bift-copy { margin: 0; font-size: 14px; line-height: 1.6; color: var(--bift-text); }
.bift .bift-copy__by { color: var(--bift-dim); }
.bift.bift .bift-copy__by a { color: rgb(255 255 255 / 0.78); text-decoration: underline; text-decoration-color: rgb(255 255 255 / 0.25); text-underline-offset: 3px; transition: color 0.2s, text-decoration-color 0.2s; }
.bift.bift .bift-copy__by a:hover { color: #fff; text-decoration-color: var(--bift-rose); }
.bift .bift-legal {
	display: flex;
	flex-wrap: wrap;
	gap: 0 22px;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}
.bift .bift-legal li { margin: 0; padding: 0; }
.bift.bift .bift-legal a {
	display: inline-block;
	padding: 5px 0;
	font-size: 14px;
	line-height: 1.4;
	color: var(--bift-dim);
	text-decoration: none;
	transition: color 0.2s;
}
.bift.bift .bift-legal a:hover,
.bift.bift .bift-legal a[aria-current="page"] { color: #fff; }
.bift.bift .bift-top {
	grid-area: top;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 42px;
	padding: 0 16px 0 12px;
	border: 1px solid rgb(255 255 255 / 0.14);
	border-radius: 999px;
	background: rgb(255 255 255 / 0.04);
	color: rgb(255 255 255 / 0.86);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: border-color 0.2s, background-color 0.2s, color 0.2s, transform 0.3s var(--bift-ease);
}
.bift .bift-top .bift-ic { width: 16px; height: 16px; color: var(--bift-rose); transition: transform 0.3s var(--bift-ease); }
.bift.bift .bift-top:hover { color: #fff; border-color: rgb(255 255 255 / 0.36); background: rgb(255 255 255 / 0.08); }
.bift .bift-top:hover .bift-ic { transform: translateY(-2px); }
.bift .bift-disc { grid-area: disc; margin: 0; font-size: 13px; line-height: 1.6; color: var(--bift-dim); }
.bift .bift-disc summary {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	list-style: none;
	cursor: pointer;
	border-radius: 6px;
}
.bift .bift-disc summary::-webkit-details-marker { display: none; }
.bift .bift-disc summary > span:first-of-type { flex: 1 1 auto; min-width: 0; }
.bift .bift-disc summary strong { color: rgb(255 255 255 / 0.82); font-weight: 700; }
.bift .bift-disc__ic { flex: none; width: 14px; height: 14px; margin-top: 3px; color: var(--bift-rose); }
.bift .bift-disc__more {
	display: inline-flex;
	flex: none;
	align-items: center;
	gap: 4px;
	color: rgb(255 255 255 / 0.82);
	font-weight: 600;
	white-space: nowrap;
}
.bift .bift-disc__chev { width: 14px; height: 14px; transition: transform 0.3s var(--bift-ease); }
.bift .bift-disc[open] .bift-disc__chev { transform: rotate(180deg); }
.bift .bift-disc summary:hover .bift-disc__more { color: #fff; }
.bift .bift-disc p { margin: 10px 0 0 22px; max-width: 110ch; }

/* Google "preferred source" badge, dark variant (classes shared with the badge on the other sites). */
.bift.bift a.gsrc {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	max-width: 100%;
	margin: 0;
	padding: 7px 18px 7px 7px;
	border: 1px solid rgb(255 255 255 / 0.14);
	border-radius: 999px;
	background: rgb(255 255 255 / 0.05);
	color: #fff;
	font-family: var(--bift-font);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0;
	text-transform: none;
	text-decoration: none;
	box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06);
	transition: border-color 0.2s, background-color 0.2s, transform 0.25s var(--bift-ease);
}
.bift .gsrc__g {
	flex: none;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #fff;
}
.bift .gsrc__g svg { display: block; width: 18px; height: 18px; }
.bift .gsrc__t { flex: 1 1 auto; min-width: 0; color: #fff; text-wrap: pretty; }
.bift .gsrc__arrow { flex: none; width: 14px; height: 14px; color: var(--bift-rose); transition: transform 0.25s var(--bift-ease); }
.bift .gsrc__sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.bift.bift a.gsrc:hover { border-color: rgb(255 107 139 / 0.55); background: rgb(255 255 255 / 0.08); transform: translateY(-1px); }
.bift a.gsrc:hover .gsrc__arrow { transform: translate(2px, -2px); }

/* ------------------------------------------------------------------ The oversized wordmark */
/* Sized to the container (cqi), so the word always spans the footer's width. A cursor spotlight (footer.js sets
   --bift-mx/--bift-my) lights it in the brand gradient; where scroll-driven animations exist it rises as the page
   reaches its end. overflow: clip (not hidden) keeps these boxes from becoming scroll containers. */
.bift .bift-mega {
	position: relative;
	max-width: calc(var(--bift-w) + 2 * var(--bift-pad));
	margin: clamp(24px, 3vw, 48px) auto 0;
	padding: 0 var(--bift-pad);
	overflow: hidden;
	overflow: clip;
	container-type: inline-size;
	-webkit-user-select: none;
	user-select: none;
}
.bift .bift-mega__text {
	position: relative;
	display: block;
	margin: 0 0 -0.12em;
	font-family: var(--bift-font);
	font-size: 13.2vw;
	font-size: 14.9cqi;
	font-weight: 800;
	line-height: 0.92;
	letter-spacing: -0.06em;
	text-align: center;
	white-space: nowrap;
	color: transparent;
	-webkit-text-fill-color: transparent;
	background: linear-gradient(180deg, rgb(255 255 255 / 0.22) 0%, rgb(255 255 255 / 0.09) 46%, rgb(255 255 255 / 0.01) 86%);
	-webkit-background-clip: text;
	background-clip: text;
}
.bift .bift-mega__text::after {
	content: attr(data-text);
	position: absolute;
	inset: 0;
	color: transparent;
	-webkit-text-fill-color: transparent;
	background: radial-gradient(240px circle at var(--bift-mx, 50%) var(--bift-my, 40%), #ffd2dc 0%, var(--bift-rose) 22%, var(--bift-violet) 46%, rgb(216 60 61 / 0.8) 64%, transparent 78%);
	-webkit-background-clip: text;
	background-clip: text;
	opacity: 0;
	transition: opacity 0.45s;
}
.bift .bift-mega__text.is-lit::after { opacity: 1; }

/* The page's own scroll drives it (a view() timeline is unreliable when a theme makes <body> a scroll container with
   overflow-x: hidden). It plays over the last stretch of the page, so the word settles exactly when the visitor reaches
   the end. Pages too short to scroll show it in place. */
@supports (animation-timeline: scroll()) {
	@media (prefers-reduced-motion: no-preference) {
		.bift .bift-mega__text {
			animation: bift-rise linear both;
			animation-timeline: scroll(root);
			animation-range: calc(100% - min(320px, 24vw + 80px)) 100%;
		}
	}
}
@keyframes bift-rise {
	from { transform: translateY(42%); opacity: 0.25; }
	to { transform: none; opacity: 1; }
}

/* ------------------------------------------------------------------ Tablet */
@media (max-width: 1099px) {
	.bift .bift-main { grid-template-columns: minmax(0, 1fr); gap: 48px; }
	.bift .bift-brand__text { max-width: 60ch; }
}
@media (max-width: 899px) {
	.bift .bift-cta { grid-template-columns: minmax(0, 1fr); }
	.bift .bift-cta__actions { justify-content: flex-start; }
}

/* ------------------------------------------------------------------ Phones */
@media (max-width: 767px) {
	.bift .bift-cta { border-radius: 22px; }
	.bift .bift-cta__text { font-size: 15px; }
	.bift .bift-cta__actions .bift-btn { flex: 1 1 100%; }
	.bift .bift-bottom { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "top" "disc"; align-items: start; }
	.bift.bift .bift-top { justify-self: start; }
	.bift .bift-disc summary { flex-wrap: wrap; }
	.bift .bift-disc__more { margin-left: 22px; }
	.bift .bift-social { grid-auto-columns: minmax(0, 44px); }
	.bift .bift-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 20px; }
	.bift .bift-link { padding: 8px 0; }
	.bift .bift-legal a { padding: 8px 0; }
	.bift .bift-copy__by { display: block; }
	.bift a.gsrc { font-size: 13.5px; }
}
/* ------------------------------------------------------------------ Motion and print */
@media (prefers-reduced-motion: reduce) {
	.bift *, .bift *::before, .bift *::after { animation: none !important; transition: none !important; }
}
@media print {
	.bift .bift-cta,
	.bift .bift-mega,
	.bift .bift-social,
	.bift .bift-badge,
	.bift .bift-press,
	.bift .bift-top,
	.bift__bg { display: none; }
	.bift { background: none; color: #000; }
}
