/* School of Flex entry — design: Figma "Article-darkmode" (node 1:1537), mobile "Article Page mobile" (node 1:822).
   Shared variables and text styles come from school-of-flex.css. Thrive sets typography with !important,
   so font sizes and line heights here need it too. */

.fp-sof-entry {
	--sof-paper: #f9f9f9;
	--sof-ink: #121212;
	--sof-meta: #bdbdbd;
	--sof-caption: #646464;
	--sof-border: #dae5f0;
}

/* Layout: left column 308px (meta, table of contents, key takeaways), article 976px */

.fp-sof-entry__layout {
	display: grid;
	grid-template-columns: 308px minmax(0, 976px);
	grid-template-areas:
		'.     term'
		'aside article';
	--sof-column-gap: 48px; /* also used by the ad box, which reaches across the gap to the article */
	column-gap: var(--sof-column-gap);
	max-width: 1412px;
	margin: 0 auto;
	padding: 106px 40px 120px;
}

.fp-sof-entry__crumbs {
	display: none;
}

.fp-sof-entry .fp-sof-entry__term {
	grid-area: term;
	padding: 0 6px 53px;
	font-size: 40px !important;
	line-height: 48px !important;
	letter-spacing: 0.4px !important;
	color: #fff;
}

.fp-sof-entry__aside {
	grid-area: aside;
	display: flex;
	flex-direction: column;
	gap: 30px;
	min-width: 0;
}

.fp-sof-entry__aside .fp-sof-takeaways {
	margin-top: 18px;
}

/* Meta: author, reviewing trader, last edit */

.fp-sof-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 4px 0 0 16px;
}

.fp-sof-meta__icon {
	display: block;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
}

.fp-sof-entry .fp-sof-meta__text {
	font-size: 13px !important;
	font-weight: 300 !important;
	line-height: 19.5px !important;
	color: var(--sof-meta);
}

.fp-sof-meta__name {
	color: #fff;
}

.fp-sof-meta--inline {
	display: none;
}

/* Table of contents */

.fp-sof-toc--aside {
	padding: 40px;
	border-radius: 5px;
	background: var(--sof-card);
}

.fp-sof-entry ol.fp-sof-toc__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fp-sof-entry .fp-sof-toc__item {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 13px !important;
	line-height: 16px !important;
	letter-spacing: 0.13px;
}

.fp-sof-toc__item + .fp-sof-toc__item {
	margin-top: 16px !important;
}

.fp-sof-toc__item--h2 + .fp-sof-toc__item--h2,
.fp-sof-toc__item--h3 + .fp-sof-toc__item--h2 {
	margin-top: 24px !important;
}

.fp-sof-toc__item a {
	display: flex;
	gap: 10px;
	color: #fff;
	transition: color 0.15s;
}

.fp-sof-toc__item--h3 a {
	padding-left: 20px;
	color: var(--sof-meta);
}

.fp-sof-toc__number {
	flex-shrink: 0;
	min-width: 10px;
}

.fp-sof-toc__item a:hover,
.fp-sof-toc__item a:focus-visible,
.fp-sof-toc__item a.is-active {
	color: var(--sof-yellow);
	outline: none;
}

/* Key takeaways */

.fp-sof-takeaways {
	padding: 30px 26px 60px;
	border-radius: 2px;
	background: #f8f8f8;
	color: var(--sof-ink);
}

.fp-sof-entry .fp-sof-takeaways__title {
	margin-bottom: 30px;
	font-size: 20px !important;
	line-height: 48px !important;
	letter-spacing: 0.2px !important;
	text-align: center;
	color: var(--sof-ink);
}

.fp-sof-entry .fp-sof-takeaways__list {
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fp-sof-entry .fp-sof-takeaways__list li {
	position: relative;
	margin: 0;
	padding: 0 0 0 28px;
	list-style: none;
	font-size: 16px !important;
	line-height: 26px !important;
	letter-spacing: 0.16px;
	color: var(--sof-ink);
}

.fp-sof-takeaways__list li::before {
	content: '';
	position: absolute;
	top: 5px;
	left: 0;
	width: 15px;
	height: 15px;
	background: var(--sof-ink);
}

.fp-sof-takeaways__list a {
	font-weight: 700;
	text-decoration: underline !important;
	color: inherit;
}

.fp-sof-takeaways__list p {
	margin: 0;
}

/* Article card */

.fp-sof-article {
	grid-area: article;
	min-width: 0;
	padding: 36px 45px 80px 51px;
	background: var(--sof-paper);
	color: var(--sof-ink);
}

.fp-sof-entry .fp-sof-article__title {
	max-width: 682px;
	font-size: 32px !important;
	line-height: 42px !important;
	letter-spacing: 0.32px !important;
	color: #000;
}

.fp-sof-article__title::after {
	content: '';
	display: block;
	width: 616px;
	max-width: 100%;
	height: 1px;
	margin-top: 20px;
	background: #000;
}

.fp-sof-article__intro {
	margin-top: 20px;
}

.fp-sof-article__intro + .fp-sof-article__mobile-nav + .fp-sof-article__content,
.fp-sof-article__intro + .fp-sof-article__content {
	margin-top: 72px;
}

.fp-sof-article__mobile-nav {
	display: none;
}

.fp-sof-article__foot {
	display: none;
}

/* Legal notice below every entry (Optionen → School of Flex) */
.fp-sof-article__disclaimer {
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid var(--sof-border);
	font-size: 14px;
	line-height: 1.5;
	color: var(--sof-caption);
}

.fp-sof-entry .fp-sof-article__disclaimer p {
	margin: 0 0 12px !important;
	font-size: inherit !important;
	line-height: inherit !important;
	color: inherit;
}

.fp-sof-entry .fp-sof-article__disclaimer p:last-child {
	margin-bottom: 0 !important;
}

/* Article content (Gutenberg blocks) */

.fp-sof-article__content {
	font-size: 18px;
	line-height: 1.5;
	letter-spacing: 0.18px;
	color: #000;
}

.fp-sof-article__content > * + * {
	margin-top: 30px !important;
}

.fp-sof-entry .fp-sof-article__content p,
.fp-sof-entry .fp-sof-article__content li,
.fp-sof-entry .fp-sof-article__content td,
.fp-sof-entry .fp-sof-article__content th {
	font-size: 18px !important;
	line-height: 1.5 !important;
	letter-spacing: 0.18px !important;
	color: #000;
}

.fp-sof-entry .fp-sof-article__content h2,
.fp-sof-entry .fp-sof-article__content h3,
.fp-sof-entry .fp-sof-article__content h4 {
	scroll-margin-top: 120px;
	color: #000;
}

.fp-sof-entry .fp-sof-article__content h2 {
	font-size: 22px !important;
	line-height: 48px !important;
	letter-spacing: 0.22px !important;
}

/* Section headings carry a rule like in the design */
.fp-sof-article__content h2::after {
	content: '';
	display: block;
	width: 429px;
	max-width: 100%;
	height: 1px;
	margin-top: 20px;
	background: #000;
}

.fp-sof-entry .fp-sof-article__content h3 {
	font-size: 24px !important;
	line-height: 48px !important;
	letter-spacing: 0.24px !important;
}

.fp-sof-entry .fp-sof-article__content h4 {
	font-size: 20px !important;
	line-height: 1.4 !important;
}

.fp-sof-entry .fp-sof-article__content a {
	text-decoration: underline !important;
	text-underline-offset: 2px;
	color: inherit;
}

/* Text links in the article: Flex cyan, underlined only on hover (client 03.11.). Links with a class
   (buttons, ad box, quiz) keep their own look. */
.fp-sof-entry .fp-sof-article__content a:not([class]) {
	color: #1cc2ce;
	text-decoration: none !important;
}

.fp-sof-entry .fp-sof-article__content a:not([class]):hover,
.fp-sof-entry .fp-sof-article__content a:not([class]):focus-visible {
	text-decoration: underline !important;
}

.fp-sof-entry .fp-sof-article__content strong {
	font-weight: 600;
}

/* Lists */

.fp-sof-entry .fp-sof-article__content ul,
.fp-sof-entry .fp-sof-article__content ol {
	margin-left: 0;
	padding-left: 0;
	list-style: none;
}

.fp-sof-entry .fp-sof-article__content li {
	position: relative;
	margin: 0;
	padding-left: 26px;
	list-style: none;
}

.fp-sof-entry .fp-sof-article__content li + li {
	margin-top: 10px;
}

/* Bullets: blue flash by default (client icon); other colours and the former square via the block styles of the
   list (block editor → Stile, entries.php) */
.fp-sof-article__content ul > li::before {
	content: '';
	position: absolute;
	top: 0.25em;
	left: 0;
	width: 12px;
	height: 18px;
	background: url(img/list/bolt-blue.svg) center / contain no-repeat;
}

.fp-sof-article__content ul.is-style-sof-bolt-black > li::before { background-image: url(img/list/bolt-black.svg); }
.fp-sof-article__content ul.is-style-sof-bolt-green > li::before { background-image: url(img/list/bolt-green.svg); }
.fp-sof-article__content ul.is-style-sof-bolt-yellow > li::before { background-image: url(img/list/bolt-yellow.svg); }
.fp-sof-article__content ul.is-style-sof-bolt-white > li::before { background-image: url(img/list/bolt-white.svg); }

.fp-sof-article__content ul.is-style-sof-square > li::before {
	top: 0.6em;
	width: 10px;
	height: 10px;
	background: var(--sof-ink);
}

.fp-sof-article__content ol {
	counter-reset: sof-ol;
}

.fp-sof-article__content ol > li {
	counter-increment: sof-ol;
}

.fp-sof-article__content ol > li::before {
	content: counter(sof-ol) '.';
	position: absolute;
	left: 0;
}

.fp-sof-entry .fp-sof-article__content li ul,
.fp-sof-entry .fp-sof-article__content li ol {
	margin-top: 10px;
}

/* Images and captions: the caption is as wide as the image */

.fp-sof-entry .fp-sof-article__content figure {
	margin-left: 0;
	margin-right: 0;
}

.fp-sof-article__content .wp-block-image {
	display: table;
	max-width: 100%;
}

.fp-sof-article__content .wp-block-image img {
	display: block;
	max-width: 100%;
	height: auto;
}

.fp-sof-entry .fp-sof-article__content figcaption,
.fp-sof-entry .fp-sof-article__content .wp-element-caption {
	display: table-caption;
	caption-side: bottom;
	margin: 30px 0 0;
	font-size: 14px !important;
	line-height: normal !important;
	letter-spacing: 0.14px !important;
	text-align: left;
	color: var(--sof-caption);
}

/* Tables */

.fp-sof-article__content .wp-block-table {
	overflow-x: auto;
}

.fp-sof-article__content table {
	width: 100%;
	border-collapse: collapse;
}

.fp-sof-entry .fp-sof-article__content th,
.fp-sof-entry .fp-sof-article__content td {
	padding: 12px 16px;
	border: 1px solid var(--sof-border);
	font-size: 16px !important;
	vertical-align: top;
	text-align: left;
}

.fp-sof-entry .fp-sof-article__content th {
	font-weight: 600;
	background: #eaeef3;
}

/* FAQ (details blocks) */

.fp-sof-article__content .wp-block-details {
	border-bottom: 1px solid var(--sof-border);
}

.fp-sof-article__content .wp-block-details + .wp-block-details {
	margin-top: 0 !important;
}

.fp-sof-article__content .wp-block-details summary {
	position: relative;
	padding: 16px 40px 16px 0;
	font-size: 18px;
	line-height: 1.4;
	list-style: none;
	cursor: pointer;
}

.fp-sof-article__content .wp-block-details summary::-webkit-details-marker {
	display: none;
}

.fp-sof-article__content .wp-block-details summary::after {
	content: '+';
	position: absolute;
	top: 50%;
	right: 4px;
	font-size: 26px;
	line-height: 1;
	transform: translateY(-50%);
}

.fp-sof-article__content .wp-block-details[open] summary::after {
	content: '−';
}

.fp-sof-article__content .wp-block-details > :not(summary) {
	margin: 0 0 16px !important;
}

/* Definition box (group block style "Definition") and the indented text after it */

.fp-sof-article__content .is-style-sof-definition {
	padding: 40px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 19px 19px rgba(0, 0, 0, 0.15);
}

/* Without theme.json WordPress wraps the group content in .wp-block-group__inner-container */
.fp-sof-article__content .is-style-sof-definition > *,
.fp-sof-article__content .is-style-sof-definition > .wp-block-group__inner-container > * {
	margin: 0 !important;
}

.fp-sof-article__content .is-style-sof-definition > * + *,
.fp-sof-article__content .is-style-sof-definition > .wp-block-group__inner-container > * + * {
	margin-top: 20px !important;
}

.fp-sof-article__content .is-style-sof-definition + * {
	margin-top: 126px !important;
}

.fp-sof-article__content .is-style-sof-definition ~ * {
	margin-left: 32px;
	margin-right: 16px;
}

/* Other articles from A–Z */

.fp-sof-others {
	padding: 130px 0 120px;
	background: var(--sof-black);
	color: #fff;
}

.fp-sof-others .fp-sof-container {
	max-width: 1200px; /* same content width as the sections (blog below) */
}

.fp-sof-others__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.fp-sof-entry .fp-sof-others__eyebrow {
	font-size: 14px !important;
}

.fp-sof-others__back {
	padding-bottom: 5px;
	border-bottom: 1px solid #fff;
	font-size: 16px;
	line-height: 1;
	color: #fff;
}

.fp-sof-entry .fp-sof-others__title {
	margin-top: 17px;
	font-size: 40px !important;
	line-height: 1.2 !important;
	color: #fff;
}

.fp-sof-entry .fp-sof-others__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 31px;
	margin: 60px 0 0 !important; /* 87px in the design, which includes the (not yet available) images */
	padding: 0;
	list-style: none;
}

.fp-sof-entry .fp-sof-other {
	margin: 0;
	padding: 0;
	list-style: none;
}

.fp-sof-other a {
	display: flex;
	flex-direction: column;
	gap: 14px;
	height: 100%;
	color: #fff;
}

.fp-sof-other__label {
	padding-bottom: 14px;
	border-bottom: 1px solid var(--sof-border);
	font-size: 14px;
	line-height: 1.4;
	text-transform: uppercase;
	color: var(--sof-text-muted);
}

.fp-sof-other__title {
	margin-top: 6px;
	font-size: 24px;
	line-height: 1.2;
}

.fp-sof-other__text {
	font-size: 16px;
	line-height: 1.4;
	color: var(--sof-text-muted);
}

.fp-sof-other__more {
	margin-top: auto;
	padding-top: 6px;
}

.fp-sof-other a:hover .fp-sof-arrow,
.fp-sof-other a:focus-visible .fp-sof-arrow {
	border-color: #fff;
	background: linear-gradient(324deg, #aaff8e 0%, #1cc2ce 70%);
	color: #fff;
}

.fp-sof-other a:hover .fp-sof-other__more > span:last-child,
.fp-sof-other a:focus-visible .fp-sof-other__more > span:last-child {
	color: #1cc3ce;
}

/* Responsive */

@media (max-width: 1100px) {
	.fp-sof-entry__layout {
		grid-template-columns: 260px minmax(0, 1fr);
		--sof-column-gap: 32px;
		padding-left: 24px;
		padding-right: 24px;
	}

	.fp-sof-toc--aside {
		padding: 28px;
	}

	.fp-sof-article {
		padding: 36px 32px 64px;
	}

	.fp-sof-article__content .is-style-sof-definition ~ * {
		margin-left: 0;
		margin-right: 0;
	}
}

@media (max-width: 900px) {
	.fp-sof-entry__layout {
		display: block;
		padding: 0;
	}

	.fp-sof-entry__aside {
		display: none;
	}

	.fp-sof-entry__crumbs {
		display: flex;
		gap: 8px;
		padding: 20px 16px 0;
		font-size: 13px;
		line-height: 18px;
		color: var(--sof-meta);
	}

	.fp-sof-entry__crumbs a {
		color: #fff;
	}

	.fp-sof-entry .fp-sof-entry__term {
		padding: 15px 16px 0;
		font-size: 36px !important;
		line-height: 47px !important;
	}

	.fp-sof-article {
		padding: 15px 20px 40px;
		background: var(--sof-black);
		color: #fff;
	}

	.fp-sof-article__head {
		padding: 0 0 28px;
	}

	.fp-sof-entry .fp-sof-article__title {
		font-size: 20px !important;
		line-height: 27px !important;
		letter-spacing: 0.2px !important;
		color: #fff;
	}

	.fp-sof-article__title::after {
		display: none;
	}

	.fp-sof-meta--inline {
		display: flex;
		margin-top: 16px;
		padding: 0;
	}

	/* From the intro on, the article is a light sheet */
	.fp-sof-article__intro,
	.fp-sof-article__mobile-nav,
	.fp-sof-article__content,
	.fp-sof-article__disclaimer,
	.fp-sof-article__foot {
		margin-left: -20px;
		margin-right: -20px;
		padding-left: 20px;
		padding-right: 20px;
		background: var(--sof-paper);
	}

	.fp-sof-article__intro {
		margin-top: 0;
		padding-top: 28px;
	}

	/* on the light sheet: no margin (it would show the dark page), the rule is drawn as background */
	.fp-sof-article__disclaimer {
		margin-top: 0;
		padding-top: 57px;
		border-top: 0;
		background: linear-gradient(var(--sof-border), var(--sof-border)) 20px 32px / calc(100% - 40px) 1px no-repeat, var(--sof-paper);
	}

	.fp-sof-article__intro + .fp-sof-article__mobile-nav + .fp-sof-article__content,
	.fp-sof-article__intro + .fp-sof-article__content {
		margin-top: 0;
	}

	.fp-sof-article__mobile-nav {
		display: flex;
		flex-direction: column;
		gap: 60px;
		padding-top: 60px;
		padding-bottom: 60px;
	}

	.fp-sof-takeaways {
		padding: 21px 21px 30px;
		border: 1px solid var(--sof-border);
	}

	.fp-sof-entry .fp-sof-takeaways__title {
		margin-bottom: 14px;
		font-size: 18px !important;
		line-height: 27px !important;
		text-align: left;
	}

	.fp-sof-entry .fp-sof-takeaways__list {
		gap: 14px;
	}

	.fp-sof-entry .fp-sof-takeaways__list li {
		padding-left: 22px;
		font-size: 15px !important;
		line-height: 22px !important;
	}

	.fp-sof-takeaways__list li::before {
		top: 7px;
		width: 10px;
		height: 10px;
	}

	.fp-sof-toc--inline {
		border-top: 1px solid var(--sof-ink);
		border-bottom: 1px solid var(--sof-ink);
		color: var(--sof-ink);
	}

	.fp-sof-toc--inline summary {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 17px 0;
		list-style: none;
		cursor: pointer;
	}

	.fp-sof-toc--inline summary::-webkit-details-marker {
		display: none;
	}

	.fp-sof-toc__title {
		font-size: 18px;
		line-height: 27px;
	}

	.fp-sof-toc__toggle {
		font-size: 14px;
		line-height: 20px;
	}

	.fp-sof-toc__toggle::after {
		content: ' +';
	}

	.fp-sof-toc--inline[open] .fp-sof-toc__toggle::after {
		content: ' −';
	}

	.fp-sof-toc--inline .fp-sof-toc__list {
		padding-bottom: 20px !important;
	}

	.fp-sof-entry .fp-sof-toc--inline .fp-sof-toc__item {
		font-size: 15px !important;
		line-height: 22px !important;
	}

	.fp-sof-toc--inline .fp-sof-toc__item a {
		color: var(--sof-ink);
	}

	.fp-sof-toc--inline .fp-sof-toc__item--h3 a {
		color: var(--sof-caption);
	}

	.fp-sof-article__content {
		padding-bottom: 40px;
		font-size: 16px;
	}

	.fp-sof-entry .fp-sof-article__content p,
	.fp-sof-entry .fp-sof-article__content li {
		font-size: 16px !important;
		line-height: 1.6 !important;
		letter-spacing: 0.16px !important;
	}

	.fp-sof-entry .fp-sof-article__content h2 {
		font-size: 22px !important;
		line-height: 30px !important;
	}

	.fp-sof-entry .fp-sof-article__content h3 {
		font-size: 20px !important;
		line-height: 30px !important;
	}

	.fp-sof-article__content h2::after {
		margin-top: 14px;
	}

	.fp-sof-article__content > * + * {
		margin-top: 20px !important;
	}

	.fp-sof-article__content .is-style-sof-definition {
		padding: 25px;
	}

	.fp-sof-article__content .is-style-sof-definition + * {
		margin-top: 60px !important;
	}

	.fp-sof-article__foot {
		display: flex;
		justify-content: space-between;
		gap: 16px;
		padding-top: 20px;
		padding-bottom: 40px;
		font-size: 13px;
		line-height: 20px;
		color: var(--sof-caption);
	}

	.fp-sof-article__foot a {
		color: var(--sof-ink);
	}

	.fp-sof-others {
		padding: 40px 0 60px;
	}

	.fp-sof-others .fp-sof-container {
		padding-right: 0;
	}

	.fp-sof-others__head {
		padding-right: 16px;
	}

	.fp-sof-entry .fp-sof-others__title {
		margin-top: 18px;
		font-size: 28px !important;
	}

	/* Cards scroll sideways */
	.fp-sof-entry .fp-sof-others__list {
		grid-template-columns: repeat(3, 258px);
		gap: 16px;
		margin-top: 18px !important;
		padding-right: 16px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		scrollbar-width: none;
	}

	.fp-sof-other {
		scroll-snap-align: start;
	}

	.fp-sof-other__title {
		font-size: 20px;
	}

	.fp-sof-other__text {
		font-size: 14px;
	}
}

/* Image lightbox (school-of-flex-entry.js): zoom button around article images, enlarged view in a modal dialog */

.fp-sof-article__content .fp-sof-zoom {
	all: unset;
	position: relative;
	display: block;
	cursor: zoom-in;
}

.fp-sof-article__content .fp-sof-zoom:focus-visible {
	outline: 2px solid var(--sof-ink);
	outline-offset: 4px;
}

.fp-sof-zoom__icon {
	position: absolute;
	right: 10px;
	bottom: 10px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(18, 18, 18, 0.72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center / 20px no-repeat;
	transition: background-color 0.2s, transform 0.2s;
	pointer-events: none;
}

.fp-sof-zoom:hover .fp-sof-zoom__icon,
.fp-sof-zoom:focus-visible .fp-sof-zoom__icon {
	background-color: rgba(18, 18, 18, 0.9);
	transform: scale(1.08);
}

html.fp-sof-lightbox-open {
	overflow: hidden;
}

.fp-sof-lightbox {
	position: fixed;
	inset: 0;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	height: 100%;
	max-height: none;
	margin: 0;
	padding: 64px 24px;
	border: 0;
	background: transparent;
	cursor: zoom-out;
	--lightbox-padding: 128px; /* top + bottom padding */
}

.fp-sof-lightbox[open] {
	display: flex;
	align-items: center;
	justify-content: center;
	animation: fp-sof-lightbox-in 0.2s ease-out;
}

.fp-sof-lightbox::backdrop {
	background: rgba(18, 18, 18, 0.88);
}

.fp-sof-lightbox__img {
	display: block;
	width: min(var(--lightbox-max, 100%), 100%, calc((100vh - var(--lightbox-padding)) * var(--lightbox-ratio, 1)));
	width: min(var(--lightbox-max, 100%), 100%, calc((100dvh - var(--lightbox-padding)) * var(--lightbox-ratio, 1)));
	max-width: none;
	height: auto;
	background: #fff;
}

.fp-sof-lightbox__close {
	all: unset;
	position: absolute;
	top: 12px;
	right: 12px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E") center / 24px no-repeat;
	cursor: pointer;
}

.fp-sof-lightbox__close:hover {
	background-color: rgba(255, 255, 255, 0.12);
}

.fp-sof-lightbox__close:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

@keyframes fp-sof-lightbox-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
	.fp-sof-lightbox[open] {
		animation: none;
	}
}

@media (max-width: 767px) {
	.fp-sof-lightbox {
		padding: 64px 12px;
	}

	.fp-sof-zoom__icon {
		right: 6px;
		bottom: 6px;
		width: 32px;
		height: 32px;
		background-size: 18px;
	}
}
