/* Power BI consulting page — extras on top of power-platform-new.css */
.nd-pbi .nd-ppc__hero-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 203px));
    justify-content: center;
    gap: 48px;
}

.nd-pbi .nd-ppc__hero {
    overflow: visible;
}

.nd-pbi .nd-ppc__hero-visual {
    min-height: 0;
    align-items: flex-start;
    justify-content: flex-end;
    padding-top: 12px;
}

.nd-pbi__hero-art {
    position: relative;
    width: min(483px, 100%);
}

.nd-pbi .nd-ppc__hero-hub {
    display: block;
    width: 100%;
    height: auto;
}

.nd-pbi__hero-d365 {
    position: absolute;
    top: -6.5%;
    right: -1.5%;
    width: 11.18%;
    height: auto;
    pointer-events: none;
}

.nd-pbi .nd-ppc__problems {
    padding-bottom: 72px;
}

.nd-pbi .nd-ppc__problems .nd-ppc__h2 {
    margin-bottom: 40px;
}

.nd-pbi .nd-ppc__problem-card {
    min-height: 202px;
}

.nd-pbi__problems-cta {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.nd-pbi__accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 48px;
}

.nd-pbi__acc-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    overflow: hidden;
}

.nd-pbi__acc-item.is-open {
    background: rgba(255, 255, 255, 0.05);
    border-color: #9dc3ff;
    border-radius: 12px;
}

.nd-pbi__acc-trigger {
    width: 100%;
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) auto 30px;
    align-items: center;
    gap: 14px;
    padding: 23px 24px;
    background: transparent;
    border: 0;
    color: #fff;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.nd-pbi__acc-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--nd-gradient);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
}

.nd-pbi__acc-title {
    font-size: 19px;
    font-weight: 600;
    line-height: 26px;
}

.nd-pbi__acc-count {
    font-size: 14px;
    font-weight: 600;
    color: #9dc3ff;
    white-space: nowrap;
}

.nd-pbi__acc-toggle {
    width: 30px;
    height: 30px;
    transition: transform 0.2s ease;
}

.nd-pbi__acc-item.is-open .nd-pbi__acc-toggle {
    transform: rotate(180deg);
}

.nd-pbi__acc-panel {
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    padding: 0 24px 28px;
}

.nd-pbi__acc-item.is-open .nd-pbi__acc-panel {
    display: grid;
}

.nd-pbi__acc-panel--2 {
    grid-template-columns: 1fr 1fr;
}

.nd-pbi__acc-service {
    min-width: 0;
}

.nd-pbi__acc-bar {
    width: 30px;
    height: 3px;
    border-radius: 2px;
    background: var(--nd-gradient);
    margin-bottom: 10px;
}

.nd-pbi__acc-service h3 {
    font-size: 17px;
    line-height: 25px;
    color: #fff;
    margin-bottom: 8px;
}

.nd-pbi__acc-service p {
    margin: 0;
    font-size: 14px;
    line-height: 21px;
    color: rgba(235, 235, 235, 0.9);
}

.nd-pbi .nd-ppc__tools {
    padding: 76px 0 80px;
    background: linear-gradient(191deg, #333 20%, #222 88%);
}

.nd-pbi .nd-ppc__tools .nd-ppc__eyebrow {
    color: #9dc3ff;
    background: none;
    -webkit-text-fill-color: #9dc3ff;
}

.nd-pbi .nd-ppc__tools .nd-ppc__h2 {
    color: #fff;
}

.nd-pbi .nd-ppc__tools .nd-ppc__lead {
    color: #ececec;
    max-width: 820px;
}

.nd-pbi .nd-ppc__sweep h2 {
    max-width: 894px;
}

.nd-pbi .nd-ppc__starts-num {
    font-size: 80px;
    line-height: 80px;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.14);
    margin-bottom: 8px;
}

.nd-pbi .nd-ppc__starts-item.is-active .nd-ppc__starts-num {
    background: var(--nd-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-stroke: 0;
    color: transparent;
}

.nd-pbi .nd-ppc__starts-item:not(.is-active) h3 {
    color: #e1e1e1;
}

.nd-pbi .nd-ppc__starts-item:not(.is-active) p,
.nd-pbi .nd-ppc__starts-item:not(.is-active) li {
    color: rgba(255, 255, 255, 0.5);
}

.nd-pbi .nd-ppc__starts-item ul {
    margin: 12px 0 0;
    padding-left: 22px;
}

.nd-pbi .nd-ppc__starts-item li {
    font-size: 16px;
    line-height: 26px;
    color: #ebebeb;
}

.nd-pbi .nd-ppc__starts-item.is-active li {
    color: rgba(255, 255, 255, 0.96);
}

.nd-pbi .nd-ppc__why-intro {
    grid-row: span 2;
}

.nd-pbi .nd-ppc__why-item:nth-child(7) {
    border-left: 1px solid #e5e7eb;
}

.nd-pbi .nd-ppc__why-item:nth-child(6) {
    border-left: 0;
}

.nd-pbi__related {
    padding: 70px 0 80px;
    background: #fff;
}

.nd-pbi__related .nd-ppc__h2 {
    text-align: center;
    margin-bottom: 48px;
}

.nd-pbi__related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.nd-pbi__related-card {
    display: flex;
    flex-direction: column;
    min-height: 268px;
    padding: 26px 20px 24px;
    background: #fff;
    border: 1px solid #e6ecf8;
    border-radius: 14px;
    box-shadow: 3px 4px 28.2px rgba(121, 121, 121, 0.13);
    text-decoration: none;
    color: inherit;
}

.nd-pbi__related-card .nd-ppc__industry-icon {
    background: linear-gradient(122deg, rgba(34, 87, 211, 0.08) 0%, rgba(128, 163, 245, 0.12) 50%, #fff 100%);
}

.nd-pbi__related-card h3 {
    font-size: 16px;
    line-height: 23px;
    margin: 18px 0 12px;
}

.nd-pbi__related-card p {
    margin: 0;
    font-size: 13.5px;
    line-height: 20px;
    color: var(--nd-grey);
    flex: 1;
}

.nd-pbi__related-more {
    margin-top: 20px;
    font-size: 12.5px;
    font-weight: 600;
    color: #2257d3;
}

.nd-pbi .nd-ppc__faq-item.is-open .nd-ppc__faq-a {
    max-height: 2200px;
}

@media (max-width: 1024px) {
    .nd-pbi .nd-ppc__hero-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .nd-pbi__hero-d365 { display: none; }

    .nd-pbi__acc-panel,
    .nd-pbi__acc-item.is-open .nd-pbi__acc-panel {
        grid-template-columns: 1fr;
    }

    .nd-pbi__related-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nd-pbi .nd-ppc__why-intro { grid-row: auto; }
    .nd-pbi .nd-ppc__why-item:nth-child(6) { border-left: 0; }
}

@media (max-width: 720px) {
    .nd-pbi .nd-ppc__problems-grid,
    .nd-pbi__related-grid { grid-template-columns: 1fr; }

    .nd-pbi__acc-trigger {
        grid-template-columns: 28px minmax(0, 1fr) 30px;
    }

    .nd-pbi__acc-count { display: none; }
}
