/* Product Downloads — neutral cards, brand-friendly; documented for non-devs */

/* Container + grid */
.u-dl { margin-block: clamp(16px, 1.8vw, 32px); }
.u-dl__list { display: grid; gap: 14px; }

/* Card */
.u-dl__item {
  background: var(--e-global-color-4892045, #F8F8F8);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  padding: 0;
}

/* Full-card link (entire card clickable) */
.u-dl a.u-dl__cardlink{
  display: block;
  padding: 10px;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
}

/* Visible focus for keyboard users */
.u-dl a.u-dl__cardlink:focus-visible{
  outline: 2px solid var(--e-global-color-5eb8520, #eb6100);
  outline-offset: 3px;
}

/* Title: neutral by default (no special color, no underline) */
.u-dl a.u-dl__cardlink .u-dl__title{
  color: inherit;
  text-decoration: none;
  transition: color .15s ease;
}

/* Only on hover/focus: orange */
.u-dl a.u-dl__cardlink:hover .u-dl__title,
.u-dl a.u-dl__cardlink:focus-visible .u-dl__title{
  color: var(--e-global-color-5eb8520, #eb6100);
  text-decoration: none;
}

/* Layout inside card */
.u-dl__inner {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
}

/* Thumbnail */
.u-dl__thumb {
  width: 72px; height: 72px;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.u-dl__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Text */
.u-dl__body { min-width: 0; }
.u-dl__title { font-weight: 700; line-height: 1.35; margin: 2px 0 4px 0; }

/* Make all links inside the downloads container orange (except actual buttons) */
.u-dl :where(a:not(.elementor-button, .button, .btn)) {
  color: var(--e-global-color-5eb8520, #eb6100);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .15s ease, text-decoration-color .15s ease;
}
.u-dl :where(a:not(.elementor-button, .button, .btn)):hover,
.u-dl :where(a:not(.elementor-button, .button, .btn)):focus {
  color: color-mix(in oklab, var(--e-global-color-5eb8520, #eb6100) 85%, black);
  text-decoration-thickness: 2px;
}
.u-dl :where(a:not(.elementor-button, .button, .btn)):focus-visible {
  outline: 2px solid var(--e-global-color-5eb8520, #eb6100);
  outline-offset: 2px;
  border-radius: 4px;
}
.u-dl :where(a:not(.elementor-button, .button, .btn)):active {
  color: color-mix(in oklab, var(--e-global-color-5eb8520, #eb6100) 70%, black);
}

/* Meta line (we show only file size) */
.u-dl__meta { display: flex; flex-wrap: wrap; gap: 10px; font-size: .92rem; opacity: .9; }
.u-dl__meta span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }

/* Action button (round) */
.u-dl__btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 45px; height: 45px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background-image: linear-gradient(45deg, var(--color-primary, #EB6100), var(--color-secondary, #EC174C));
  transition: transform .12s ease, box-shadow .12s ease;
  cursor: pointer;
}
.u-dl__btn:hover,
.u-dl a.u-dl__cardlink:hover .u-dl__btn{
  transform: scale(1.06);
  box-shadow: 0 1px 0 rgba(0,0,0,.06);
}

/* Icons w/ separate color control */
.u-dl__icon { width: 18px; height: 18px; display: inline-block; }
.u-dl__icon--download { color: #fff; } /* white download icon */
.u-dl__icon--folder  { color: var(--e-global-color-8411430, #E0e0e0); } /* black folder icon */

/* Mobile tweaks */
@media (max-width: 640px) {
  .u-dl__inner { grid-template-columns: 56px 1fr auto; }
  .u-dl__thumb { width: 56px; height: 56px; }
  /* Mobile: hide download button (card is fully clickable) */
  .u-dl__action { display: none; }
  /* Remove the 3rd column so layout stays clean */
  .u-dl__inner { grid-template-columns: 56px 1fr; /* thumb + text */
}

/* SR-only helper (shared naming with FAQ, in case both appear) */
.u-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,1px,1px); white-space: nowrap; border: 0;
}