/* Technology landing pages */

.ps-tech {
  --ps-tech-text: #1a2a4a;
  --ps-tech-muted: #5c6b7a;
  --ps-tech-border: #dde3ea;
  --ps-tech-accent: #0066cc;
  --ps-tech-bg: #f5f7fa;
  color: var(--ps-tech-text);
}

.ps-tech-breadcrumbs {
  padding: 16px 0 0;
  font-size: 13px;
  color: var(--ps-tech-muted);
}

.ps-tech-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ps-tech-breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: #9aa8b5;
}

.ps-tech-breadcrumbs a {
  color: var(--ps-tech-accent);
  text-decoration: none;
}

.ps-tech-hero {
  background:
    linear-gradient(135deg, rgba(245, 247, 250, 0.95), rgba(230, 238, 248, 0.9)),
    radial-gradient(circle at 80% 20%, rgba(0, 102, 204, 0.08), transparent 45%);
  border-bottom: 1px solid var(--ps-tech-border);
  padding: 28px 0 40px;
}

.ps-tech-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: center;
}

.ps-tech-kicker {
  margin: 0 0 8px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ps-tech-accent);
  font-weight: 600;
}

.ps-tech-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.15;
}

.ps-tech-lead {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ps-tech-muted);
  max-width: 40rem;
}

.ps-tech-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.ps-tech-highlights li {
  background: #fff;
  border: 1px solid var(--ps-tech-border);
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 13px;
}

.ps-tech-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ps-tech-hero-media {
  border-radius: 12px;
  overflow: hidden;
  background: #e8eef5;
  min-height: 220px;
}

.ps-tech-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ps-tech-sections {
  padding: 36px 0 24px;
  display: grid;
  gap: 28px;
}

.ps-tech-block {
  background: #fff;
  border: 1px solid var(--ps-tech-border);
  border-radius: 12px;
  padding: 22px 24px;
}

.ps-tech-block h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.ps-tech-block h3 {
  margin: 20px 0 10px;
  font-size: 16px;
}

.ps-tech-block ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ps-tech-muted);
  line-height: 1.55;
}

.ps-tech-block li + li {
  margin-top: 8px;
}

.ps-tech-materials li {
  display: grid;
  gap: 2px;
}

.ps-tech-materials span {
  font-size: 14px;
}

.ps-tech-dl {
  margin: 0;
  display: grid;
  gap: 14px;
}

.ps-tech-dl > div {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ps-tech-border);
}

.ps-tech-dl > div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ps-tech-dl dt {
  font-weight: 600;
  color: var(--ps-tech-text);
}

.ps-tech-dl dd {
  margin: 0;
  color: var(--ps-tech-muted);
  line-height: 1.5;
}

.ps-tech-note {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--ps-tech-muted);
}

.ps-tech-note code {
  font-size: 12px;
}

.ps-tech-faq details {
  border-top: 1px solid var(--ps-tech-border);
  padding: 12px 0;
}

.ps-tech-faq details:first-child {
  border-top: 0;
  padding-top: 0;
}

.ps-tech-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--ps-tech-text);
}

.ps-tech-faq p {
  margin: 8px 0 0;
  color: var(--ps-tech-muted);
  line-height: 1.55;
}

.ps-tech-related-cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.ps-tech-related-cards a {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--ps-tech-border);
  border-radius: 10px;
  padding: 14px;
  background: var(--ps-tech-bg);
}

.ps-tech-related-name {
  display: block;
  font-weight: 600;
  color: var(--ps-tech-accent);
  margin-bottom: 6px;
}

.ps-tech-related-desc {
  display: block;
  font-size: 14px;
  color: var(--ps-tech-muted);
  line-height: 1.4;
}

.ps-tech-linklist {
  margin: 0;
  padding-left: 1.15rem;
}

.ps-tech-linklist a {
  color: var(--ps-tech-accent);
}

.ps-tech-more {
  margin: 12px 0 0;
  font-size: 14px;
}

.ps-tech-more a {
  color: var(--ps-tech-accent);
}

/* Hub */
.ps-tech-hub-hero {
  padding: 28px 0 20px;
}

.ps-tech-hub-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(26px, 3vw, 36px);
}

.ps-tech-hub-hero p {
  margin: 0;
  max-width: 44rem;
  color: var(--ps-tech-muted);
  line-height: 1.55;
}

.ps-tech-hub-grid {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ps-tech-hub-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 180px;
  padding: 20px;
  border: 1px solid var(--ps-tech-border);
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.ps-tech-hub-card:hover {
  border-color: var(--ps-tech-accent);
  transform: translateY(-1px);
}

.ps-tech-hub-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--ps-tech-text);
}

.ps-tech-hub-desc {
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ps-tech-muted);
}

.ps-tech-hub-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--ps-tech-accent);
}

@media (max-width: 900px) {
  .ps-tech-hero-inner {
    grid-template-columns: 1fr;
  }

  .ps-tech-hero-media {
    order: -1;
    max-height: 220px;
  }

  .ps-tech-dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .ps-tech-hub-grid {
    grid-template-columns: 1fr;
  }
}
