/* ProPrijevodi — document checklists / downloads page
   Loaded from renderHead() as /assets/css/downloads.css?v=1
   (assets/css/style.css is read-only for the agent, so this lives separately) */

.downloads-section {
  padding: 80px 0 60px;
  background: #f8fafc;
}

.downloads-intro {
  max-width: 780px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
  color: var(--contrast-3);
}

.downloads-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.download-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 2px 16px rgba(10,37,64,0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.download-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(10,37,64,0.12);
}

.download-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.download-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.download-icon svg {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
  fill: none;
}

.download-card-head h2 {
  font-size: 19px;
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
  color: var(--navy);
}

.download-card-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--contrast-3);
  margin: 0;
}

.download-doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.download-doc-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--contrast-2);
}

.download-doc-list li svg {
  width: 15px;
  height: 15px;
  min-width: 15px;
  stroke: var(--accent);
  margin-top: 4px;
}

.download-card-footer {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #eef2f7;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.download-count {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--contrast-3);
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 11px 20px;
  border-radius: 50px;
  white-space: nowrap;
  transition: background-color 0.3s;
}

.download-btn:hover {
  background: var(--accent-2);
  color: #ffffff;
}

.download-btn svg {
  width: 15px;
  height: 15px;
  stroke: #ffffff;
  flex-shrink: 0;
}

.downloads-note {
  text-align: center;
  font-size: 13px;
  color: var(--contrast-3);
  margin-top: 26px;
}

.downloads-help {
  padding: 0 0 80px;
  background: #f8fafc;
}

.downloads-help-box {
  background: var(--navy);
  border-radius: 16px;
  padding: 42px 32px;
  text-align: center;
}

.downloads-help-box h2 {
  color: #ffffff;
  font-size: 24px;
  margin-bottom: 12px;
}

.downloads-help-box p {
  color: rgba(255,255,255,0.8);
  max-width: 640px;
  margin: 0 auto 24px;
  font-size: 15px;
  line-height: 1.75;
}

/* Promo band on the blog page */
.downloads-promo {
  padding: 0 0 80px;
  background: #ffffff;
}

.downloads-promo-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: #fff3e0;
  border-left: 5px solid var(--accent);
  border-radius: 0 12px 12px 0;
  padding: 28px 32px;
}

.downloads-promo-box h2 {
  font-size: 20px;
  margin-bottom: 6px;
}

.downloads-promo-box p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--contrast-3);
  margin: 0;
  max-width: 620px;
}

@media (max-width: 940px) {
  .downloads-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .downloads-section {
    padding: 60px 0 40px;
  }
  .downloads-help {
    padding-bottom: 60px;
  }
  .downloads-promo {
    padding-bottom: 60px;
  }
  .download-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Header has six menu entries now — keep them from overflowing on smaller desktops */
@media (min-width: 941px) and (max-width: 1140px) {
  .main-nav {
    gap: 16px;
  }
  .main-nav a {
    font-size: 13.5px;
  }
  .site-header .logo img {
    max-width: 240px;
  }
}
