/* Panda Projects product page — type/spacing match Panda Comply */
.ppj-page {
    --ppj-green: #248636;
    --ppj-green-btn: #268540;
    --ppj-ink: #111;
    --ppj-muted: #6b7280;
    --ppj-wash: #f7f8f9;
    --ppj-warn: #d97706;
    --ppj-alert: #dc2626;
    color: var(--ppj-ink);
}
.ppj-page .container {
    max-width: 1800px;
}
.ppj-kicker {
    color: var(--ppj-green);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-transform: uppercase;
    margin: 0 0 18px;
}
.ppj-center {
    text-align: center;
}
.ppj-center .ppj-lead,
.ppj-center .ppj-kicker,
.ppj-center h2 {
    margin-left: auto;
    margin-right: auto;
}
.ppj-page h2 {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ppj-ink);
    margin: 0 0 14px;
}
.ppj-lead {
    color: var(--ppj-muted);
    font-size: 19px;
    line-height: 1.55;
    font-weight: 400;
    margin: 0 auto;
    max-width: 720px;
}

/* Hero — match Panda Comply column alignment */
.ppj-hero {
    background: #f7f8f9;
    padding-top: 80px;
    padding-bottom: 70px;
    margin-bottom: 0;
}
.ppj-hero .ppj-hero-copy {
    margin-bottom: 28px;
}
.ppj-hero .ppj-kicker,
.ppj-hero-copy > p.ppj-kicker {
    color: var(--ppj-green);
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-transform: uppercase;
    margin: 0 0 18px;
    max-width: none;
}
.ppj-hero-copy h1 {
    font-size: 55px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ppj-ink);
    margin: 0 0 22px;
}
.ppj-hero-copy h1 span {
    color: var(--ppj-green);
}
.ppj-hero-copy > p {
    font-size: 22px;
    line-height: 1.55;
    color: var(--bs-body-color, #4b5563);
    max-width: 34em;
    margin: 0;
}
.ppj-hero-copy > p + p {
    margin-top: 14px;
    font-size: 22px;
}
.ppj-hero .inrow-btn {
    justify-content: flex-start;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 0;
}
.ppj-hero .inrow-btn .btn {
    border-radius: 999px;
    padding: 12px 26px;
    font-weight: 600;
    line-height: 1.2;
    height: auto;
    max-width: none;
    width: auto;
}
.ppj-hero .inrow-btn .btnBig-2 {
    background: #fff !important;
    border: 1.5px solid #111 !important;
    color: #111 !important;
}
.ppj-hero .inrow-btn .btnBig-2:hover {
    background: #111 !important;
    color: #fff !important;
}
.ppj-hero .row {
    align-items: center;
}
.ppj-hero-img,
.ppj-hero .ppj-hero-img.width-full {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    object-fit: contain;
    background: transparent;
}

/* Build from Comply */
.ppj-build {
    background: #f7f8f9;
    padding: 80px 0 40px;
}
.ppj-build-head {
    text-align: center;
    margin-bottom: 40px;
}
.ppj-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.ppj-card {
    background: #fff;
    border: 1px solid #e8eaec;
    border-radius: 16px;
    padding: 24px 22px 26px;
}
.ppj-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(38, 133, 64, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.ppj-card-icon img {
    width: 28px;
    height: 28px;
    display: block;
}
.ppj-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--ppj-ink);
    margin: 0 0 8px;
    line-height: 1.25;
}
.ppj-card p {
    font-size: 18px;
    line-height: 1.5;
    color: var(--ppj-muted);
    margin: 0;
    font-weight: 400;
}
.ppj-select-pill {
    margin: 48px auto 0;
    max-width: 920px;
    background: #000;
    color: #fff;
    text-align: center;
    border-radius: 999px;
    padding: 22px 36px;
    font-size: 19px;
    line-height: 1.45;
    font-weight: 500;
}

/* How it works */
.ppj-how {
    background: var(--ppj-wash);
    padding: 80px 0 70px;
}
.ppj-how-head {
    text-align: center;
    margin-bottom: 48px;
}
.ppj-steps {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.ppj-step {
    position: relative;
    text-align: center;
    padding: 0 10px;
}
.ppj-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 38px;
    right: -14px;
    width: 22px;
    height: 10px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 10'><path d='M1 5h18M15 1l5 4-5 4' fill='none' stroke='%239ca3af' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / contain no-repeat;
}
.ppj-step-icon {
    width: 84px;
    height: 84px;
    margin: 0 auto 8px;
    border-radius: 50%;
    background: rgba(38, 133, 64, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.ppj-step-icon img {
    width: 40px;
    height: 40px;
    display: block;
}
.ppj-step-num {
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--ppj-green-btn);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.ppj-step h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--ppj-ink);
    margin: 18px 0 6px;
    line-height: 1.3;
}
.ppj-step p {
    font-size: 15px;
    line-height: 1.4;
    color: var(--ppj-muted);
    margin: 0;
}

/* Comply extension */
.ppj-ext {
    background: #000;
    padding: 80px 0 70px;
    text-align: center;
}
.ppj-ext .ppj-kicker {
    color: #3bb54a;
}
.ppj-ext h2 {
    color: #fff;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}
.ppj-ext .ppj-lead {
    color: #c5c9ce;
    max-width: 640px;
    margin-bottom: 44px;
}
.ppj-ext-flow {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}
.ppj-ext-card {
    flex: 1 1 280px;
    max-width: 380px;
    border-radius: 22px;
    padding: 28px 28px 30px;
    text-align: left;
}
.ppj-ext-card--master {
    background: #fff;
}
.ppj-ext-card--live {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
}
.ppj-ext-card .ppj-kicker {
    font-size: 14px;
    margin-bottom: 10px;
}
.ppj-ext-card h3 {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.25;
}
.ppj-ext-card--master h3 {
    color: var(--ppj-ink);
}
.ppj-ext-card--live h3 {
    color: #fff;
}
.ppj-ext-card p {
    margin: 0;
    font-size: 17px;
    line-height: 1.45;
    color: var(--ppj-muted);
}
.ppj-ext-card--live p {
    color: #b0b4ba;
}
.ppj-ext-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    position: relative;
    min-width: 88px;
}
.ppj-ext-arrow::before {
    content: "";
    width: 72px;
    height: 2px;
    background: #3bb54a;
}
.ppj-ext-arrow::after {
    content: "";
    position: absolute;
    right: 4px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 8px solid #3bb54a;
}
.ppj-ext-check {
    position: absolute;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #3bb54a;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    z-index: 1;
}

/* Drill-down */
.ppj-tree {
    background: var(--ppj-wash);
    padding: 80px 0 70px;
}
.ppj-tree-head {
    text-align: center;
    margin-bottom: 40px;
}
.ppj-tree-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Project Talks */
.ppj-talks {
    background: #fff;
    padding: 80px 0 70px;
}
.ppj-talks-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 40px;
    align-items: center;
}
.ppj-talks-copy h2 {
    max-width: 18ch;
}
.ppj-talks-copy .ppj-lead {
    margin: 0 0 28px;
    max-width: none;
}
.ppj-checks {
    list-style: none;
    margin: 0;
    padding: 0;
}
.ppj-checks li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 18px;
    line-height: 1.45;
    color: #374151;
    font-weight: 400;
}
.ppj-checks li strong {
    font-weight: 700;
    color: #111;
}
.ppj-checks li + li {
    margin-top: 14px;
}
.ppj-check {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--ppj-green-btn);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    margin-top: 2px;
}
.ppj-training {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(17, 24, 39, 0.12);
    overflow: hidden;
    width: 100%;
}
.ppj-training-head {
    background: #111;
    color: #fff;
    padding: 16px 22px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}
.ppj-training-body {
    padding: 16px;
    display: grid;
    gap: 10px;
    background: #fff;
}
.ppj-train-row {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    border-radius: 12px;
    padding: 14px 16px;
}
.ppj-train-row--done {
    background: #e8f6ec;
}
.ppj-train-row--active {
    background: #fbf3e6;
}
.ppj-train-row--idle {
    background: #eef1f4;
}
.ppj-train-count {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    line-height: 1;
    color: #fff;
    flex: 0 0 36px;
}
.ppj-train-row--done .ppj-train-count {
    background: #2f9e44;
    color: #fff;
}
.ppj-train-row--active .ppj-train-count {
    background: #d97706;
    color: #fff;
}
.ppj-train-row--idle .ppj-train-count {
    background: #9aa3af;
    color: #374151;
}
.ppj-train-copy strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--ppj-ink);
    line-height: 1.25;
}
.ppj-train-meta {
    display: block;
    margin: 3px 0 0;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 400;
    color: var(--ppj-muted);
}
.ppj-train-status {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1;
    white-space: nowrap;
}
.ppj-train-row--done .ppj-train-status { color: #248636; }
.ppj-train-row--active .ppj-train-status { color: #d97706; }
.ppj-train-row--idle .ppj-train-status { color: #6b7280; }

/* Close + subscribe CTA */
.ppj-close {
    background: var(--ppj-wash);
    padding: 80px 0 30px;
}
.ppj-close-head {
    text-align: center;
    margin-bottom: 36px;
}
.ppj-subscribe {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
    padding: 28px 32px;
    border-left: 8px solid var(--ppj-green-btn);
}
.ppj-subscribe .ppj-kicker {
    margin-bottom: 8px;
    font-size: 14px;
}
.ppj-subscribe h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    line-height: 1.25;
    color: var(--ppj-ink);
}
.ppj-subscribe .btn {
    border-radius: 999px;
    padding: 12px 26px;
    height: auto;
    width: auto;
    max-width: none;
    flex: 0 0 auto;
    white-space: nowrap;
}

/* Image CTA — show the graphic only, no white plate behind it */
.ppj-cta-banner {
    background: transparent;
    padding: 0 0 40px;
}
.ppj-cta-banner .home-footer-banner-link {
    display: block;
    border-radius: 0;
    overflow: visible;
    line-height: 0;
    background: transparent;
}
.ppj-cta-banner img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
    background: transparent;
}

@media (max-width: 1199px) {
    .ppj-hero-copy h1,
    .ppj-page h2 {
        font-size: 42px;
    }
    .ppj-hero-copy > p {
        font-size: 20px;
    }
}
@media (max-width: 991px) {
    .ppj-hero {
        padding-top: 48px;
        padding-bottom: 40px;
    }
    .ppj-hero .col-lg-6 + .col-lg-6 {
        margin-top: 28px;
    }
    .ppj-build,
    .ppj-how,
    .ppj-ext,
    .ppj-tree,
    .ppj-talks,
    .ppj-close {
        padding-top: 56px;
        padding-bottom: 48px;
    }
    .ppj-talks-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .ppj-hero-copy h1 {
        font-size: 40px;
    }
    .ppj-hero-copy > p {
        font-size: 19px;
    }
    .ppj-page h2 {
        font-size: 32px;
    }
    .ppj-cards {
        grid-template-columns: 1fr 1fr;
    }
    .ppj-steps {
        grid-template-columns: 1fr 1fr;
        row-gap: 28px;
    }
    .ppj-step:not(:last-child)::after {
        display: none;
    }
    .ppj-subscribe {
        flex-direction: column;
        align-items: flex-start;
    }
    .ppj-ext-arrow {
        min-height: 48px;
        min-width: 100%;
        transform: rotate(90deg);
    }
}
@media (max-width: 767px) {
    .ppj-cards,
    .ppj-steps {
        grid-template-columns: 1fr;
    }
    .ppj-hero-copy h1 {
        font-size: 32px;
    }
    .ppj-page h2 {
        font-size: 28px;
    }
    .ppj-hero .inrow-btn {
        flex-direction: column;
        align-items: stretch;
    }
    .ppj-hero .inrow-btn .btn {
        width: 100%;
    }
}
@media (max-width: 575px) {
    .ppj-cards,
    .ppj-steps {
        grid-template-columns: 1fr;
    }
    .ppj-select-pill {
        border-radius: 20px;
        padding: 18px 20px;
        font-size: 16px;
    }
    .ppj-hero .inrow-btn .btn {
        width: 100%;
    }
}
