/* Homepage layout, using the QuantConnect palette and service components. */
.homepage .homepage-hero { min-height: 60vh; padding-block: 88px; align-items: center; }
.homepage .homepage-hero > .container { width: min(1168px, calc(100% - 48px)); max-width: none; padding: 0; }
#homepage .home-section { padding: 64px 0; background: var(--qc-paper); }
#homepage .home-muted { background: var(--qc-soft); }
#homepage .home-container { width: min(1168px, calc(100% - 48px)); margin-inline: auto; }
#homepage h2 { font-size: 32px; line-height: 1.25; letter-spacing: -.7px; text-align: left; }
#homepage .home-heading { margin: 0 0 28px; text-align: left; }
#homepage .home-heading h2 { margin: 0; }
#homepage .home-heading p, #homepage .section-subtitle { max-width: 660px; margin: 12px 0 0; font: 400 15px/1.65 Inter, sans-serif; color: var(--qc-muted); }
#homepage .home-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
#homepage .home-heading-row > a { flex-shrink: 0; }
#homepage .home-text-link { color: var(--qc-navy); font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
#homepage .home-text-link:hover { text-decoration-thickness: 2px; }
#homepage .home-audiences { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
#homepage .home-audience { padding: 28px; border: 1px solid var(--qc-border); border-radius: 5px; display: flex; flex-direction: column; align-items: start; }
#homepage .home-audience h3 { font-size: 20px; }
#homepage .home-audience p { color: var(--qc-muted); font-size: 15px; margin-top: 12px; max-width: 480px; flex: 1; }
#homepage .home-audience a { margin-top: 24px; }
#homepage .home-about { display: grid; grid-template-columns: 1fr 1.15fr; gap: 80px; }
#homepage .home-about .home-heading { margin-bottom: 0; }
#homepage .home-about .home-heading p { margin: 20px 0 24px; max-width: 460px; }
#homepage .home-principles { display: grid; gap: 24px; }
#homepage .home-principle { display: grid; grid-template-columns: 24px 1fr; column-gap: 20px; padding-top: 20px; border-top: 1px solid var(--qc-border); }
#homepage .home-principle > span { color: var(--qc-muted); font-size: 12px; padding-top: 2px; }
#homepage .home-principle p { color: var(--qc-muted); font-size: 14px; margin-top: 8px; max-width: 520px; }
#homepage .team-filters { justify-content: flex-start; flex-wrap: wrap; margin: 0 0 28px; gap: 10px; }
#homepage .filter-btn { min-height: 44px; border-radius: 3px; font: 500 14px/1.5 Inter, sans-serif; padding: 10px 16px; border-color: var(--qc-border); }
#homepage .filter-btn.active { background: var(--qc-navy); color: #fff; border-color: var(--qc-navy); }
#homepage .team-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
#homepage .team-card { padding: 24px 20px; text-align: left; border: 1px solid var(--qc-border); border-radius: 5px; }
#homepage .team-card img { display: block; width: 88px; height: 88px; margin: 0 0 20px; }
#homepage .team-name { font-size: 15px; line-height: 1.5; margin: 0 0 6px; overflow-wrap: anywhere; }
#homepage .team-title { color: var(--qc-muted); font-size: 13px; font-weight: 400; margin: 0 0 14px; }
#homepage .team-socials { justify-content: flex-start; }
#homepage .team-socials a { display: inline-flex; align-items: center; min-height: 30px; }
#homepage .team-socials a svg { color: var(--qc-navy); width: 18px; height: 18px; }
#homepage .team-card-network { padding: 28px; border-radius: 5px; border-color: var(--qc-border); background: var(--qc-soft); }
#homepage .network-card-icon-wrapper { display: none; }
#homepage .testimonials { text-align: left; }
#homepage .testimonials .home-heading { margin-bottom: 0; }
#homepage .testimonials > .home-container > .section-subtitle { margin-bottom: 28px; }
#homepage .testimonial-card.swiper-slide { display: block; padding: 28px; border: 1px solid var(--qc-border); border-radius: 5px; box-shadow: none; }
#homepage .testimonial-card__body { padding: 0; }
#homepage .testimonial-card__header { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
#homepage .testimonial-card__header p { margin: 0; color: var(--qc-navy); }
#homepage .testimonial-rating { flex-shrink: 0; }
#homepage .testimonial-rating .icon-star { width: 14px; height: 14px; }
#homepage .testimonial-quote { margin: 24px 0; padding-left: 20px; border-left: 3px solid var(--qc-gold); font-size: 15px; line-height: 1.7; }
#homepage .testimonial-quote p { margin: 0 0 12px; }
#homepage .testimonial-quote p:last-child { margin-bottom: 0; }
#homepage .testimonial-quote strong { font-size: 16px; color: var(--qc-navy); }
#homepage .testimonial-card__footer { flex-wrap: wrap; gap: 16px 24px; }
#homepage .testimonial-link { font-size: 13px; text-underline-offset: 4px; }
#homepage .carousel-controls { justify-content: flex-start; }
@media (max-width: 992px) {
    .homepage .homepage-hero { min-height: 0; padding-block: 64px; }
}
@media (max-width: 900px) {
    #homepage .home-about { gap: 40px; }
    #homepage .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 650px) {
    .homepage .homepage-hero { padding-block: 48px; }
    #homepage .home-section { padding: 40px 0; }
    #homepage h2 { font-size: 26px; }
    #homepage .home-heading-row { align-items: flex-start; flex-direction: column; gap: 16px; }
    #homepage .home-audiences, #homepage .home-about { grid-template-columns: 1fr; gap: 24px; }
    #homepage .home-audience, #homepage .testimonial-card.swiper-slide { padding: 22px; }
    #homepage .team-grid { gap: 12px; }
    #homepage .team-card { padding: 18px 14px; }
    #homepage .team-card img { width: 76px; height: 76px; }
    #homepage .testimonial-card__header { align-items: flex-start; flex-direction: column; gap: 12px; }
    #homepage .testimonial-quote { padding-left: 14px; font-size: 14px; }
}
