/**
 * World Speed Test — international package hub pages
 */
.wst-pkg-main {
  padding-bottom: 3rem;
}

.wst-pkg-breadcrumb {
  font-size: 0.85rem;
  color: var(--wst-body, #374151);
  margin: 1rem 0 0.5rem;
}

.wst-pkg-breadcrumb a {
  color: var(--wst-accent, #2563eb);
  text-decoration: none;
}

.wst-pkg-breadcrumb a:hover {
  text-decoration: underline;
}

.wst-pkg-hero {
  margin: 0.5rem 0 2rem;
  max-width: 48rem;
}

.wst-pkg-hero .hero-title {
  color: var(--wst-heading, #0f172a);
  margin-bottom: 1rem;
}

.wst-pkg-hero__p {
  color: var(--wst-body, #374151);
  font-size: 1.125rem;
  line-height: 1.7;
  margin: 0 0 0.85rem;
}

.section-lead {
  color: var(--wst-body, #374151);
  margin: 0 0 1rem;
  max-width: 42rem;
}

/* Provider cards */
.wst-pkg-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1rem;
}

.wst-pkg-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 1.15rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.wst-pkg-card:hover {
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 8px 28px rgba(37, 99, 235, 0.12);
}

.wst-pkg-card__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.wst-pkg-card__logo {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 10px;
  background: var(--pkg-brand, #2563eb);
  color: #fff;
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wst-pkg-card__name {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--wst-heading, #0f172a);
}

.wst-pkg-card__tech {
  margin: 0.15rem 0 0;
  font-size: 0.8rem;
  color: var(--wst-body, #374151);
}

.wst-pkg-card__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 0.75rem;
  margin: 0;
  font-size: 0.82rem;
}

.wst-pkg-card__stats dt {
  color: var(--wst-body, #374151);
  font-weight: 500;
}

.wst-pkg-card__stats dd {
  margin: 0.1rem 0 0;
  font-weight: 700;
  color: var(--wst-heading, #0f172a);
}

.wst-pkg-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

/* Buttons */
.wst-pkg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.wst-pkg-btn--primary {
  background: #2563eb;
  color: #fff;
  border: 1px solid #2563eb;
}

.wst-pkg-btn--primary:hover {
  background: #1d4ed8;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.wst-pkg-btn--ghost {
  background: #fff;
  color: #2563eb;
  border: 1px solid #dbeafe;
}

.wst-pkg-btn--ghost:hover {
  background: #dbeafe;
}

/* Tables */
.wst-pkg-table-wrap {
  overflow-x: auto;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.wst-pkg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  min-width: 36rem;
}

.wst-pkg-table th,
.wst-pkg-table td {
  padding: 0.7rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
  color: var(--wst-body, #374151);
}

.wst-pkg-table thead th {
  background: #f8fafc;
  color: var(--wst-heading, #0f172a);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.wst-pkg-table tbody tr:hover {
  background: #f8fafc;
}

.wst-pkg-table tbody th {
  font-weight: 700;
  color: var(--wst-heading, #0f172a);
}

/* Provider sections */
.wst-pkg-provider-section {
  margin-bottom: 1.25rem;
}

.wst-pkg-provider-intro {
  color: var(--wst-body, #374151);
  line-height: 1.65;
  margin: 0 0 1rem;
  max-width: 48rem;
}

.wst-pkg-provider-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0.75rem;
}

.wst-pkg-related-h {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--wst-heading, #0f172a);
  margin: 0.75rem 0 0.35rem;
}

.wst-pkg-related-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.wst-pkg-related-list a {
  color: #2563eb;
  font-weight: 500;
  text-decoration: none;
}

.wst-pkg-related-list a:hover {
  text-decoration: underline;
}

/* Long-form FAQ */
.wst-pkg-faq {
  max-width: 48rem;
}

.wst-pkg-faq-block {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.wst-pkg-faq-block:last-child {
  border-bottom: none;
}

.wst-pkg-faq-block__h {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--wst-heading, #0f172a);
  margin: 0 0 0.65rem;
  line-height: 1.35;
}

.wst-pkg-faq-block p {
  color: var(--wst-body, #374151);
  line-height: 1.7;
  margin: 0 0 0.65rem;
}

.wst-pkg-footer-nav {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

@media (max-width: 640px) {
  .wst-pkg-hero__p {
    font-size: 1rem;
  }

  .wst-pkg-card-grid {
    grid-template-columns: 1fr;
  }
}
