/* ============================================================
   NGW WORKFORCE — Content Styles
   Blog, Help Center, FAQ, Shortcodes, Page Templates
   ============================================================ */

/* ── Shared page chrome ─────────────────────────────────────── */

.ngw-main { min-height: 60vh; }

/* Hide default WP page title on Elementor pages */
.elementor-page .page-header { display: none; }


.ngw-archive-header {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    padding: 72px 0 56px;
    border-bottom: 3px solid #CC3366;
    text-align: center;
}
.ngw-archive-header--help {
    background: linear-gradient(135deg, #0F172A 0%, #1E1035 100%);
}
.ngw-archive-header__eyebrow {
    display: inline-block;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #CC3366;
    margin-bottom: 10px;
}
.ngw-archive-header__title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 14px;
    letter-spacing: -.03em;
    line-height: 1.15;
}
.ngw-archive-header__desc {
    font-size: 1.0625rem;
    color: rgba(255,255,255,.6);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.6;
}
.ngw-archive-body { padding: 56px 0 80px; }

/* ── Post grid ──────────────────────────────────────────────── */

.ngw-post-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin: 0 0 48px;
}
.ngw-post-grid--blog { grid-template-columns: repeat(3, 1fr); }

.ngw-post-card {
    background: #fff;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    transition: box-shadow 180ms ease, transform 100ms;
}
.ngw-post-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,.09);
    transform: translateY(-2px);
}

.ngw-post-card__img img {
    width: 100%; height: 200px;
    object-fit: cover;
    display: block;
}
.ngw-post-card__body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}
.ngw-post-card__cat {
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: #CC3366;
    text-decoration: none !important;
}
.ngw-post-card h2.ngw-post-card__title,
.ngw-post-card h3.ngw-post-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.35;
    margin: 0;
}
.ngw-post-card h2.ngw-post-card__title a,
.ngw-post-card h3.ngw-post-card__title a {
    color: #0F172A !important;
    text-decoration: none !important;
}
.ngw-post-card h2.ngw-post-card__title a:hover,
.ngw-post-card h3.ngw-post-card__title a:hover { color: #CC3366 !important; }
.ngw-post-card__excerpt {
    font-size: .875rem;
    color: #475569;
    line-height: 1.55;
    flex: 1;
    margin: 0;
}
.ngw-post-card__footer {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .75rem;
    color: #94A3B8;
    margin-top: 4px;
}

/* ── Pagination ─────────────────────────────────────────────── */

.ngw-pagination {
    display: flex; justify-content: center;
    gap: 6px; flex-wrap: wrap; padding: 16px 0 0;
}
.ngw-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px;
    padding: 0 10px;
    border: 1.5px solid #E2E8F0;
    border-radius: 8px;
    font-size: .875rem; font-weight: 500;
    color: #475569 !important; text-decoration: none !important;
    transition: all 160ms;
}
.ngw-pagination .page-numbers:hover { border-color: #CC3366; color: #CC3366 !important; }
.ngw-pagination .page-numbers.current { background: #CC3366; border-color: #CC3366; color: #fff !important; }

/* ── Single post ────────────────────────────────────────────── */

.ngw-post-hero {
    background: linear-gradient(135deg, #0F172A 0%, #1E1035 60%, #2D1A4A 100%);
    padding: 72px 0 56px;
    border-bottom: 3px solid #CC3366;
    position: relative;
    overflow: hidden;
}
.ngw-post-hero::before {
    content: '';
    position: absolute; top: 0; right: 0;
    width: 40%; height: 100%;
    background: radial-gradient(ellipse at 80% 50%, rgba(204,51,102,.08) 0%, transparent 70%);
    pointer-events: none;
}
.ngw-post-hero__meta {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    margin-bottom: 18px;
    font-size: .8125rem;
}
.ngw-post-hero__cat {
    background: rgba(204,51,102,.25);
    color: #f8a0bc !important;
    border-radius: 9999px;
    padding: 4px 14px;
    font-weight: 600; font-size: .6875rem;
    letter-spacing: .05em; text-transform: uppercase;
    text-decoration: none !important;
}
.ngw-post-hero__date,
.ngw-post-hero__read {
    display: inline-flex; align-items: center; gap: 5px;
    color: rgba(255,255,255,.6) !important;
}
.ngw-post-hero__date svg,
.ngw-post-hero__read svg { stroke: rgba(255,255,255,.5); }
.ngw-post-hero__title {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 800; color: #FFFFFF !important;
    line-height: 1.18; letter-spacing: -.03em;
    margin: 0 0 16px; max-width: 780px;
}
.ngw-post-hero__excerpt {
    font-size: 1.0625rem; color: rgba(255,255,255,.72) !important;
    max-width: 680px; line-height: 1.6; margin: 0 0 24px;
}
.ngw-post-hero__author {
    display: flex; align-items: center; gap: 12px;
}
.ngw-post-hero__author-avatar {
    width: 40px; height: 40px;
    border-radius: 9999px; object-fit: cover;
    border: 2px solid rgba(255,255,255,.2);
}
.ngw-post-hero__author strong { color: #FFFFFF !important; font-size: .9rem; display: block; }
.ngw-post-hero__author span { color: rgba(255,255,255,.6) !important; font-size: .8rem; }
/* Force all text inside hero to be light */
.ngw-post-hero .ngw-container { color: rgba(255,255,255,.7); }
.ngw-post-hero h1 { color: #FFFFFF !important; }

/*
 * FEATURED IMAGE STANDARD:
 * Recommended size: 1200 x 630px (1.91:1 ratio — matches OG/social share)
 * Minimum: 1200px wide
 * Format: JPG (compressed ~80%) or WebP
 * This ensures consistent look across blog posts + social sharing
 */
.ngw-post-featured-img { padding: 40px 0 0; }
.ngw-post-featured-img__img {
    width: 100%; max-height: 520px; object-fit: cover;
    border-radius: 16px;
    aspect-ratio: 1200 / 630;
    box-shadow: 0 8px 32px rgba(0,0,0,.08);
}

.ngw-post-body {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 52px;
    padding: 44px 0 80px;
    align-items: start;
}
.ngw-post-body__inner { min-width: 0; }
.ngw-post-sidebar { position: sticky; top: calc(72px + 40px + 20px); }

/* Table of contents */
.ngw-toc {
    background: #F8FAFC; border: 1px solid #E2E8F0;
    border-radius: 14px; padding: 20px 22px;
    margin-bottom: 36px; font-size: .875rem;
    border-left: 3px solid #CC3366;
}
.ngw-toc__toggle {
    display: flex; align-items: center; gap: 8px;
    font-weight: 600; color: #0F172A; cursor: pointer;
    background: none; border: none; padding: 0; font-size: .875rem;
    font-family: inherit;
}
.ngw-toc__list { margin: 12px 0 0; padding-left: 18px; }
.ngw-toc__item { margin: 6px 0; }
.ngw-toc__item a { color: #475569 !important; text-decoration: none !important; transition: color 160ms; }
.ngw-toc__item a:hover { color: #CC3366 !important; }
.ngw-toc__item--h3 { padding-left: 14px; font-size: .8125rem; }

/* Post content typography */
.ngw-post-content { color: #334155; font-size: 1.0625rem; line-height: 1.8; max-width: 720px; }
.ngw-post-content h2 {
    font-size: 1.625rem; font-weight: 800; color: #0F172A;
    margin: 2.2em 0 .75em; letter-spacing: -.02em; line-height: 1.3;
    padding-bottom: 10px; border-bottom: 2px solid #F1F5F9;
}
.ngw-post-content h3 {
    font-size: 1.25rem; font-weight: 700; color: #1E293B;
    margin: 1.8em 0 .5em; line-height: 1.35;
}
.ngw-post-content h4 { font-size: 1.1rem; font-weight: 700; color: #1E293B; margin: 1.5em 0 .4em; }
.ngw-post-content p { margin: 0 0 1.5em; }
.ngw-post-content > p:first-child,
.ngw-post-content > div + p { font-size: 1.125rem; color: #1E293B; line-height: 1.8; }
.ngw-post-content ul, .ngw-post-content ol { margin: 0 0 1.5em; padding-left: 1.5em; }
.ngw-post-content li { margin-bottom: .5em; line-height: 1.7; }
.ngw-post-content a { color: #CC3366 !important; text-decoration: underline; text-decoration-color: rgba(204,51,102,.3); text-underline-offset: 2px; }
.ngw-post-content a:hover { text-decoration-color: #CC3366; }
.ngw-post-content blockquote {
    border-left: 4px solid #CC3366; padding: 16px 24px;
    margin: 2em 0; color: #475569; font-style: italic;
    background: #FDF2F8; border-radius: 0 10px 10px 0;
}
.ngw-post-content blockquote p:last-child { margin-bottom: 0; }
.ngw-post-content code { background: #F1F5F9; border-radius: 4px; padding: 2px 6px; font-size: .875em; }
.ngw-post-content pre { background: #0F172A; color: #E2E8F0; border-radius: 10px; padding: 20px; overflow-x: auto; margin: 1.5em 0; }
.ngw-post-content img { max-width: 100%; height: auto; border-radius: 10px; margin: 1em 0; }
/* Prevent duplicate hero image — hide large inline images at the very start of content */
.ngw-post-content > p:first-child > img.alignnone[width="1080"],
.ngw-post-content > p:first-child > img[width="1080"] { display: none; }
.ngw-post-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.ngw-post-content th { background: #F1F5F9; font-weight: 700; color: #0F172A; padding: 12px 16px; text-align: left; border: 1px solid #E2E8F0; }
.ngw-post-content td { padding: 12px 16px; border: 1px solid #E2E8F0; color: #475569; }
/* Highlight boxes (key takeaway / important note patterns) */
.ngw-post-content .wp-block-group.has-background,
.ngw-post-content div[style*="background"] { border-radius: 12px; padding: 20px 24px; margin: 1.5em 0; }
/* Strong emphasis in lists */
.ngw-post-content li strong { color: #0F172A; }

/* Post tags & author bio */
.ngw-post-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 32px 0; padding-top: 24px; border-top: 1px solid #E2E8F0; }
.ngw-post-tags svg { color: #94A3B8; flex-shrink: 0; }
.ngw-post-tag { display: inline-flex; padding: 4px 12px; background: #F1F5F9; border-radius: 9999px; font-size: .8125rem; font-weight: 500; color: #475569 !important; text-decoration: none !important; transition: background 160ms, color 160ms; }
.ngw-post-tag:hover { background: rgba(204,51,102,.08); color: #CC3366 !important; }

.ngw-post-author-bio {
    display: flex; gap: 18px; align-items: flex-start;
    background: linear-gradient(135deg, #F8FAFC, #FDF2F8);
    border: 1px solid #E2E8F0;
    border-radius: 14px; padding: 24px; margin-top: 40px;
}
.ngw-post-author-bio img { width: 56px; height: 56px; border-radius: 9999px; flex-shrink: 0; border: 2px solid #E2E8F0; }
.ngw-post-author-bio__name { display: block; font-weight: 700; color: #0F172A; margin-bottom: 6px; font-size: 1rem; }
.ngw-post-author-bio p { font-size: .875rem; color: #475569; margin: 0; line-height: 1.6; }

/* Sidebar CTA widget */
.ngw-sidebar-cta {
    background: linear-gradient(135deg, #0F172A, #1E1035);
    border-radius: 14px; padding: 24px; color: #fff; text-align: center;
    border: 1px solid rgba(204,51,102,.2);
}
.ngw-sidebar-cta p { font-size: .9375rem; color: rgba(255,255,255,.75); margin: 0 0 16px; line-height: 1.5; }
.ngw-sidebar-cta strong { color: #fff; font-size: 1.0625rem; }

/* Related posts */
.ngw-related-posts { padding: 60px 0 80px; border-top: 1px solid #E2E8F0; margin-top: 20px; }
.ngw-related-posts__heading { font-size: 1.375rem; font-weight: 700; color: #0F172A; margin: 0 0 24px; }

/* ── Help Center ──────────────────────────────────────────────── */

.ngw-help-search {
    display: flex; max-width: 540px; margin: 24px auto 0;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
    border-radius: 9999px; overflow: hidden;
}
.ngw-help-search input[type="search"] {
    flex: 1; padding: 12px 20px; background: transparent;
    border: none; color: #fff; font-size: 1rem; font-family: inherit; outline: none;
}
.ngw-help-search input::placeholder { color: rgba(255,255,255,.45); }
.ngw-help-search button { padding: 12px 20px; background: transparent; border: none; color: rgba(255,255,255,.6); cursor: pointer; transition: color 160ms; }
.ngw-help-search button:hover { color: #fff; }

.ngw-help-archive-body { padding: 52px 0 80px; }

.ngw-help-category-section { margin-bottom: 52px; }
.ngw-help-category-section__header { display: flex; align-items: baseline; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.ngw-help-category-section__header h2 { font-size: 1.25rem; font-weight: 700; color: #0F172A; margin: 0; }
.ngw-help-category-section__header p { font-size: .875rem; color: #94A3B8; margin: 0; flex: 1; }
.ngw-help-category-section__all { font-size: .875rem; font-weight: 600; color: #CC3366 !important; text-decoration: none !important; white-space: nowrap; }
.ngw-help-category-section__all:hover { text-decoration: underline !important; }

.ngw-help-grid { display: grid; gap: 16px; }
.ngw-help-grid--3 { grid-template-columns: repeat(3, 1fr); }
.ngw-help-grid--2 { grid-template-columns: repeat(2, 1fr); }

.ngw-help-card {
    display: flex; flex-direction: column; gap: 6px;
    padding: 18px 20px;
    background: #fff; border: 1px solid #E2E8F0; border-radius: 10px;
    text-decoration: none !important; color: inherit;
    transition: border-color 160ms, box-shadow 160ms, transform 100ms;
}
.ngw-help-card:hover { border-color: #CC3366; box-shadow: 0 2px 12px rgba(204,51,102,.1); transform: translateY(-1px); }
.ngw-help-card__cat { font-size: .6875rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #CC3366; }
.ngw-help-card__title { font-size: .9375rem; font-weight: 600; color: #0F172A; margin: 0; line-height: 1.35; }
.ngw-help-card__excerpt { font-size: .8125rem; color: #94A3B8; line-height: 1.5; margin: 0; flex: 1; }
.ngw-help-card__more { font-size: .8125rem; font-weight: 600; color: #CC3366; margin-top: 4px; }

.ngw-help-archive-cta { text-align: center; padding: 56px 0 0; border-top: 1px solid #E2E8F0; }
.ngw-help-archive-cta h2 { font-size: 1.5rem; font-weight: 700; color: #0F172A; margin: 0 0 10px; }
.ngw-help-archive-cta p { color: #475569; margin: 0 0 24px; }

/* Single help article */
.ngw-help-single { padding: 36px 0 80px; }
.ngw-breadcrumb { font-size: .8125rem; color: #94A3B8; margin-bottom: 32px; }
.ngw-breadcrumb a { color: #475569 !important; text-decoration: none !important; }
.ngw-breadcrumb a:hover { color: #CC3366 !important; }
.ngw-help-single__layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.ngw-help-back { display: inline-flex; align-items: center; gap: 6px; font-size: .875rem; font-weight: 600; color: #475569 !important; text-decoration: none !important; margin-bottom: 20px; }
.ngw-help-back:hover { color: #CC3366 !important; }

.ngw-help-related__heading { font-size: .75rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #94A3B8; margin: 0 0 10px; }
.ngw-help-related ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.ngw-help-related li a { display: block; padding: 6px 10px; font-size: .875rem; color: #475569 !important; text-decoration: none !important; border-radius: 6px; transition: background 160ms, color 160ms; }
.ngw-help-related li a:hover { background: #F1F5F9; color: #CC3366 !important; }
.ngw-help-related__current a { background: rgba(204,51,102,.06) !important; color: #CC3366 !important; font-weight: 600; }

.ngw-help-single__meta { font-size: .8125rem; color: #94A3B8; margin: -8px 0 28px; }
.ngw-help-single__content { font-size: 1rem; color: #334155; line-height: 1.75; }
.ngw-help-single__content h2 { font-size: 1.375rem; font-weight: 700; color: #0F172A; margin: 2em 0 .6em; }
.ngw-help-single__content h3 { font-size: 1.1rem; font-weight: 700; color: #0F172A; margin: 1.5em 0 .5em; }
.ngw-help-single__content p { margin: 0 0 1.3em; }
.ngw-help-single__content a { color: #CC3366 !important; }

.ngw-help-feedback { margin-top: 40px; padding-top: 24px; border-top: 1px solid #E2E8F0; }
.ngw-help-feedback p { font-size: .9375rem; color: #475569; margin: 0 0 12px; }
.ngw-help-feedback__buttons { display: flex; gap: 10px; }
.ngw-help-feedback__btn { padding: 8px 18px; border: 1.5px solid #E2E8F0; border-radius: 9999px; background: #fff; cursor: pointer; font-size: .875rem; font-family: inherit; font-weight: 500; transition: all 160ms; }
.ngw-help-feedback__btn:hover { border-color: #CC3366; color: #CC3366; }
.ngw-help-feedback__thanks { font-size: .875rem; color: #22C55E; font-weight: 600; }

/* ── FAQ Shortcode ────────────────────────────────────────────── */

.ngw-faq-wrap { max-width: 820px; margin: 0 auto; }
.ngw-faq-wrap__title { font-size: 1.5rem; font-weight: 700; color: #0F172A; margin: 0 0 28px; text-align: center; }

.ngw-faq-item { border: 1px solid #E2E8F0; border-radius: 10px; overflow: hidden; margin-bottom: 10px; background: #fff; transition: box-shadow 160ms; }
.ngw-faq-item:hover { box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.ngw-faq-item--open { border-color: #CC3366; box-shadow: 0 2px 16px rgba(204,51,102,.08); }

.ngw-faq-item__q {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px 20px; background: none; border: none; cursor: pointer;
    font-size: 1rem; font-weight: 600; color: #0F172A; text-align: left;
    font-family: inherit; line-height: 1.4; transition: background 160ms;
}
.ngw-faq-item__q:hover { background: #F8FAFC; }
.ngw-faq-item--open .ngw-faq-item__q { background: rgba(204,51,102,.04); color: #CC3366; }
.ngw-faq-item--open .ngw-faq-item__q .ngw-faq-item__icon { transform: rotate(180deg); color: #CC3366; }
.ngw-faq-item__icon { flex-shrink: 0; color: #94A3B8; transition: transform 200ms ease, color 160ms; }

.ngw-faq-item__a { border-top: 1px solid #E2E8F0; }
.ngw-faq-item__a-inner { padding: 16px 20px 20px; font-size: .9375rem; color: #475569; line-height: 1.7; }
.ngw-faq-item__a-inner p:last-child { margin-bottom: 0; }
.ngw-faq-item__a-inner a { color: #CC3366 !important; }

/* ── Testimonials Shortcode ────────────────────────────────────── */

.ngw-testimonials { display: grid; gap: 20px; }
.ngw-grid-3 { grid-template-columns: repeat(3,1fr); }
.ngw-grid-2 { grid-template-columns: repeat(2,1fr); }

.ngw-testimonial-card { background: #fff; border: 1px solid #E2E8F0; border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.ngw-testimonial-card__stars { display: flex; gap: 2px; }
.ngw-testimonial-card__quote { font-size: .9375rem; color: #334155; line-height: 1.65; flex: 1; margin: 0; font-style: italic; }
.ngw-testimonial-card__author { display: flex; align-items: center; gap: 10px; }
.ngw-testimonial-card__avatar { width: 36px; height: 36px; border-radius: 9999px; object-fit: cover; }
.ngw-testimonial-card__author-info strong { display: block; font-size: .875rem; color: #0F172A; }
.ngw-testimonial-card__author-info span { font-size: .75rem; color: #94A3B8; }

/* ── Stats Bar ──────────────────────────────────────────────────── */

.ngw-stats-bar {
    display: grid; grid-template-columns: repeat(4,1fr);
    gap: 1px; background: #E2E8F0;
    border-radius: 14px; overflow: hidden;
    border: 1px solid #E2E8F0;
}
.ngw-stats-bar__item { background: #fff; padding: 24px 20px; text-align: center; }
.ngw-stats-bar__value { display: block; font-size: 2rem; font-weight: 800; color: #CC3366; letter-spacing: -.03em; margin-bottom: 4px; }
.ngw-stats-bar__label { font-size: .8125rem; color: #94A3B8; font-weight: 500; line-height: 1.35; }

/* ── Resources ──────────────────────────────────────────────────── */

.ngw-resource-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.ngw-resource-card { background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 160ms, transform 100ms; }
.ngw-resource-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,.08); transform: translateY(-2px); }
.ngw-resource-card__thumb img { width: 100%; height: 160px; object-fit: cover; display: block; }
.ngw-resource-card__body { padding: 18px 18px 0; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.ngw-resource-card__type { font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #CC3366; }
.ngw-resource-card__title { font-size: .9375rem; font-weight: 700; color: #0F172A; margin: 0; line-height: 1.35; }
.ngw-resource-card__excerpt { font-size: .8125rem; color: #94A3B8; line-height: 1.5; flex: 1; margin: 0; }
.ngw-resource-card__footer { padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #F1F5F9; margin-top: 14px; }
.ngw-btn-resource { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; background: #CC3366; color: #fff !important; border-radius: 9999px; font-size: .8125rem; font-weight: 600; text-decoration: none !important; transition: background 160ms; }
.ngw-btn-resource:hover { background: #b02d58; }
.ngw-resource-card__size { font-size: .75rem; color: #94A3B8; }

/* ── Case Studies ──────────────────────────────────────────────── */

.ngw-case-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.ngw-case-card { background: #fff; border: 1px solid #E2E8F0; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow 160ms, transform 100ms; }
.ngw-case-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.09); transform: translateY(-2px); }
.ngw-case-card__image { display: block; overflow: hidden; height: 180px; }
.ngw-case-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms; }
.ngw-case-card:hover .ngw-case-card__image img { transform: scale(1.04); }
.ngw-case-card__body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.ngw-case-card__industry { font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: #94A3B8; }
.ngw-case-card__company { font-size: 1.0625rem; font-weight: 700; color: #0F172A; margin: 0; }
.ngw-case-card__logo { height: 28px; width: auto; max-width: 140px; object-fit: contain; }
.ngw-case-card__excerpt { font-size: .875rem; color: #475569; line-height: 1.55; flex: 1; margin: 0; }
.ngw-case-card__results { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 4px; }
.ngw-case-card__results li { font-size: .8125rem; color: #475569; display: flex; align-items: center; gap: 6px; }
.ngw-case-card__results li::before { content: '✓'; color: #22C55E; font-weight: 700; flex-shrink: 0; }
.ngw-case-card__link { font-size: .875rem; font-weight: 600; color: #CC3366 !important; text-decoration: none !important; margin-top: auto; }
.ngw-case-card__link:hover { text-decoration: underline !important; }

/* ── CTA Block ──────────────────────────────────────────────────── */

.ngw-cta-block { padding: 56px 40px; border-radius: 16px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.ngw-cta-block--dark { background: linear-gradient(135deg,#0F172A,#1E1035); }
.ngw-cta-block--light { background: #F8FAFC; border: 1px solid #E2E8F0; }
.ngw-cta-block--brand { background: linear-gradient(135deg,#CC3366,#A8284F); }

.ngw-cta-block__title { font-size: clamp(1.25rem,2.5vw,1.625rem); font-weight: 700; letter-spacing: -.02em; margin: 0 0 6px; }
.ngw-cta-block--dark .ngw-cta-block__title,
.ngw-cta-block--brand .ngw-cta-block__title { color: #fff; }
.ngw-cta-block--light .ngw-cta-block__title { color: #0F172A; }
.ngw-cta-block__sub { font-size: .9375rem; margin: 0; }
.ngw-cta-block--dark .ngw-cta-block__sub,
.ngw-cta-block--brand .ngw-cta-block__sub { color: rgba(255,255,255,.6); }
.ngw-cta-block--light .ngw-cta-block__sub { color: #475569; }
.ngw-cta-block__actions { display: flex; gap: 10px; flex-wrap: wrap; flex-shrink: 0; }

/* ── Responsive ─────────────────────────────────────────────────── */

@media (max-width: 1024px) {
    .ngw-post-grid, .ngw-post-grid--blog { grid-template-columns: repeat(2,1fr); }
    .ngw-stats-bar { grid-template-columns: repeat(2,1fr); }
    .ngw-resource-grid, .ngw-case-grid { grid-template-columns: repeat(2,1fr); }
    .ngw-grid-3 { grid-template-columns: repeat(2,1fr); }
    .ngw-help-grid--3 { grid-template-columns: repeat(2,1fr); }
    .ngw-post-body { grid-template-columns: 1fr; gap: 32px; }
    .ngw-post-sidebar { position: static; }
    .ngw-help-single__layout { grid-template-columns: 200px 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .ngw-post-grid, .ngw-post-grid--blog { grid-template-columns: 1fr; }
    .ngw-resource-grid, .ngw-case-grid { grid-template-columns: 1fr; }
    .ngw-grid-3, .ngw-grid-2 { grid-template-columns: 1fr; }
    .ngw-help-grid--3, .ngw-help-grid--2 { grid-template-columns: 1fr; }
    .ngw-stats-bar { grid-template-columns: repeat(2,1fr); }
    .ngw-help-single__layout { grid-template-columns: 1fr; }
    .ngw-help-single__sidebar { display: none; }
    .ngw-cta-block { flex-direction: column; padding: 36px 24px; text-align: center; }
    .ngw-cta-block__actions { justify-content: center; }
}

@media (max-width: 480px) {
    .ngw-stats-bar { grid-template-columns: 1fr 1fr; }
    .ngw-archive-header { padding: 48px 0 36px; }
}
