/* =================================================================
   NDN.LASER — Blog templates
   home.php (index)  +  single.php (single post)
   No inline styles. Uses central NDN design tokens where available.
   ================================================================= */

/* ═══════════════════════════════════════════════════════════════
   Shared shell
   ═══════════════════════════════════════════════════════════════ */

.ndn-blog {
    background: var(--ndn-bg, #F6F2EC);
    color: var(--ndn-text-main, #1A1A1A);
    font-family: 'DM Sans', system-ui, sans-serif;
}
.ndn-blog *,
.ndn-blog *::before,
.ndn-blog *::after { box-sizing: border-box; }

/* ═══════════════════════════════════════════════════════════════
   Hero — shared between index & single
   ═══════════════════════════════════════════════════════════════ */

.ndn-blog__hero {
    position: relative;
    min-height: 56vh;
    padding: clamp(120px, 16vw, 180px) 20px clamp(60px, 8vw, 100px);
    color: #fff;
    overflow: hidden;
    isolation: isolate;
}
.ndn-blog__hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    background-size: cover;
    background-position: center;
}
.ndn-blog__hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(26, 26, 26, 0.55) 0%, rgba(26, 26, 26, 0.82) 100%),
        radial-gradient(ellipse at 85% 15%, rgba(200, 164, 106, 0.35) 0%, transparent 60%);
}
.ndn-blog__hero-wrap {
    max-width: 1400px;
    margin: 0 auto;
}
.ndn-blog__crumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    flex-wrap: wrap;
}
.ndn-blog__crumbs a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color .25s ease;
}
.ndn-blog__crumbs a:hover { color: var(--ndn-accent, #C8A46A); }
.ndn-blog__crumbs li + li::before {
    content: "›";
    margin-right: 10px;
    color: var(--ndn-accent, #C8A46A);
}
.ndn-blog__crumbs [aria-current="page"] {
    color: #fff;
    font-weight: 600;
}

.ndn-blog__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0 0 20px;
    background: transparent;
    border: none;
    color: var(--ndn-accent, #C8A46A);
    font-family: 'DM Sans', 'Jost', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    line-height: 1.4;
}
.ndn-blog__eyebrow-text { color: inherit; }

/* Laser-device SVG — identical geometry + animations as hero-eyebrow__seed */
.ndn-blog__eyebrow-seed {
    width: 22px;
    height: 42px;
    flex-shrink: 0;
    color: var(--ndn-accent, #C8A46A);
    overflow: visible;
}
.ndn-blog__eyebrow-seed-device { /* static */ }
.ndn-blog__eyebrow-seed-dot {
    transform-origin: 30px 22px;
    transform-box: fill-box;
    animation: ndn-blog-laser-blink 1.8s ease-in-out infinite;
}
.ndn-blog__eyebrow-seed-beam {
    transform-origin: 30px 38px;
    transform-box: fill-box;
    animation: ndn-blog-laser-fire 1.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.ndn-blog__eyebrow-seed-ripple {
    transform-origin: 30px 100px;
    transform-box: fill-box;
    animation: ndn-blog-laser-ripple 1.6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
.ndn-blog__eyebrow-seed-ripple--2 { animation-delay: 0.25s; }
.ndn-blog__eyebrow-seed-ripple--3 { animation-delay: 0.5s; }

@keyframes ndn-blog-laser-blink {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%      { opacity: 0.3; transform: scale(0.82); }
}
@keyframes ndn-blog-laser-fire {
    0%   { transform: scaleY(0.15); opacity: 0; }
    15%  { transform: scaleY(1);    opacity: 1; }
    75%  { transform: scaleY(1);    opacity: 1; }
    100% { transform: scaleY(1);    opacity: 0; }
}
@keyframes ndn-blog-laser-ripple {
    0%   { transform: scale(0.2); opacity: 0.9; }
    70%  { opacity: 0.4; }
    100% { transform: scale(1.3); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .ndn-blog__eyebrow-seed-dot,
    .ndn-blog__eyebrow-seed-beam,
    .ndn-blog__eyebrow-seed-ripple { animation: none; }
}

/* Hero title — identical to .hero-title from header-hero widget */
.ndn-blog__hero-title {
    font-family: "Times New Roman", Times, serif;
    font-size: clamp(36px, 5.5vw, 62px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.015em;
    color: #ffffff;
    margin: 0 0 20px;
    max-width: 900px;
}
.ndn-blog__hero-intro {
    font-size: clamp(16px, 1.4vw, 18px);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: 720px;
}
.ndn-blog__hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 24px;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.82);
}
.ndn-blog__hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.ndn-blog__hero-meta-item svg {
    width: 14px; height: 14px;
    color: var(--ndn-accent, #C8A46A);
    flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   Reading progress bar (single post)
   ═══════════════════════════════════════════════════════════════ */

.ndn-blog__progress {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--ndn-accent, #C8A46A), var(--ndn-accent-dark, #A9834A));
    z-index: 9999;
    transition: width 0.1s linear;
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════
   INDEX — Filter bar
   ═══════════════════════════════════════════════════════════════ */

.ndn-blog__filters {
    max-width: 1240px;
    margin: -30px auto 0;
    padding: 22px 28px;
    position: relative;
    z-index: 2;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 20px 50px -20px rgba(26, 26, 26, 0.18);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.ndn-blog__filter-label {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ndn-accent-dark, #A9834A);
    margin-right: 8px;
}
.ndn-blog__filter {
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--ndn-surface-soft, #FBF7F1);
    border: 1px solid var(--ndn-border, rgba(200, 164, 106, 0.25));
    color: var(--ndn-text-secondary, #6B5E4B);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}
.ndn-blog__filter:hover,
.ndn-blog__filter:focus-visible {
    background: var(--ndn-accent-dark, #A9834A);
    color: #fff;
    border-color: var(--ndn-accent-dark, #A9834A);
    outline: none;
}
.ndn-blog__filter.is-active {
    background: var(--ndn-text-main, #1A1A1A);
    color: #fff;
    border-color: var(--ndn-text-main, #1A1A1A);
}

/* ═══════════════════════════════════════════════════════════════
   INDEX — Grid of post cards
   ═══════════════════════════════════════════════════════════════ */

.ndn-blog__list {
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(40px, 5vw, 70px) 20px clamp(60px, 8vw, 100px);
}
.ndn-blog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
@media (max-width: 960px) { .ndn-blog__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 620px) { .ndn-blog__grid { grid-template-columns: 1fr; } }

.ndn-blog__card {
    position: relative;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
    border: 1px solid var(--ndn-border, rgba(200, 164, 106, 0.22));
}
.ndn-blog__card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 30px 60px -22px rgba(26, 26, 26, 0.22),
        0 12px 30px -14px rgba(169, 131, 74, 0.18);
}
.ndn-blog__card--featured {
    grid-column: span 2;
}
@media (max-width: 620px) {
    .ndn-blog__card--featured { grid-column: span 1; }
}
.ndn-blog__card--featured .ndn-blog__card-media { aspect-ratio: 16/9; }
.ndn-blog__card--featured .ndn-blog__card-title { font-size: clamp(22px, 2.6vw, 30px); }

.ndn-blog__card-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
}
.ndn-blog__card-media {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--ndn-surface-soft, #FBF7F1);
}
.ndn-blog__card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.ndn-blog__card:hover .ndn-blog__card-media img { transform: scale(1.06); }
.ndn-blog__card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(26, 26, 26, 0.12) 100%);
    pointer-events: none;
}
.ndn-blog__card-category {
    position: absolute;
    top: 16px; left: 16px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    color: var(--ndn-accent-dark, #A9834A);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    z-index: 2;
}
.ndn-blog__card-body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.ndn-blog__card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12.5px;
    color: var(--ndn-text-secondary, #6B5E4B);
    margin-bottom: 12px;
}
.ndn-blog__card-meta-dot {
    width: 3px; height: 3px;
    border-radius: 50%;
    background: var(--ndn-accent-dark, #A9834A);
    opacity: 0.6;
}
.ndn-blog__card-title {
    font-family: "Times New Roman", Times, serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ndn-text-main, #1A1A1A);
    margin: 0 0 10px;
    letter-spacing: -0.01em;
    transition: color 0.25s ease;
}
.ndn-blog__card:hover .ndn-blog__card-title {
    color: var(--ndn-accent-dark, #A9834A);
}
.ndn-blog__card-excerpt {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--ndn-text-secondary, #6B5E4B);
    margin: 0 0 20px;
    flex: 1;
}
.ndn-blog__card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ndn-accent-dark, #A9834A);
    margin-top: auto;
    letter-spacing: 0.02em;
}
.ndn-blog__card-cta svg {
    width: 14px; height: 14px;
    transition: transform 0.25s ease;
}
.ndn-blog__card:hover .ndn-blog__card-cta svg { transform: translateX(4px); }

/* Pagination */
.ndn-blog__pagination {
    margin: 50px 0 0;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.ndn-blog__pagination a,
.ndn-blog__pagination .current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    background: #fff;
    color: var(--ndn-text-main, #1A1A1A);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border: 1px solid var(--ndn-border, rgba(200, 164, 106, 0.22));
    transition: all 0.25s ease;
}
.ndn-blog__pagination a:hover {
    background: var(--ndn-accent-dark, #A9834A);
    color: #fff;
    border-color: var(--ndn-accent-dark, #A9834A);
}
.ndn-blog__pagination .current {
    background: var(--ndn-text-main, #1A1A1A);
    color: #fff;
    border-color: var(--ndn-text-main, #1A1A1A);
}

/* Empty state */
.ndn-blog__empty {
    grid-column: 1 / -1;
    padding: 80px 20px;
    text-align: center;
    color: var(--ndn-text-secondary, #6B5E4B);
    font-size: 16px;
}

/* ═══════════════════════════════════════════════════════════════
   SINGLE — Article layout
   ═══════════════════════════════════════════════════════════════ */

.ndn-blog__article {
    max-width: 1400px;
    margin: -40px auto 0;
    padding: 0 0px clamp(60px, 8vw, 100px);
    position: relative;
}
.ndn-blog__article-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 64px;
    align-items: start;
}
@media (max-width: 960px) {
    .ndn-blog__article-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* Main column */
.ndn-blog__body-wrap {
    background: #fff;
    border-radius: 22px;
    padding: clamp(32px, 4vw, 56px);
    box-shadow:
        0 30px 70px -30px rgba(26, 26, 26, 0.22),
        0 10px 24px -16px rgba(169, 131, 74, 0.1);
    position: relative;
    z-index: 1;
}

.ndn-blog__body {
    font-size: 17px;
    line-height: 1.8;
    color: var(--ndn-text-main, #1A1A1A);
    font-family: 'DM Sans', system-ui, sans-serif;
}
.ndn-blog__body > * + * { margin-top: 1.2em; }
.ndn-blog__body > :first-child { margin-top: 0; }

.ndn-blog__body p {
    margin: 0 0 1.1em;
    color: var(--ndn-text-secondary, #6B5E4B);
}
.ndn-blog__body p:first-of-type { font-size: 1.1em; color: var(--ndn-text-main, #1A1A1A); }
.ndn-blog__body p strong { color: var(--ndn-text-main, #1A1A1A); }

.ndn-blog__body h2 {
    font-family: "Times New Roman", Times, serif;
    font-size: clamp(24px, 2.8vw, 32px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.015em;
    color: var(--ndn-text-main, #1A1A1A);
    margin: 48px 0 18px;
    padding-top: 28px;
    position: relative;
    scroll-margin-top: 80px;
}
.ndn-blog__body h2::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 48px; height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--ndn-accent-dark, #A9834A), transparent);
}
.ndn-blog__body h3 {
    font-family: "Times New Roman", Times, serif;
    font-size: clamp(19px, 2vw, 22px);
    font-weight: 700;
    color: var(--ndn-text-main, #1A1A1A);
    margin: 34px 0 12px;
    display: flex;
    align-items: baseline;
    gap: 10px;
    scroll-margin-top: 80px;
}
.ndn-blog__body h3::before {
    content: "";
    flex-shrink: 0;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--ndn-accent, #C8A46A);
    transform: translateY(-2px);
}

.ndn-blog__body a {
    color: var(--ndn-accent-dark, #A9834A);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    transition: color 0.25s ease;
}
.ndn-blog__body a:hover { color: var(--ndn-text-main, #1A1A1A); }

.ndn-blog__body ul,
.ndn-blog__body ol {
    margin: 0 0 1.4em;
    padding-left: 0;
    list-style: none;
}
.ndn-blog__body ul li,
.ndn-blog__body ol li {
    position: relative;
    padding-left: 28px;
    margin: 0 0 10px;
    color: var(--ndn-text-secondary, #6B5E4B);
}
.ndn-blog__body ul li::before {
    content: "";
    position: absolute;
    left: 4px; top: 0.8em;
    width: 10px; height: 2px;
    background: var(--ndn-accent-dark, #A9834A);
    border-radius: 2px;
}
.ndn-blog__body ol { counter-reset: ndn-li; }
.ndn-blog__body ol li { counter-increment: ndn-li; }
.ndn-blog__body ol li::before {
    content: counter(ndn-li, decimal-leading-zero);
    position: absolute;
    left: 0; top: 0;
    font-family: "Times New Roman", Times, serif;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--ndn-accent-dark, #A9834A);
}

.ndn-blog__body blockquote {
    margin: 28px 0;
    padding: 22px 26px;
    border-left: 3px solid var(--ndn-accent-dark, #A9834A);
    background: rgba(200, 164, 106, 0.08);
    font-family: "Times New Roman", Times, serif;
    font-size: 1.1em;
    font-style: italic;
    color: var(--ndn-text-main, #1A1A1A);
    border-radius: 0 12px 12px 0;
}
.ndn-blog__body img,
.ndn-blog__body figure img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 22px 0;
    box-shadow: var(--ndn-shadow, 0 12px 30px rgba(0, 0, 0, 0.08));
}

/* Share bar */
.ndn-blog__share {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid var(--ndn-border, rgba(200, 164, 106, 0.22));
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
}
.ndn-blog__share-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ndn-accent-dark, #A9834A);
}
.ndn-blog__share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--ndn-surface-soft, #FBF7F1);
    color: var(--ndn-text-main, #1A1A1A);
    text-decoration: none;
    border: 1px solid var(--ndn-border, rgba(200, 164, 106, 0.25));
    transition: all 0.25s ease;
}
.ndn-blog__share-btn:hover {
    background: var(--ndn-accent-dark, #A9834A);
    color: #fff;
    border-color: var(--ndn-accent-dark, #A9834A);
    transform: translateY(-2px);
}
.ndn-blog__share-btn svg { width: 16px; height: 16px; }

/* Sidebar (TOC + author + related) */
.ndn-blog__sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 22px; }
@media (max-width: 960px) { .ndn-blog__sidebar { position: static; } }

.ndn-blog__toc {
    background: #fff;
    border: 1px solid var(--ndn-border, rgba(200, 164, 106, 0.22));
    border-radius: 16px;
    padding: 22px 20px;
}
.ndn-blog__toc-title {
    font-family: "Times New Roman", Times, serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ndn-accent-dark, #A9834A);
    margin: 0 0 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--ndn-border, rgba(200, 164, 106, 0.22));
}
.ndn-blog__toc-list { list-style: none; margin: 0; padding: 0; }
.ndn-blog__toc-item { margin: 0 0 4px; }
.ndn-blog__toc-item a {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--ndn-text-secondary, #6B5E4B);
    text-decoration: none;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}
.ndn-blog__toc-item a:hover,
.ndn-blog__toc-item.is-active a {
    background: rgba(200, 164, 106, 0.1);
    color: var(--ndn-accent-dark, #A9834A);
    border-left-color: var(--ndn-accent-dark, #A9834A);
}
.ndn-blog__toc-num {
    font-family: "Times New Roman", Times, serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--ndn-accent-dark, #A9834A);
    flex-shrink: 0;
    padding-top: 1px;
}
.ndn-blog__toc-item--l3 a { padding-left: 22px; opacity: 0.85; }
.ndn-blog__toc-item--l3 .ndn-blog__toc-num { display: none; }

/* CTA card in sidebar */
.ndn-blog__sidebar-cta {
    background: linear-gradient(135deg, var(--ndn-text-main, #1A1A1A), #2a2620);
    color: #fff;
    border-radius: 16px;
    padding: 26px 22px;
    position: relative;
    overflow: hidden;
}
.ndn-blog__sidebar-cta::before {
    content: "";
    position: absolute;
    top: -50%; right: -40%;
    width: 280px; height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 164, 106, 0.3), transparent 65%);
    pointer-events: none;
}
.ndn-blog__sidebar-cta-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ndn-accent, #C8A46A);
    margin: 0 0 10px;
    position: relative;
}
.ndn-blog__sidebar-cta-title {
    font-family: "Times New Roman", Times, serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 10px;
    position: relative;
}
.ndn-blog__sidebar-cta-text {
    font-size: 13.5px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 18px;
    position: relative;
}
.ndn-blog__sidebar-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--ndn-accent, #C8A46A), var(--ndn-accent-dark, #A9834A));
    color: #fff;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}
.ndn-blog__sidebar-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -8px rgba(200, 164, 106, 0.55);
}
.ndn-blog__sidebar-cta-btn svg { width: 14px; height: 14px; }

/* Related posts (bottom of single) */
.ndn-blog__related {
    max-width: 1240px;
    margin: 0 auto;
    padding: clamp(40px, 5vw, 70px) 20px;
}
.ndn-blog__related-title {
    font-family: "Times New Roman", Times, serif;
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 700;
    color: var(--ndn-text-main, #1A1A1A);
    margin: 0 0 30px;
    text-align: center;
    position: relative;
    padding-bottom: 16px;
}
.ndn-blog__related-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px; height: 3px;
    border-radius: 3px;
    background: var(--ndn-accent-dark, #A9834A);
}

/* Closing CTA strip */
.ndn-blog__closing-cta {
    margin: 48px 0 0;
    padding: 38px 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(135deg, var(--ndn-text-main, #1A1A1A), #2a2620);
    color: #fff;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.ndn-blog__closing-cta::before {
    content: "";
    position: absolute;
    top: -50%; right: -20%;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 164, 106, 0.3), transparent 70%);
    pointer-events: none;
}
.ndn-blog__closing-cta-copy { position: relative; z-index: 1; }
.ndn-blog__closing-cta-title {
    font-family: "Times New Roman", Times, serif;
    font-size: clamp(20px, 2.4vw, 26px);
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.25;
}
.ndn-blog__closing-cta-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}
.ndn-blog__closing-cta-btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    background: linear-gradient(135deg, var(--ndn-accent, #C8A46A), var(--ndn-accent-dark, #A9834A));
    color: #fff;
    font-weight: 700;
    font-size: 14.5px;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 14px 30px -10px rgba(200, 164, 106, 0.6);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    flex-shrink: 0;
}
.ndn-blog__closing-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 38px -10px rgba(200, 164, 106, 0.75);
}
.ndn-blog__closing-cta-btn svg { width: 16px; height: 16px; }

@media (max-width: 720px) {
    .ndn-blog__closing-cta { flex-direction: column; text-align: center; padding: 32px 24px; }
    .ndn-blog__closing-cta-btn { width: 100%; justify-content: center; }
}
