/*
 * Netvibes page hero: one hero for every inner page (the homepage keeps its own).
 *
 * Anatomy (all parts optional except the title):
 *   <section class="nv-ph [nv-ph--split]" aria-labelledby="page-title">
 *     <div class="container nv-ph__inner">
 *       <div class="nv-ph__copy">
 *         <nav class="nv-ph__crumbs" aria-label="Breadcrumb"><ol class="breadcrumb">…</ol></nav>
 *         <p class="nv-ph__eyebrow">Short context line</p>
 *         <h1 id="page-title" class="nv-ph__title">Page title</h1>
 *         <p class="nv-ph__lead">One or two sentences.</p>
 *         <div class="nv-ph__actions"><a class="nv-ph__btn nv-ph__btn--primary">…</a><a class="nv-ph__btn nv-ph__btn--ghost">…</a></div>
 *         <ul class="nv-ph__facts"><li>…</li></ul>
 *       </div>
 *       <div class="nv-ph__aside">image, card or stats</div>   (use nv-ph--split)
 *     </div>
 *   </section>
 */
.nv-ph {
    --nv-ph-bg: #1f2329;
    --nv-ph-ink: #ffffff;
    --nv-ph-soft: #c9ced6;
    --nv-ph-line: rgba(255, 255, 255, 0.14);
    --nv-ph-chip: rgba(255, 255, 255, 0.08);
    --nv-ph-accent: #fb571b;
    --nv-ph-accent-hover: #e04a10;
    background-color: var(--nv-ph-bg);
    background-image:
        linear-gradient(90deg, rgba(31, 35, 41, 0.97) 0%, rgba(31, 35, 41, 0.9) 55%, rgba(31, 35, 41, 0.78) 100%),
        image-set(url("/static/optimized/img/page-header/page-header-background-transparent-1200.968154ac6fd2.webp") type("image/webp"),
                  url("/static/img/page-header/page-header-background-transparent.859b26c61fea.jpg") type("image/jpeg"));
    background-position: center;
    background-size: cover;
    border-bottom: 3px solid var(--nv-ph-accent);
    color: var(--nv-ph-soft);
    margin: 0;
    padding: clamp(40px, 6vw, 80px) 0 clamp(40px, 5.5vw, 72px);
    position: relative;
}

.nv-ph__inner {
    align-items: center;
    display: grid;
    gap: clamp(28px, 4vw, 56px);
    grid-template-columns: minmax(0, 1fr);
}

.nv-ph--split .nv-ph__inner {
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 992px) {
    .nv-ph--split .nv-ph__inner {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    }
}

.nv-ph__copy {
    max-width: 52rem;
    min-width: 0;
}

/* Breadcrumb */
.nv-ph__crumbs {
    margin-bottom: 1.25rem;
}

.nv-ph__crumbs .breadcrumb {
    background: none;
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    font-size: 0.875rem;
    gap: 0.25rem 0;
    margin: 0;
    padding: 0;
}

.nv-ph__crumbs .breadcrumb-item,
.nv-ph__crumbs .breadcrumb-item.active {
    color: var(--nv-ph-soft);
    font-weight: 500;
    text-transform: none;
}

.nv-ph__crumbs .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
    content: "/";
    padding: 0 0.5rem;
}

.nv-ph__crumbs a {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.35);
    text-underline-offset: 3px;
}

.nv-ph__crumbs a:hover,
.nv-ph__crumbs a:focus-visible {
    text-decoration-color: var(--nv-ph-accent);
}

/* Context line */
.nv-ph__eyebrow {
    color: #ffb18d;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1.4;
    margin: 0 0 0.75rem;
    text-transform: none;
}

/* Title: the one bold element */
.nv-ph .nv-ph__title {
    color: var(--nv-ph-ink);
    font-family: "Plus Jakarta Sans", system-ui, sans-serif;
    font-size: clamp(2rem, 1.2rem + 3vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.08;
    margin: 0 0 1rem;
    max-width: 22ch;
    text-wrap: balance;
}

.nv-ph__lead {
    color: var(--nv-ph-soft);
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.1875rem);
    line-height: 1.6;
    margin: 0;
    max-width: 62ch;
}

.nv-ph__lead + .nv-ph__lead {
    margin-top: 0.75rem;
}

.nv-ph__lead a {
    color: #ffffff;
    text-decoration: underline;
}

/* Actions */
.nv-ph__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.nv-ph__btn {
    align-items: center;
    border: 2px solid transparent;
    border-radius: 999px;
    display: inline-flex;
    font-size: 1rem;
    font-weight: 700;
    gap: 0.5rem;
    justify-content: center;
    line-height: 1.2;
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.nv-ph__btn--primary {
    background: var(--nv-ph-accent);
    color: #ffffff;
}

.nv-ph__btn--primary:hover,
.nv-ph__btn--primary:focus-visible {
    background: var(--nv-ph-accent-hover);
    color: #ffffff;
}

.nv-ph__btn--ghost {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
}

.nv-ph__btn--ghost:hover,
.nv-ph__btn--ghost:focus-visible {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--nv-ph-bg);
}

.nv-ph a:focus-visible,
.nv-ph button:focus-visible {
    outline: 3px solid #ffb18d;
    outline-offset: 3px;
}

/* Expert byline (who plans and builds the work) */
.nv-ph__byline {
    align-items: center;
    color: #c9ced6;
    display: flex;
    font-size: 0.875rem;
    gap: 0.75rem;
    line-height: 1.5;
    margin: 1.25rem 0 0;
    max-width: 62ch;
}

.nv-ph__byline img {
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    flex: 0 0 36px;
    height: 36px;
    object-fit: cover;
    width: 36px;
}

.nv-ph .nv-ph__byline a {
    color: #ffffff;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(255, 177, 141, 0.7);
    text-underline-offset: 3px;
}

/* Facts / chips (match the homepage trust badges) */
.nv-ph__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
}

.nv-ph__facts li,
.nv-ph__facts > span {
    align-items: center;
    background: var(--nv-ph-chip);
    border: 1px solid var(--nv-ph-line);
    border-radius: 999px;
    color: #eef0f3;
    display: inline-flex;
    font-size: 0.875rem;
    font-weight: 600;
    gap: 0.4rem;
    line-height: 1.3;
    padding: 0.45rem 0.85rem;
}

.nv-ph__facts i {
    color: #ffb18d;
}

/* Aside: image, card or stats */
.nv-ph__aside {
    min-width: 0;
}

.nv-ph__media {
    border: 1px solid var(--nv-ph-line);
    border-radius: 16px;
    margin: 0;
    overflow: hidden;
}

.nv-ph__media img {
    aspect-ratio: 4 / 3;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.nv-ph__media--portrait {
    max-width: 280px;
}

.nv-ph__media--portrait img {
    aspect-ratio: 1 / 1;
}

.nv-ph__card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--nv-ph-line);
    border-radius: 16px;
    color: #eef0f3;
    display: grid;
    gap: 0.85rem;
    padding: clamp(20px, 2.5vw, 28px);
}

.nv-ph__card a:not(.nv-ph__btn) {
    color: #ffffff;
}

.nv-ph__card i {
    color: #ffb18d;
}

.nv-ph__stats {
    display: grid;
    gap: 1px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    background: var(--nv-ph-line);
    border: 1px solid var(--nv-ph-line);
    border-radius: 16px;
    overflow: hidden;
}

.nv-ph__stats > div {
    background: rgba(31, 35, 41, 0.92);
    display: grid;
    gap: 0.2rem;
    padding: 1.1rem 1.25rem;
}

.nv-ph__stats strong {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.1;
}

.nv-ph__stats span {
    color: var(--nv-ph-soft);
    font-size: 0.875rem;
}

/* Price card (packages) */
.nv-ph__price-label {
    color: var(--nv-ph-soft);
    font-size: 0.9rem;
    font-weight: 600;
}

.nv-ph__price {
    color: #ffffff;
    display: block;
    font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
}

.nv-ph__checks {
    display: grid;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nv-ph__checks li {
    display: flex;
    gap: 0.5rem;
    line-height: 1.45;
}

.nv-ph__checks i {
    flex: 0 0 auto;
    margin-top: 0.15rem;
}

.nv-ph__note {
    color: var(--nv-ph-soft);
    font-size: 0.9rem;
    margin: 1.25rem 0 0;
    max-width: 62ch;
}

.nv-ph__note a {
    color: #ffffff;
    text-decoration: underline;
}

.nv-ph__media--browser {
    background: #ffffff;
}

.nv-ph__media--browser img {
    aspect-ratio: auto;
}

.nv-ph__media--browser figcaption a {
    color: #ffffff;
}

.nv-ph__note i {
    color: #ffb18d;
    margin-right: 0.4rem;
}

.nv-ph__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin-top: 1.25rem;
}

.nv-ph__links a {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.35);
    text-underline-offset: 3px;
}

.nv-ph__links a:hover,
.nv-ph__links a:focus-visible {
    text-decoration-color: var(--nv-ph-accent);
}

.nv-ph__media figcaption {
    background: rgba(255, 255, 255, 0.06);
    color: var(--nv-ph-soft);
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
}

.nv-ph__media--logo {
    background: #ffffff;
}

.nv-ph__media--logo img {
    object-fit: contain;
    padding: 1.5rem;
}

.nv-ph__eyebrow a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.nv-ph__meter {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
}

.nv-ph__meter span {
    background: var(--nv-ph-accent);
    border-radius: inherit;
    display: block;
    height: 100%;
}

/* Share row on dark hero */
.nv-ph .nv-social-share {
    margin-top: 1.25rem;
}

.nv-ph .nv-social-share span {
    color: var(--nv-ph-soft);
}

.nv-ph .nv-social-share a {
    background: var(--nv-ph-chip);
    border-color: var(--nv-ph-line);
    color: #ffffff;
    height: 44px;
    width: 44px;
}

.nv-ph .nv-social-share a:hover,
.nv-ph .nv-social-share a:focus-visible {
    background: #ffffff;
    color: var(--nv-ph-bg);
}

/* Form card placed in the hero (AI checker) */
.nv-ph .ai-checker-workflow {
    max-width: none;
}

.nv-ph .ai-checker-workflow .ai-checker-card {
    margin-top: 0;
}

/* Search card (blog) */
.nv-ph__search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.nv-ph__search-row input {
    background: #ffffff;
    border: 0;
    border-radius: 999px;
    color: #1f2329;
    flex: 1 1 12rem;
    font-size: 1rem;
    min-height: 48px;
    min-width: 0;
    padding: 0.6rem 1.1rem;
}

.nv-ph__search-row input:focus-visible {
    outline: 3px solid #ffb18d;
    outline-offset: 2px;
}

/* Meta line (dates, reading time, author) */
.nv-ph__meta {
    color: var(--nv-ph-soft);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.9rem;
    gap: 0.5rem 1.25rem;
    margin-top: 1.25rem;
}

.nv-ph__meta a {
    color: #ffffff;
}

.nv-ph__meta i {
    color: #ffb18d;
    margin-right: 0.3rem;
}

@media (max-width: 575.98px) {
    .nv-ph__actions .nv-ph__btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nv-ph__btn {
        transition: none;
    }
}

/* Insights: guides section (not a hero, but shared by Insights pages) */
.nv-insights-guides {
    border-top: 1px solid #e3e6eb;
    max-width: 52rem;
    padding-top: 2rem;
}

.nv-insights-guides ul {
    margin: 0 0 1rem;
    padding-left: 1.25rem;
}

.nv-insights-guides li + li {
    margin-top: 0.35rem;
}

.nv-insights-guides a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.nv-industries-project-list li + li {
    margin-top: 0.35rem;
}

.nv-industries-project-list a {
    text-decoration: underline;
    text-underline-offset: 3px;
}
