/* Landing pages: training hubs (/training/azure), service (/penetration-testing),
   contact, and the extra course-page panels. Builds on the tokens in site.css. */

.lp-hero {
  position: relative;
  padding: 8rem 2rem 4rem;
  background: var(--navy-deep);
  overflow: hidden;
}
.lp-hero .container { position: relative; z-index: 10; max-width: 1100px; margin: 0 auto; }
.lp-breadcrumb { margin-bottom: 1.5rem; font-size: 0.9rem; color: var(--text-muted); }
.lp-breadcrumb a { color: var(--blue-accent); text-decoration: none; }
.lp-breadcrumb a:hover { color: var(--blue-light); }
.lp-breadcrumb span.sep { margin: 0 10px; }
.lp-title {
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -1px;
  margin: 0 0 1rem;
}
.lp-lead { font-size: 1.15rem; color: var(--text-secondary); max-width: 800px; line-height: 1.6; margin: 0; }
.lp-cta-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

.lp-body { background: #f8f9fa; padding: 3.5rem 1rem 4rem; }
.lp-wrap { max-width: 1100px; margin: 0 auto; }

.lp-panel {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 2.25rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}
.lp-panel h2 {
  color: var(--navy-deep);
  font-size: 1.6rem;
  margin: 0 0 1.25rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.lp-panel h3 { color: var(--navy-deep); font-size: 1.1rem; margin: 0 0 0.5rem; }
.lp-panel p, .lp-panel li { color: #374151; font-size: 1.05rem; line-height: 1.75; }
.lp-panel p { margin: 0 0 1.1rem; }
.lp-panel p:last-child { margin-bottom: 0; }
.lp-panel ul { margin: 0; padding-left: 1.25rem; }
.lp-panel a { color: #1d4ed8; }

.lp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.lp-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
  background: #fbfcfe;
}
.lp-card p { font-size: 1rem; margin: 0; }

.lp-steps { counter-reset: step; list-style: none; padding: 0 !important; }
.lp-steps li { position: relative; padding: 0 0 1.1rem 3rem; }
.lp-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: 0.1rem;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--blue-accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.95rem;
}

/* Course table on hubs */
.lp-table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.lp-table th, .lp-table td { text-align: left; padding: 0.8rem 0.6rem; border-bottom: 1px solid rgba(0, 0, 0, 0.07); vertical-align: top; }
.lp-table th { color: #6b7280; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; }
.lp-table td.code { font-family: "JetBrains Mono", monospace; font-size: 0.9rem; white-space: nowrap; color: #1e3a8a; }
.lp-table a { font-weight: 600; text-decoration: none; }
.lp-table a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .lp-table thead { display: none; }
  .lp-table tr { display: block; padding: 0.6rem 0; border-bottom: 1px solid rgba(0, 0, 0, 0.07); }
  .lp-table td { display: block; border: 0; padding: 0.15rem 0; }
}

/* FAQ */
.lp-faq details { border-bottom: 1px solid rgba(0, 0, 0, 0.08); padding: 1rem 0; }
.lp-faq details:last-child { border-bottom: 0; }
.lp-faq summary { cursor: pointer; font-weight: 600; color: var(--navy-deep); font-size: 1.05rem; list-style: none; min-height: 44px; display: flex; align-items: center; }
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; margin-left: auto; padding-left: 1rem; color: var(--blue-accent); font-size: 1.4rem; }
.lp-faq details[open] summary::after { content: "–"; }
.lp-faq details p { margin: 0.6rem 0 0; }

.lp-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.lp-chips a {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 0 1.1rem; border-radius: 999px;
  background: rgba(59, 130, 246, 0.08); border: 1px solid rgba(59, 130, 246, 0.25);
  color: #1d4ed8; font-weight: 600; text-decoration: none; font-size: 0.95rem;
}
.lp-chips a:hover { background: rgba(59, 130, 246, 0.15); }

.lp-cta {
  background: linear-gradient(135deg, var(--navy-deep), #1e3a8a);
  color: #fff; border-radius: 16px; padding: 2.25rem; text-align: center;
}
.lp-cta h2 { color: #fff; border: 0; padding: 0; margin: 0 0 0.75rem; font-size: 1.6rem; }
.lp-cta p { color: rgba(255, 255, 255, 0.85); margin: 0 auto 1.5rem; max-width: 640px; line-height: 1.6; }

.lp-notice {
  border-left: 4px solid #f59e0b; background: #fffbeb; color: #78350f;
  padding: 1rem 1.25rem; border-radius: 8px; margin-bottom: 2rem; line-height: 1.6;
}
.lp-notice a { color: #92400e; font-weight: 700; }

.lp-dates { list-style: none; padding: 0 !important; margin: 0; }
.lp-dates li { padding: 0.45rem 0; border-bottom: 1px dashed rgba(0, 0, 0, 0.08); font-size: 0.98rem; }
.lp-dates li:last-child { border-bottom: 0; }

.lp-instructor { display: flex; gap: 1rem; align-items: flex-start; }
.lp-instructor .avatar {
  flex: 0 0 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-accent), var(--blue-glow));
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem;
}
