/**
 * Canada eTA vs visa reference page (template-canada-entry-requirements.php).
 */

.zt-canada-entry__article {
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.zt-canada-entry__header {
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
  max-width: 48rem;
}

.zt-canada-entry__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--zb-heading, #0f172a);
  line-height: 1.15;
}

.zt-canada-entry__intro {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--zb-text-light, #475569);
}

.zt-canada-entry__links {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.zt-canada-entry__link {
  color: var(--zb-primary, #1a5276);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.zt-canada-entry__link:hover {
  text-decoration-thickness: 2px;
}

.zt-canada-entry__sep {
  margin: 0 0.35rem;
  color: var(--zb-border, #cbd5e1);
}

.zt-canada-entry__conditional {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--zb-text-light, #475569);
}

.zt-canada-entry__conditional a {
  font-weight: 600;
  color: var(--zb-primary, #1a5276);
}

.zt-canada-entry__section {
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.zt-canada-entry__h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 800;
  color: var(--zb-heading, #0f172a);
}

.zt-canada-entry__note {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--zb-text-light, #64748b);
}

.zt-canada-entry__table-wrap {
  overflow-x: auto;
  border: 1px solid var(--zb-border, #e2e8f0);
  border-radius: 10px;
  background: var(--zb-surface, #fff);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.zt-canada-entry__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.zt-canada-entry__table thead th {
  text-align: left;
  padding: 0.65rem 0.85rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--zb-border, #e2e8f0);
  font-weight: 700;
  color: var(--zb-heading, #0f172a);
  position: sticky;
  top: 0;
  z-index: 1;
}

.zt-canada-entry__table tbody td {
  padding: 0.5rem 0.85rem;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: top;
  color: var(--zb-text, #334155);
  line-height: 1.45;
}

.zt-canada-entry__table tbody tr:nth-child(even) td {
  background: rgba(248, 250, 252, 0.6);
}

.zt-canada-entry__table tbody tr:last-child td {
  border-bottom: none;
}

.zt-canada-entry__footer-note {
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--zb-text-light, #64748b);
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid var(--zb-border, #e2e8f0);
}

.zt-canada-entry__footer-note p {
  margin: 0;
}

@media (max-width: 520px) {
  .zt-canada-entry__table thead th:nth-child(2),
  .zt-canada-entry__table tbody td:nth-child(2) {
    border-left: 1px solid #f1f5f9;
  }
}
