/*
 * WordPress Download Manager was intentionally upgraded 3.3.21 -> 3.3.66 for
 * PHP 8.5 compat (docs/REBUILD-PLAN.md), but the upstream front.min.css
 * changed button/caption sizing between those versions. Restore the legacy
 * sizing here instead of downgrading the plugin. Scoped to .w3eden — the
 * wrapper the plugin renders around every download widget.
 */
/* border-radius (4px) and text color (#fff) already come out correct as-is:
   both are set by rules unrelated to the plugin-version bump — a per-page
   inline override (.wpdm-download-link.btn.btn-primary{border-radius:4px})
   and .btn-primary{color:#fff} respectively — present in both versions.
   Only font-size/line-height/padding/font-weight regressed. */
.w3eden .wpdm-download-link.btn {
	font-weight: 600;
	padding: 6px 15px;
	font-size: 10pt;
	line-height: 1.8;
	/* new front.min.css added border:1px solid transparent (box-sizing:
	   border-box adds it to the box size, +2px width/height vs legacy's
	   border:none). */
	border: none;
	/* new front.min.css also added min-height:38px, overriding the natural
	   padding+line-height height (~36px, legacy had no min-height at all). */
	min-height: 0;
}
.w3eden .text-small {
	font-size: 80%;
	font-weight: 400;
}
/* Legacy's Apply::uiColors() never output --clr-sec, so .text-muted just
   inherited the ambient text color instead of an actual muted gray. The
   plugin upgrade fixed --clr-sec, changing this caption's color vs. legacy. */
.w3eden .text-muted {
	color: inherit !important;
}
/* Legacy: .w3eden .card h3 { font-size: 14pt; ... } — package-title sits
   inside .card but the new front.min.css dropped that override, leaving it
   at the generic h3 size (1.5rem). */
.w3eden .card h3 {
	margin: 0;
	padding: 0;
	font-size: 14pt;
	font-weight: 700;
	/* Legacy's base h1-h6 rule used line-height:1.2; the new front.min.css
	   base rule uses 1.3, adding ~1.9px height at this font-size. */
	line-height: 1.2;
}
/* Legacy: border-radius:var(--border-radius-regular) (3px), border-color
   #e5e5e5. New front.min.css uses --radius-lg (12px) and #e2e8f0 instead. */
.w3eden .card {
	border-radius: 3px;
	border-color: #e5e5e5;
}
/* Legacy: .mb-2/.mb-3/.mb-4 all resolve to a flat 15px. New front.min.css
   gives each its own rem-based value (.5/1/1.5rem) instead. */
.w3eden .mb-2,
.w3eden .mb-3,
.w3eden .mb-4 {
	margin-bottom: 15px !important;
}
/* Legacy: .mr-3 { margin-right: 12px !important; } — dropped entirely from
   the new front.min.css (no rule at all), collapsing the gap between the
   file-type icon and the package title/caption. */
.w3eden .mr-3 {
	margin-right: 12px !important;
}
/* Legacy: .media { display:flex; align-items:flex-start; } — no gap at all;
   spacing between icon/title/button came only from .mr-3/.ml-3 margins. New
   front.min.css added gap:1rem, stacking on top of the still-present .mr-3
   margin. */
.w3eden .media {
	gap: 0;
}
