/* Downloads page */

.downloads-page-wrap {
  background: #fff;
}

.dl-hero .about-hero-bg img {
  object-position: center 20%;
}

.dl-page {
  padding: 64px 0 72px;
  background: #f5f7f7;
}

.dl-intro {
  margin-bottom: 32px;
}

.dl-intro h2 {
  margin: 10px 0 12px;
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  line-height: 1.12;
  color: var(--teal);
}

.dl-intro h2 em {
  font-style: normal;
  color: var(--gold);
}

.dl-intro p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.7;
  color: #5a6c6b;
}

.dl-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.dl-feature {
  display: flex;
  flex-direction: column;
  min-height: 240px;
  padding: 28px 26px;
  border-radius: 20px;
  color: #fff;
  box-shadow: 0 20px 48px rgba(15, 39, 68, 0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dl-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px rgba(15, 39, 68, 0.18);
  color: #fff;
}

.dl-feature--teal {
  background: linear-gradient(145deg, var(--teal) 0%, #002824 100%);
}

.dl-feature--gold {
  background: linear-gradient(145deg, #8a6500 0%, var(--gold) 55%, #ffd966 100%);
  color: var(--teal);
}

.dl-feature-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
}

.dl-feature h3 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  line-height: 1.2;
}

.dl-feature p {
  margin: 0;
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.65;
  opacity: 0.92;
}

.dl-feature-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.86rem;
  font-weight: 700;
}

.dl-feature--gold .dl-feature-action {
  border-top-color: rgba(30, 58, 95, 0.15);
}

.dl-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.dl-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dl-filter {
  border: 1px solid rgba(30, 58, 95, 0.12);
  background: #fff;
  color: var(--teal);
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.dl-filter:hover,
.dl-filter.active {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.dl-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: min(100%, 280px);
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(30, 58, 95, 0.12);
}

.dl-search i {
  color: var(--gold);
}

.dl-search input {
  width: 100%;
  border: 0;
  outline: none;
  font-family: inherit;
  font-size: 0.86rem;
  color: var(--teal);
  background: transparent;
}

.dl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.dl-card {
  display: flex;
  flex-direction: column;
  padding: 22px 20px 20px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(30, 58, 95, 0.08);
  box-shadow: 0 8px 24px rgba(15, 39, 68, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dl-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(15, 39, 68, 0.1);
}

.dl-card.is-hidden {
  display: none;
}

.dl-card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 12px;
  background: rgba(255, 184, 0, 0.15);
  color: var(--teal);
  font-size: 1.15rem;
}

.dl-card-type {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8a9998;
}

.dl-card h3 {
  margin: 0 0 8px;
  font-size: 0.98rem;
  line-height: 1.35;
  color: var(--teal);
}

.dl-card p {
  flex: 1;
  margin: 0 0 16px;
  font-size: 0.82rem;
  line-height: 1.6;
  color: #5a6c6b;
}

.dl-card-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
}

.dl-card-btn:hover {
  color: var(--gold);
}

.dl-empty {
  margin: 24px 0 0;
  padding: 40px 24px;
  text-align: center;
  border-radius: 16px;
  background: #fff;
  border: 1px dashed rgba(30, 58, 95, 0.15);
  color: #6b7c7b;
}

.dl-help {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 40px;
  padding: 22px 24px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(30, 58, 95, 0.08);
}

.dl-help-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(30, 58, 95, 0.08);
  color: var(--gold);
  font-size: 1.2rem;
}

.dl-help h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
  color: var(--teal);
}

.dl-help p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.65;
  color: #5a6c6b;
}

.dl-help a {
  color: var(--teal);
  font-weight: 600;
}

@media (max-width: 960px) {
  .dl-feature-grid,
  .dl-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .dl-page {
    padding: 48px 0 56px;
  }

  .dl-filters,
  .dl-search {
    width: 100%;
  }

  .dl-help {
    flex-direction: column;
  }
}
