.elementor .cdt-download-card {
	box-sizing: border-box;
	border: 1px solid transparent;
	color: inherit;
	cursor: pointer;
	text-decoration: none;
	transition: all 200ms ease;
}

.elementor .cdt-download-card:visited {
	color: inherit;
}

.elementor .cdt-download-card:hover,
.elementor .cdt-download-card:focus-visible {
	border-color: var(--secondary-10);
	background-color: var(--black-20);
}

.elementor .cdt-download-card:hover .cdt-download-card__title,
.elementor .cdt-download-card:focus-visible .cdt-download-card__title {
	text-decoration: underline;
	text-decoration-thickness: 0.1em;
	text-underline-offset: 0.15em;
}

.elementor .cdt-download-card:focus-visible {
	outline: 0.1875rem solid var(--accent);
	outline-offset: 0.25rem;
}

.cdt-download-card__meta {
	display: block;
	margin-block-start: 0.375rem;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
}

.elementor-widget-theme-post-content .wp-block-file {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.25rem 1.5rem;
	box-sizing: border-box;
	margin-block: 1rem;
	padding: 1.25rem;
	border: 1px solid var(--secondary-10);
	background-color: var(--offwhite);
	color: var(--secondary);
}

.elementor-widget-theme-post-content .wp-block-file > a:first-of-type {
	grid-column: 1;
	font-family: "Afacad Flux", sans-serif;
	font-size: 1.125rem;
	font-weight: 600;
	line-height: 1.4;
	color: inherit;
	text-decoration: none;
}

.elementor-widget-theme-post-content .wp-block-file > a:first-of-type:hover {
	text-decoration: underline;
	text-decoration-thickness: 0.1em;
	text-underline-offset: 0.15em;
}

.elementor-widget-theme-post-content .wp-block-file .file-meta {
	grid-column: 1;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
}

.elementor-widget-theme-post-content .wp-block-file .wp-block-file__button {
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: center;
	min-height: 2.75rem;
	margin: 0;
	padding: 0.625rem 1.25rem;
	border: 1px solid var(--primary);
	border-radius: 0;
	background-color: var(--primary);
	color: var(--secondary);
	font-family: "Afacad Flux", sans-serif;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}

.elementor-widget-theme-post-content .wp-block-file .wp-block-file__button:hover {
	border-color: var(--secondary);
	background-color: var(--secondary);
	color: var(--white);
}

.elementor-widget-theme-post-content .wp-block-file a:focus-visible {
	outline: 0.1875rem solid var(--accent);
	outline-offset: 0.25rem;
}

.elementor-widget-theme-post-content .wp-block-file__embed {
	grid-column: 1 / -1;
	width: 100%;
}

@media (max-width: 767px) {
	.elementor-widget-theme-post-content .wp-block-file {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.5rem;
		padding: 1rem;
	}

	.elementor-widget-theme-post-content .wp-block-file .wp-block-file__button {
		grid-column: 1;
		grid-row: auto;
		width: 100%;
		margin-block-start: 0.5rem;
		text-align: center;
	}
}
