:root {
    --nbb-primary: #20201d;
    --nbb-primary-soft: #3f4239;
    --nbb-accent: #b8902e;
    --nbb-accent-hover: #936f1f;
    --nbb-accent-light: #f2ead7;
    --nbb-bg: #fbfaf6;
    --nbb-bg-alt: #f3f5ee;
    --nbb-text: #252520;
    --nbb-muted: #686d63;
    --nbb-border: #ded8cc;
    --nbb-white: #ffffff;
    --nbb-heading: "Cormorant Garamond", serif;
    --nbb-body: "Outfit", sans-serif;
    --nbb-shadow: 0 14px 40px rgba(61, 53, 51, 0.08);
    --nbb-radius: 8px;
    --nbb-header-height: 80px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.nbb-wp {
    margin: 0;
    background: var(--nbb-bg);
    color: var(--nbb-text);
    font-family: var(--nbb-body);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

body.nbb-menu-open {
    overflow: hidden;
}

.nbb-wp a {
    color: inherit;
    text-decoration: none;
}

.nbb-wp img {
    max-width: 100%;
    height: auto;
}

.nbb-container {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.nbb-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(251, 250, 246, 0.92);
    border-bottom: 1px solid rgba(222, 216, 204, 0.68);
    backdrop-filter: blur(16px);
    transition: box-shadow 0.25s ease, background 0.25s ease;
}

.nbb-header.is-scrolled {
    background: rgba(251, 250, 246, 0.98);
    box-shadow: 0 12px 32px rgba(61, 53, 51, 0.08);
}

.nbb-nav {
    min-height: var(--nbb-header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nbb-logo,
.nbb-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.nbb-logo img,
.nbb-footer-logo img {
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 24px rgba(61, 53, 51, 0.08);
    border: 1px solid rgba(222, 216, 204, 0.72);
    flex: 0 0 auto;
}

.nbb-logo span,
.nbb-footer-logo span {
    min-width: 0;
}

.nbb-logo strong,
.nbb-footer-logo strong {
    display: block;
    color: var(--nbb-primary);
    font-family: var(--nbb-heading);
    font-size: 1.35rem;
    font-weight: 600;
    letter-spacing: 1.4px;
    line-height: 1;
}

.nbb-logo small,
.nbb-footer-logo small {
    display: block;
    color: var(--nbb-accent);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 3px;
    line-height: 1.2;
}

.nbb-menu {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nbb-nav-list {
    display: flex;
    align-items: center;
    gap: 26px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nbb-nav-list a {
    color: var(--nbb-primary-soft);
    font-size: 0.9rem;
    font-weight: 600;
}

.nbb-nav-list a:hover,
.nbb-nav-list .current-menu-item > a {
    color: var(--nbb-accent-hover);
}

.nbb-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nbb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid var(--nbb-accent);
    background: var(--nbb-accent);
    color: var(--nbb-primary);
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 10px 24px rgba(184, 144, 46, 0.18);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.nbb-btn:hover {
    transform: translateY(-2px);
    background: var(--nbb-accent-hover);
    color: var(--nbb-white);
    box-shadow: 0 16px 30px rgba(184, 144, 46, 0.24);
}

.nbb-btn-mobile {
    display: none;
}

.nbb-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: var(--nbb-white);
    box-shadow: 0 10px 24px rgba(61, 53, 51, 0.08);
}

.nbb-toggle span {
    display: block;
    width: 19px;
    height: 2px;
    margin: 4px auto;
    background: var(--nbb-primary);
    transition: transform 0.22s ease, opacity 0.22s ease;
}

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

.nbb-article-hero,
.nbb-page-hero {
    padding: 64px 0 52px;
    background: linear-gradient(180deg, #fff7f4 0%, var(--nbb-bg) 100%);
    border-bottom: 1px solid rgba(222, 216, 204, 0.72);
}

.nbb-article-head {
    max-width: 940px;
}

.nbb-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 22px;
    color: var(--nbb-muted);
    font-size: 0.88rem;
}

.nbb-breadcrumb a:hover {
    color: var(--nbb-accent-hover);
}

.nbb-article-kicker,
.nbb-archive-eyebrow,
.nbb-side-eyebrow {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
    color: var(--nbb-accent-hover);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.nbb-article-hero h1,
.nbb-page-hero h1 {
    max-width: 980px;
    margin: 0;
    color: var(--nbb-primary);
    font-family: var(--nbb-heading);
    font-size: clamp(2.35rem, 5vw, 4.75rem);
    font-weight: 500;
    line-height: 1.04;
}

.nbb-article-excerpt,
.nbb-page-hero p {
    max-width: 760px;
    margin: 22px 0 0;
    color: var(--nbb-muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.nbb-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 46px;
    align-items: start;
    padding-top: 52px;
    padding-bottom: 86px;
}

.nbb-article,
.nbb-page-article {
    min-width: 0;
}

.nbb-featured {
    margin: 0 0 34px;
    overflow: hidden;
    border-radius: var(--nbb-radius);
    box-shadow: var(--nbb-shadow);
}

.nbb-featured img {
    display: block;
    width: 100%;
}

.nbb-content {
    color: var(--nbb-text);
    font-size: 1.04rem;
}

.nbb-content > *:first-child {
    margin-top: 0;
}

.nbb-content p {
    margin: 0 0 1.25em;
}

.nbb-content h2,
.nbb-content h3,
.nbb-content h4 {
    color: var(--nbb-primary);
    line-height: 1.16;
}

.nbb-content h2 {
    margin: 2.1em 0 0.75em;
    font-family: var(--nbb-heading);
    font-size: clamp(1.8rem, 3.6vw, 2.55rem);
    font-weight: 600;
}

.nbb-content h3 {
    margin: 1.7em 0 0.65em;
    font-size: 1.35rem;
}

.nbb-content ul,
.nbb-content ol {
    margin: 0 0 1.35em 1.25em;
    padding: 0;
}

.nbb-content li {
    margin-bottom: 0.55em;
}

.nbb-content a {
    color: var(--nbb-accent-hover);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.nbb-content blockquote {
    margin: 2em 0;
    padding: 24px 28px;
    border-left: 4px solid var(--nbb-accent);
    background: var(--nbb-white);
    color: var(--nbb-primary-soft);
    box-shadow: var(--nbb-shadow);
}

.nbb-content .nbb-related-box,
.nbb-content a[class^="u"][class*=" "] {
    display: block;
    margin: 1.8em 0;
    padding: 18px 20px;
    border: 1px solid rgba(222, 216, 204, 0.9);
    border-left: 4px solid var(--nbb-accent);
    border-radius: 0 var(--nbb-radius) var(--nbb-radius) 0;
    background: linear-gradient(135deg, #ffffff 0%, #fff7f4 100%);
    color: var(--nbb-primary);
    box-shadow: 0 12px 28px rgba(61, 53, 51, 0.06);
    text-decoration: none;
}

.nbb-content .nbb-related-label,
.nbb-content .ctaText {
    display: block;
    margin-bottom: 4px;
    color: var(--nbb-accent-hover);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.nbb-content .nbb-related-box a,
.nbb-content .postTitle {
    color: var(--nbb-primary);
    font-weight: 800;
    line-height: 1.35;
    text-decoration: none !important;
}

.nbb-content .nbb-related-box:hover,
.nbb-content a[class^="u"][class*=" "]:hover {
    border-left-color: var(--nbb-accent-hover);
}

.nbb-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.6em 0;
    overflow: hidden;
    border-radius: var(--nbb-radius);
}

.nbb-content th,
.nbb-content td {
    padding: 14px 16px;
    border: 1px solid var(--nbb-border);
    text-align: left;
}

.nbb-content th {
    background: var(--nbb-bg-alt);
    color: var(--nbb-primary);
}

.nbb-content img {
    border-radius: var(--nbb-radius);
}

.nbb-post-footer {
    margin-top: 36px;
    padding-top: 24px;
    border-top: 1px solid var(--nbb-border);
}

.nbb-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.nbb-tags span {
    color: var(--nbb-muted);
    font-weight: 700;
}

.nbb-tags a {
    padding: 7px 12px;
    border: 1px solid var(--nbb-border);
    border-radius: 999px;
    background: var(--nbb-white);
    color: var(--nbb-primary-soft);
    font-size: 0.85rem;
    font-weight: 700;
}

.nbb-sidebar {
    position: sticky;
    top: 104px;
    display: grid;
    gap: 18px;
}

.nbb-side-card {
    padding: 24px;
    border: 1px solid rgba(222, 216, 204, 0.86);
    border-radius: var(--nbb-radius);
    background: var(--nbb-white);
    box-shadow: var(--nbb-shadow);
}

.nbb-side-card h2,
.nbb-side-card h3 {
    margin: 0 0 12px;
    color: var(--nbb-primary);
    font-family: var(--nbb-heading);
    font-size: 1.75rem;
    line-height: 1.12;
}

.nbb-side-card p {
    margin: 0 0 18px;
    color: var(--nbb-muted);
    font-size: 0.95rem;
    line-height: 1.65;
}

.nbb-btn-wide {
    width: 100%;
}

.nbb-related-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nbb-related-list li + li {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--nbb-border);
}

.nbb-related-list a {
    color: var(--nbb-primary);
    font-weight: 700;
    line-height: 1.35;
}

.nbb-related-list a:hover {
    color: var(--nbb-accent-hover);
}

.nbb-page-content {
    padding-top: 54px;
    padding-bottom: 80px;
}

.nbb-archive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    padding-top: 54px;
    padding-bottom: 86px;
}

.nbb-card {
    overflow: hidden;
    border: 1px solid rgba(222, 216, 204, 0.86);
    border-radius: var(--nbb-radius);
    background: var(--nbb-white);
    box-shadow: 0 10px 28px rgba(61, 53, 51, 0.05);
    transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.nbb-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--nbb-shadow);
}

.nbb-card-img {
    display: block;
    aspect-ratio: 1.45 / 1;
    overflow: hidden;
    background: var(--nbb-bg-alt);
}

.nbb-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.32s ease;
}

.nbb-card:hover .nbb-card-img img {
    transform: scale(1.05);
}

.nbb-card-body {
    padding: 24px;
}

.nbb-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--nbb-accent-hover);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nbb-card h2 {
    margin: 0 0 12px;
    color: var(--nbb-primary);
    font-family: var(--nbb-heading);
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.15;
}

.nbb-card p {
    margin: 0 0 16px;
    color: var(--nbb-muted);
    font-size: 0.94rem;
    line-height: 1.65;
}

.nbb-read-more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--nbb-accent-hover);
    font-weight: 800;
}

.nbb-pagination {
    grid-column: 1 / -1;
}

.nbb-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.nbb-pagination a,
.nbb-pagination span {
    min-width: 42px;
    padding: 10px 14px;
    border: 1px solid var(--nbb-border);
    border-radius: 999px;
    background: var(--nbb-white);
    text-align: center;
    font-weight: 700;
}

.nbb-pagination .current {
    background: var(--nbb-accent);
    border-color: var(--nbb-accent);
    color: var(--nbb-primary);
}

.nbb-empty {
    grid-column: 1 / -1;
    padding: 32px;
    border: 1px solid var(--nbb-border);
    border-radius: var(--nbb-radius);
    background: var(--nbb-white);
}

.nbb-footer {
    border-top: 1px solid var(--nbb-border);
    background: var(--nbb-primary);
    color: rgba(255, 255, 255, 0.78);
}

.nbb-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 44px;
    padding: 58px 0;
}

.nbb-footer-logo strong {
    color: var(--nbb-white);
}

.nbb-footer p {
    max-width: 420px;
    margin: 18px 0 0;
}

.nbb-footer h3 {
    margin: 0 0 14px;
    color: var(--nbb-white);
    font-size: 1rem;
}

.nbb-footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nbb-footer li + li {
    margin-top: 8px;
}

.nbb-footer a:hover {
    color: var(--nbb-accent);
}

.nbb-footer-bottom {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.86rem;
}

.nbb-floating-wa {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: var(--nbb-white);
    font-size: 1.65rem;
    box-shadow: 0 16px 36px rgba(37, 211, 102, 0.32);
}

@media (max-width: 1024px) {
    .nbb-layout {
        grid-template-columns: 1fr;
    }

    .nbb-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nbb-archive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .nbb-btn-desktop {
        display: none;
    }

    .nbb-toggle {
        display: block;
    }

    .nbb-menu {
        position: fixed;
        inset: var(--nbb-header-height) 0 auto 0;
        display: none;
        min-height: calc(100vh - var(--nbb-header-height));
        padding: 28px 24px;
        background: rgba(251, 250, 246, 0.98);
        border-top: 1px solid var(--nbb-border);
    }

    .nbb-menu.is-open {
        display: block;
    }

    .nbb-nav-list {
        display: grid;
        gap: 18px;
    }

    .nbb-nav-list a {
        display: block;
        font-size: 1.05rem;
    }

    .nbb-btn-mobile {
        display: inline-flex;
        margin-top: 24px;
    }
}

@media (max-width: 680px) {
    .nbb-container {
        width: min(100% - 36px, 1200px);
    }

    .nbb-logo img {
        display: block;
        width: 34px;
        height: 34px;
        flex-basis: 34px;
    }

    .nbb-logo strong {
        font-size: 1.18rem;
        letter-spacing: 1.1px;
        white-space: nowrap;
    }

    .nbb-logo small {
        font-size: 0.54rem;
        letter-spacing: 2.45px;
        white-space: nowrap;
    }

    .nbb-logo {
        gap: 9px;
        max-width: 230px;
    }

    .nbb-nav {
        gap: 12px;
    }

    .nbb-article-hero,
    .nbb-page-hero {
        padding: 42px 0 36px;
    }

    .nbb-article-hero h1,
    .nbb-page-hero h1 {
        font-size: clamp(2.15rem, 12vw, 3.2rem);
    }

    .nbb-layout,
    .nbb-page-content,
    .nbb-archive-grid {
        padding-top: 34px;
        padding-bottom: 60px;
    }

    .nbb-sidebar {
        grid-template-columns: 1fr;
    }

    .nbb-archive-grid {
        grid-template-columns: 1fr;
    }

    .nbb-content {
        font-size: 1rem;
    }

    .nbb-content h2 {
        font-size: 1.85rem;
    }

    .nbb-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 44px 0;
    }

    .nbb-floating-wa {
        right: 16px;
        bottom: 16px;
        width: 54px;
        height: 54px;
    }
}
