.dse-entry {
	--dse-entry-radius: 20px;
	--dse-entry-radius-lg: 28px;
	--dse-entry-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
	--dse-mask-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--dse-mask-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E");
	--dse-mask-info: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v5M12 8v.01'/%3E%3C/svg%3E");
	max-width: var(--dse-measure);
	color: var(--dse-ink);
	font-size: 18px;
	line-height: 32px;

	& > *,
	& .dse-block-group > *,
	& .dse-block-group__inner > * {
		margin-block: 0;
	}

	& > * + *,
	& .dse-block-group > * + *,
	& .dse-block-group__inner > * + * {
		margin-top: var(--dse-space-5);
	}

	& > p:first-child:not([class*="dse-style-"]),
	& > p:empty:first-child + p:not([class*="dse-style-"]) {
		font-size: 21px;
		line-height: 34px;
		font-weight: 500;
	}

	&.dse-entry > p:empty {
		display: none;
	}

	&.dse-entry > p:empty:first-child + * {
		margin-top: 0;
	}

	& :is(h2, h3, h4) {
		color: var(--dse-ink);
		font-family: var(--dse-font-sans);
		font-weight: 800;
		scroll-margin-top: calc(var(--dse-article-sticky-top, 128px) + 8px);
	}

	& h2 {
		margin-top: var(--dse-space-8);
		font-size: 30px;
		line-height: 38px;
		letter-spacing: -0.02em;
	}

	& h3 {
		margin-top: 40px;
		font-size: 22px;
		line-height: 30px;
		letter-spacing: -0.01em;
	}

	& h4 {
		margin-top: var(--dse-space-6);
		font-size: 19px;
		line-height: 28px;
	}

	& :is(h2, h3, h4) + * {
		margin-top: var(--dse-space-3);
	}

	& > h2:first-child,
	& :is(.dse-block-group, .dse-block-group__inner) > :is(h2, h3):first-child {
		margin-top: 0;
	}

	& a:not(.dse-block-button__link) {
		color: var(--dse-primary);
		font-weight: 600;
		text-decoration: underline;
		text-decoration-color: color-mix(in srgb, var(--dse-brand-main) 40%, transparent);
		text-decoration-thickness: 1.5px;
		text-underline-offset: 3px;
		transition: text-decoration-color 0.2s, color 0.2s;
	}

	& a:not(.dse-block-button__link):hover {
		color: var(--dse-primary-hover);
		text-decoration-color: currentColor;
		text-decoration-thickness: 2px;
	}

	& strong {
		color: var(--dse-ink);
		font-weight: 800;
	}

	& :is(ul, ol):not([class*="dse-style-"]) {
		padding-left: 1.4em;
	}

	& li + li {
		margin-top: var(--dse-space-2);
	}

	& li::marker {
		color: var(--dse-primary);
		font-weight: 800;
	}

	& .dse-block-image {
		margin-block: var(--dse-space-7);
	}

	& .dse-block-image img {
		display: block;
		width: 100%;
		height: auto;
		border-radius: var(--dse-entry-radius);
	}

	& .dse-block-image figcaption {
		margin-top: var(--dse-space-3);
		color: var(--dse-ink-muted);
		font-size: 14px;
		line-height: 22px;
		text-align: center;
	}

	& .dse-block-table {
		overflow-x: auto;
		border: 1px solid var(--dse-line);
		border-radius: var(--dse-entry-radius);
	}

	& .dse-block-table table {
		width: 100%;
		margin: 0;
		border-collapse: collapse;
		font-size: 16px;
		line-height: 26px;
	}

	& .dse-block-table thead {
		border: 0;
		background: var(--dse-surface-alt);
	}

	& .dse-block-table :is(th, td) {
		padding: 14px 18px;
		border: 0;
		border-bottom: 1px solid var(--dse-line);
		text-align: left;
		vertical-align: top;
	}

	& .dse-block-table th {
		color: var(--dse-ink);
		font-size: 14px;
		font-weight: 800;
		letter-spacing: 0.02em;
	}

	& .dse-block-table tbody tr:last-child td {
		border-bottom: 0;
	}

	& .dse-block-details {
		border-block: 1px solid var(--dse-line);
	}

	& .dse-block-details + .dse-block-details {
		margin-top: 0;
		border-top: 0;
	}

	& .dse-block-details > summary {
		position: relative;
		padding: 20px 52px 20px 0;
		list-style: none;
		cursor: pointer;
		color: var(--dse-ink);
		font-size: 18px;
		line-height: 28px;
		font-weight: 800;
	}

	& .dse-block-details > summary::-webkit-details-marker {
		display: none;
	}

	& .dse-block-details > summary::before {
		content: "";
		position: absolute;
		top: 18px;
		right: 0;
		width: 32px;
		height: 32px;
		border-radius: var(--dse-radius-full);
		background: var(--dse-surface-tint);
		transition: background-color 0.2s;
	}

	& .dse-block-details > summary::after {
		content: "";
		position: absolute;
		top: 28px;
		right: 12px;
		width: 8px;
		height: 8px;
		border-right: 2px solid var(--dse-primary);
		border-bottom: 2px solid var(--dse-primary);
		transform: rotate(45deg);
		transition: transform 0.2s;
	}

	& .dse-block-details > summary:hover::before {
		background: color-mix(in srgb, var(--dse-brand-secondary) 40%, var(--dse-surface-tint));
	}

	& .dse-block-details[open] > summary::after {
		transform: translateY(3px) rotate(-135deg);
	}

	& .dse-block-details > :not(summary) {
		margin: 0 0 var(--dse-space-4);
		color: var(--dse-ink-muted);
	}

	& .dse-block-details > :last-child {
		margin-bottom: var(--dse-space-5);
	}

	& .dse-block-separator {
		margin-block: var(--dse-space-7);
		border: 0;
		border-top: 1px solid var(--dse-line);
		opacity: 1;
	}

	& .dse-block-buttons {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: var(--dse-space-3);
	}

	& .dse-block-button__link {
		display: inline-flex;
		align-items: center;
		gap: 10px;
		min-height: 52px;
		padding: 12px 26px;
		border: 2px solid var(--dse-primary);
		border-radius: var(--dse-radius-full);
		background: var(--dse-primary);
		color: var(--dse-on-primary);
		font-family: var(--dse-font-sans);
		font-size: 16px;
		line-height: 24px;
		font-weight: 700;
		text-decoration: none;
		transition: background-color 0.2s, border-color 0.2s, color 0.2s, gap 0.3s var(--dse-entry-ease);
	}

	& .dse-block-button__link::after {
		content: "";
		flex: none;
		width: 18px;
		height: 18px;
		background: currentColor;
		-webkit-mask: var(--dse-mask-arrow) center / contain no-repeat;
		mask: var(--dse-mask-arrow) center / contain no-repeat;
	}

	& .dse-block-button__link:hover {
		gap: 14px;
		border-color: var(--dse-primary-hover);
		background: var(--dse-primary-hover);
		color: var(--dse-on-primary);
	}

	& .dse-style-outline .dse-block-button__link {
		background: transparent;
		color: var(--dse-primary);
	}

	& .dse-style-outline .dse-block-button__link:hover {
		border-color: var(--dse-primary);
		background: var(--dse-surface-tint);
		color: var(--dse-primary-hover);
	}

	& .dse-block-group.dse-style-panel {
		margin-block: var(--dse-space-7);
		padding: 36px 40px;
		border: 1px solid color-mix(in srgb, var(--dse-brand-main) 12%, var(--dse-line));
		border-radius: var(--dse-entry-radius-lg);
		background:
			radial-gradient(24rem 14rem at 100% 0%, color-mix(in srgb, var(--dse-brand-secondary) 22%, transparent), transparent 70%),
			linear-gradient(180deg, var(--dse-surface-tint), var(--dse-surface-alt));
	}

	& .dse-block-group.dse-style-cta {
		--dse-primary: var(--dse-accent);
		--dse-primary-hover: var(--dse-accent-hover);
		--dse-on-primary: var(--dse-on-accent);
		position: relative;
		isolation: isolate;
		overflow: hidden;
		margin-block: var(--dse-space-8);
		padding: 44px 48px;
		border-radius: var(--dse-entry-radius-lg);
		background:
			radial-gradient(30rem 20rem at 105% -10%, color-mix(in srgb, var(--dse-brand-main) 75%, transparent), transparent 70%),
			radial-gradient(22rem 16rem at -5% 115%, color-mix(in srgb, var(--dse-brand-secondary) 20%, transparent), transparent 70%),
			var(--dse-surface-dark);
		color: var(--dse-ink-on-dark-muted);
	}

	& .dse-style-cta :is(h2, h3, h4, strong) {
		color: var(--dse-ink-on-dark);
	}

	& .dse-style-cta h2 {
		font-size: 28px;
		line-height: 36px;
	}

	& .dse-style-cta p {
		font-size: 17px;
		line-height: 28px;
	}

	& .dse-style-cta .dse-block-buttons {
		margin-top: var(--dse-space-6);
	}

	& .dse-style-cta .dse-block-button__link {
		box-shadow: 0 12px 32px -12px color-mix(in srgb, var(--dse-brand-secondary) 80%, transparent);
	}

	& .dse-style-cta .dse-style-outline .dse-block-button__link {
		color: var(--dse-accent);
		box-shadow: none;
	}

	& .dse-style-cta .dse-style-outline .dse-block-button__link:hover {
		background: color-mix(in srgb, var(--dse-accent) 14%, transparent);
		color: var(--dse-accent-hover);
	}

	& .dse-style-steps {
		display: grid;
		gap: var(--dse-space-3);
		padding: 0;
		counter-reset: dse-step;
		list-style: none;
	}

	& .dse-style-steps > li {
		position: relative;
		margin: 0;
		padding: 18px 22px 18px 74px;
		border: 1px solid var(--dse-line);
		border-radius: var(--dse-entry-radius);
		background: var(--dse-surface-raised);
		box-shadow: 0 1px 2px color-mix(in srgb, var(--dse-brand-dark) 5%, transparent);
		color: var(--dse-ink-muted);
		font-size: 16px;
		line-height: 26px;
		counter-increment: dse-step;
	}

	& .dse-style-steps > li::before {
		content: counter(dse-step);
		position: absolute;
		top: 18px;
		left: 22px;
		display: grid;
		place-items: center;
		width: 36px;
		height: 36px;
		border-radius: var(--dse-radius-full);
		background: linear-gradient(135deg, var(--dse-primary-hover), var(--dse-brand-main));
		color: var(--dse-on-primary);
		font-size: 15px;
		line-height: 1;
		font-weight: 800;
	}

	& .dse-style-steps > li > strong:first-child {
		display: block;
		margin-bottom: 2px;
		font-size: 17px;
		line-height: 26px;
	}

	& .dse-style-checklist {
		padding: 0;
		list-style: none;
	}

	& .dse-style-checklist > li {
		position: relative;
		padding-left: 40px;
	}

	& .dse-style-checklist > li::before {
		content: "";
		position: absolute;
		top: 3px;
		left: 0;
		width: 26px;
		height: 26px;
		border-radius: var(--dse-radius-full);
		background: var(--dse-primary);
	}

	& .dse-style-checklist > li::after {
		content: "";
		position: absolute;
		top: 9px;
		left: 6px;
		width: 14px;
		height: 14px;
		background: var(--dse-on-primary);
		-webkit-mask: var(--dse-mask-check) center / contain no-repeat;
		mask: var(--dse-mask-check) center / contain no-repeat;
	}

	& .dse-style-label {
		display: flex;
		align-items: center;
		gap: 10px;
		color: var(--dse-primary-hover);
		font-size: 13px;
		line-height: 20px;
		font-weight: 800;
		letter-spacing: 0.1em;
		text-transform: uppercase;
	}

	& .dse-style-label::before {
		content: "";
		width: 8px;
		height: 8px;
		border-radius: var(--dse-radius-full);
		background: var(--dse-primary);
		box-shadow: 0 0 0 4px color-mix(in srgb, var(--dse-brand-main) 18%, transparent);
	}

	& .dse-style-label + * {
		margin-top: var(--dse-space-3);
	}

	& .dse-style-note {
		position: relative;
		padding: 16px 20px 16px 52px;
		border: 1px solid var(--dse-line);
		border-radius: 14px;
		background: var(--dse-surface-alt);
		color: var(--dse-ink-muted);
		font-size: 15px;
		line-height: 24px;
	}

	& .dse-style-note::before {
		content: "";
		position: absolute;
		top: 19px;
		left: 20px;
		width: 18px;
		height: 18px;
		background: var(--dse-primary);
		-webkit-mask: var(--dse-mask-info) center / contain no-repeat;
		mask: var(--dse-mask-info) center / contain no-repeat;
	}

	& .dse-style-note a:not(.dse-block-button__link) {
		font-weight: 700;
	}

	@media (max-width: 639px) {
		font-size: 17px;
		line-height: 30px;

		& > p:first-child:not([class*="dse-style-"]),
		& > p:empty:first-child + p:not([class*="dse-style-"]) {
			font-size: 19px;
			line-height: 31px;
		}

		& h2 {
			margin-top: var(--dse-space-7);
			font-size: 26px;
			line-height: 34px;
		}

		& h3 {
			font-size: 20px;
			line-height: 28px;
		}

		& .dse-block-group.dse-style-panel {
			margin-inline: -8px;
			padding: 24px 20px;
			border-radius: var(--dse-entry-radius);
		}

		& .dse-block-group.dse-style-cta {
			margin-inline: -8px;
			padding: 28px 22px;
			border-radius: var(--dse-entry-radius);
		}

		& .dse-style-cta h2 {
			font-size: 24px;
			line-height: 32px;
		}

		& .dse-style-steps > li {
			padding: 16px 16px 16px 62px;
		}

		& .dse-style-steps > li::before {
			top: 16px;
			left: 16px;
			width: 32px;
			height: 32px;
		}

		& .dse-block-button__link {
			width: 100%;
			justify-content: center;
		}

		& .dse-block-buttons > .dse-block-button {
			width: 100%;
		}
	}
}
