/* =========================================================
   NS Partners — Insights (single-ns_insight.php + single.php)
   Premium, readable, brand-aligned (Montserrat, blue/beige).
   ========================================================= */

.ns-insight-single {
    background: var(--white, #fff);
    color: var(--black, #111);
}

/* ---- HERO ---- */
.ns-insight-hero {
    background: linear-gradient(180deg, #f7f7f5 0%, #ffffff 100%);
    padding: 64px 60px 0;
    position: relative;
}
.ns-insight-hero-inner {
    max-width: 1080px;
    margin: 0 auto;
    padding-bottom: 48px;
}
.ns-insight-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue, #3681B0);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    margin-bottom: 28px;
}
.ns-insight-back:hover {
    color: var(--beige, #b89154);
}

.ns-insight-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
}
.ns-insight-cat {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #fff;
    background: var(--blue, #3681B0);
    padding: 6px 14px;
    text-decoration: none;
    transition: background .18s ease;
}
.ns-insight-cat:hover {
    background: var(--beige, #b89154);
    color: #fff;
}

.ns-insight-title {
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 300;
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: 1.1;
    letter-spacing: .01em;
    margin: 0 0 24px;
    color: #11151c;
}

.ns-insight-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--grey75, #888);
}
.ns-insight-meta-author {
    font-weight: 600;
    color: var(--black, #111);
}
.ns-insight-meta-sep {
    opacity: .5;
}

.ns-insight-hero-image {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}
.ns-insight-hero-image img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 540px;
    object-fit: cover;
}

/* ---- BODY ---- */
.ns-insight-body-section {
    padding: 72px 60px;
    background: #fff;
}
.ns-insight-body-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 48px;
    align-items: start;
}
.ns-insight-aside {
    position: sticky;
    top: 100px;
}
.ns-insight-share {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ns-insight-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1px solid var(--grey25, #ddd);
    color: var(--black, #111);
    padding: 10px 12px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.ns-insight-share-btn:hover {
    border-color: var(--blue, #3681B0);
    color: var(--blue, #3681B0);
}
.ns-insight-share-btn.is-copied {
    background: var(--blue, #3681B0);
    color: #fff;
    border-color: var(--blue, #3681B0);
}
.ns-insight-share-btn svg {
    flex-shrink: 0;
}
.ns-insight-share-btn span {
    white-space: nowrap;
}

.ns-insight-content {
    max-width: 760px;
    font-size: 17px;
    line-height: 1.75;
    color: #222;
}
.ns-insight-content p,
.ns-insight-content ul,
.ns-insight-content ol,
.ns-insight-content blockquote,
.ns-insight-content figure {
    margin: 0 0 22px;
}
.ns-insight-content h2 {
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 400;
    font-size: 28px;
    line-height: 1.25;
    margin: 48px 0 18px;
    color: #11151c;
}
.ns-insight-content h3 {
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.3;
    margin: 36px 0 14px;
    color: #11151c;
}
.ns-insight-content a {
    color: var(--blue, #3681B0);
    text-decoration: underline;
}
.ns-insight-content blockquote {
    border-left: 3px solid var(--beige, #b89154);
    padding: 6px 0 6px 24px;
    font-style: italic;
    color: #555;
    margin: 32px 0;
}
.ns-insight-content img,
.ns-insight-content figure img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ---- FOOT ---- */
.ns-insight-foot {
    max-width: 1080px;
    margin: 56px auto 0;
    padding-top: 32px;
    border-top: 1px solid var(--grey25, #ddd);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}
.ns-insight-pager {
    display: flex;
    gap: 24px;
}
.ns-insight-pager-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--black, #111);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.ns-insight-pager-link:hover {
    color: var(--blue, #3681B0);
}
.ns-insight-pager-link .dir {
    color: var(--beige, #b89154);
    font-size: 16px;
}

/* ---- RELATED ---- */
.ns-insight-related-section {
    background: var(--grey10, #f5f5f4);
    padding: 80px 60px;
}
.ns-insight-related-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.ns-insight-related-head {
    margin-bottom: 40px;
}
.ns-insight-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.ns-insight-related-card {
    background: #fff;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}
.ns-insight-related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(10, 37, 64, .08);
}
.ns-insight-related-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--blue10, #ebf0f7);
    position: relative;
}
.ns-insight-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}
.ns-insight-related-card:hover .ns-insight-related-image img {
    transform: scale(1.04);
}
.ns-insight-related-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: 200;
    color: var(--blue50, #9bb8cb);
    background: linear-gradient(135deg, var(--blue10, #ebf0f7), var(--blue25, #cdd8eb));
}
.ns-insight-related-body {
    padding: 22px 24px 26px;
}
.ns-insight-related-cat {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--blue, #3681B0);
    margin: 0 0 8px;
}
.ns-insight-related-title {
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.35;
    margin: 0 0 10px;
}
.ns-insight-related-title a {
    color: inherit;
    text-decoration: none;
}
.ns-insight-related-title a:hover {
    color: var(--blue, #3681B0);
}
.ns-insight-related-date {
    font-size: 12px;
    color: var(--grey75, #888);
    margin: 0;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
    .ns-insight-hero { padding: 48px 28px 0; }
    .ns-insight-hero-image { padding: 0 28px; }
    .ns-insight-body-section { padding: 48px 28px; }
    .ns-insight-body-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .ns-insight-aside {
        position: static;
    }
    .ns-insight-share {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .ns-insight-related-section { padding: 56px 28px; }
    .ns-insight-related-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 600px) {
    .ns-insight-foot {
        flex-direction: column;
        align-items: flex-start;
    }
    .ns-insight-pager {
        width: 100%;
        justify-content: space-between;
    }
    .ns-insight-content {
        font-size: 16px;
    }
}
