/* Subpage-specific styles */

.subhero {
  padding: 8rem 0 4rem;
  background: linear-gradient(160deg, #f0f2ff 0%, #ffffff 70%);
  border-bottom: 1px solid #eaeaf4;
}

.breadcrumb {
  font-size: 0.82rem;
  color: #8888aa;
  margin-bottom: 1.25rem;
}
.breadcrumb a { color: #1d3a8a; }
.breadcrumb a:hover { text-decoration: underline; }

.subhero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  max-width: 740px;
  margin-bottom: 1rem;
}

.subhero-sub {
  font-size: 1.05rem;
  color: #4a4a68;
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.subhero-trust {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: #1d3a8a;
  font-weight: 500;
}

/* Grid layout */
.subpage-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3.5rem;
  align-items: start;
}

.subpage-main h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.subpage-main h3 {
  font-size: 1.05rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: #1a1a2e;
}
.subpage-main p {
  font-size: 0.97rem;
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

.content-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}
.content-list li {
  font-size: 0.93rem;
  color: #4a4a68;
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.65;
}
.content-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #1d3a8a;
  font-weight: 600;
}

/* Sidebar */
.subpage-sidebar { position: sticky; top: 88px; }

.sidebar-card {
  background: #fff;
  border: 1.5px solid #eaeaf4;
  border-radius: 14px;
  padding: 1.75rem;
  box-shadow: 0 4px 24px rgba(29,58,138,0.07);
  text-align: center;
}

.sidebar-rating {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1;
}
.sidebar-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin: 0.3rem 0;
}
.sidebar-source {
  font-size: 0.78rem;
  color: #8888aa;
}
.sidebar-divider {
  border: none;
  border-top: 1px solid #eaeaf4;
  margin: 1.25rem 0;
}
.sidebar-quote {
  font-size: 0.88rem;
  font-style: italic;
  color: #4a4a68;
  line-height: 1.65;
  border: none;
  margin: 0;
  padding: 0;
}
.sidebar-note {
  text-align: center;
  font-size: 0.78rem;
  color: #aaaacc;
  margin-top: 0.6rem;
}

.sidebar-links {
  margin-top: 1.25rem;
  background: #f7f7fc;
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.sidebar-links-title {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8888aa;
  margin-bottom: 0.25rem;
}
.sidebar-links a {
  font-size: 0.88rem;
  color: #1d3a8a;
  font-weight: 500;
  transition: opacity 0.15s;
}
.sidebar-links a:hover { opacity: 0.7; }

@media (max-width: 768px) {
  .subpage-grid { grid-template-columns: 1fr; }
  .subpage-sidebar { position: static; }
  .subhero-trust { gap: 0.75rem; }
}
