/* ==========================================================================
   Bdevs journal — blog list / archives / search (template-parts/bd-journal.php) and single articles
   (single.php), after synthrova.io's blog: the theme's two columns (content + "Blog Sidebar" widgets).
   !important only where bdevs-dark.css / kimox-unit.css already use it (sidebar cards, blockquotes,
   comment boxes, inputs).
   ========================================================================== */
.bd-journal,
.bd-post-area,
.bd-related,
.bd-sidebar {
    --bdj-card: #0e0d14;
    --bdj-line: rgba(255, 255, 255, 0.1);
    --bdj-text: #f4f4f1;
    --bdj-body: #cfcbda;
    --bdj-mute: #a7a3b5;
    --bdj-lime: #d4ff3f;
    --bdj-violet: #a66cff;
    --bdj-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
    --bdj-sans: "Instrument Sans", system-ui, sans-serif;
    --bdj-serif: "Instrument Serif", Georgia, serif;
    --bd-pr-accent: #d4ff3f;
}

.bd-journal,
.bd-post-area,
.bd-related {
    position: relative;
    background: #050507;
    color: var(--bdj-body);
    font-family: var(--bdj-sans);
}

.bd-post-wrap {
    width: 100%;
    max-width: 1368px;
    margin: 0 auto;
    padding: 0 24px;
}

/* two columns: content + sidebar */
.bd-blog-cols {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    align-items: start;
    gap: 70px;
}

.bd-blog-cols.is-wide {
    grid-template-columns: minmax(0, 880px);
    justify-content: center;
}

.bd-blog-main {
    min-width: 0;
}

/* title band on articles: only the trail (the title sits in the article) */
body.single-post .bd-pagehead .generic-el-page-title {
    display: none !important;
}

body.single-post .e-con.bd-pagehead {
    --min-height: 330px !important;
}

/* reading line at the very top (articles) */
.bd-post-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    height: 3px;
    pointer-events: none;
}

.bd-post-progress i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #7c4dff, #d4ff3f);
    transform: scaleX(0);
    transform-origin: 0 50%;
}

/* pills (categories) */
.bd-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 60px;
    background: rgba(255, 255, 255, 0.04);
    font: 600 13px/1 var(--bdj-sans);
    color: #d9d5e4;
    text-decoration: none;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

a.bd-pill:hover {
    border-color: var(--bdj-lime);
    background: var(--bdj-lime);
    color: #070707;
}

.bd-post-av {
    display: inline-grid;
    flex: 0 0 auto;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(150deg, #b98cff, #6a3cf0);
    box-shadow: 0 12px 26px -12px rgba(124, 77, 255, 0.9);
    color: #fff;
    font: 700 13px/1 var(--bdj-sans);
    letter-spacing: 0.04em;
}

.bd-post-av.is-sm {
    width: 30px;
    height: 30px;
    font-size: 11px;
}

/* ---------------------------------------------------------------- blog list */
.bd-journal {
    padding: 110px 0 120px;
}

.bd-journal-head {
    margin-bottom: 60px;
    padding-bottom: 34px;
    border-bottom: 1px solid var(--bdj-line);
}

.bd-journal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    font: 600 14px/1 var(--bdj-sans);
    color: var(--bdj-lime);
    text-decoration: none;
}

.bd-journal-back i {
    font-style: normal;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.bd-journal-back:hover {
    color: #fff;
}

.bd-journal-back:hover i {
    transform: translateX(-4px);
}

.bd-journal-title {
    margin: 0;
    font: 800 clamp(40px, 4.6vw, 72px) / 0.94 var(--bdj-display);
    text-transform: uppercase;
    color: var(--bdj-text);
}

.bd-journal-title em {
    font: italic 400 1.02em/1 var(--bdj-serif);
    text-transform: none;
    color: var(--bdj-lime);
}

.bd-journal-desc {
    margin-top: 16px;
    font-size: 17px;
    line-height: 1.6;
    color: var(--bdj-mute);
}

.bd-journal-desc p {
    margin: 0;
    color: inherit;
}

.bd-list-card {
    margin: 0 0 90px;
}

.bd-list-card:last-child {
    margin-bottom: 0;
}

.bd-list-img {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 28px;
    background: #121019;
    aspect-ratio: 3 / 2;
    isolation: isolate;
}

.bd-list-img::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.bd-list-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.bd-list-card:hover .bd-list-img img {
    transform: scale(1.06);
}

.bd-list-img .bd-pr-badge {
    width: 118px;
    height: 118px;
    margin: -59px 0 0 -59px;
    font-size: 16px;
}

.bd-list-card:hover .bd-pr-badge {
    scale: 1;
}

.bd-list-body {
    padding-top: 30px;
}

.bd-list-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 0;
    font: 500 15px/1 var(--bdj-sans);
    color: var(--bdj-mute);
}

.bd-list-meta .bd-post-av {
    margin-right: 10px;
}

.bd-list-meta b {
    font-weight: 600;
    color: var(--bdj-text);
}

.bd-list-meta > time,
.bd-list-meta > time ~ span {
    margin-left: 14px;
    padding-left: 14px;
    border-left: 1.5px solid rgba(255, 255, 255, 0.22);
}

.bd-list-title {
    margin: 22px 0 0;
    font: 800 clamp(32px, 3.3vw, 52px) / 0.96 var(--bdj-display);
    letter-spacing: -0.2px;
    text-transform: uppercase;
}

.bd-list-title a {
    color: var(--bdj-text);
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0% 2px;
    transition: color 0.35s, background-size 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.bd-list-card:hover .bd-list-title a {
    color: var(--bdj-lime);
    background-size: 100% 2px;
}

.bd-list-ex {
    margin: 18px 0 0;
    max-width: 760px;
    font: 400 17px/1.7 var(--bdj-sans);
    color: var(--bdj-mute);
}

.bd-list-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--bdj-line);
}

.bd-list-cats {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bd-list-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: 600 15px/1 var(--bdj-sans);
    color: var(--bdj-lime);
    text-decoration: none;
}

.bd-list-more i {
    font-style: normal;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.bd-list-more:hover {
    color: #fff;
}

.bd-list-card:hover .bd-list-more i,
.bd-list-more:hover i {
    transform: translateX(5px);
}

.bd-journal .bd-journal-pages {
    margin-top: 80px;
}

.bd-journal .bd-journal-pages .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bd-journal .bd-journal-pages .page-numbers {
    display: inline-grid;
    place-items: center;
    min-width: 50px;
    height: 50px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 60px;
    font: 600 15px/1 var(--bdj-sans);
    color: var(--bdj-text);
    text-decoration: none;
    transition: border-color 0.3s, background-color 0.3s, color 0.3s;
}

.bd-journal .bd-journal-pages .page-numbers.current,
.bd-journal .bd-journal-pages a.page-numbers:hover {
    border-color: var(--bdj-lime);
    background: var(--bdj-lime);
    color: #070707;
}

.bd-journal-empty {
    padding: 70px 24px;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    text-align: center;
}

.bd-journal-empty p {
    margin: 0 0 18px;
    font-size: 18px;
    color: var(--bdj-mute);
}

/* ---------------------------------------------------------------- sidebar (Blog Sidebar widgets) */
.bd-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-family: var(--bdj-sans);
}

.bd-sidebar .sidebar__widget {
    margin: 0 !important;
    padding: 30px !important;
    border: 1px solid var(--bdj-line) !important;
    border-radius: 24px !important;
    background: var(--bdj-card) !important;
}

/* sticks while the posts scroll by (desktop); --bd-side-top from bdevs-theme.js (negative when the sidebar
   is taller than the screen, so it scrolls to its last widget first) */
@media (min-width: 1200px) {
    .bd-sidebar {
        position: sticky;
        top: var(--bd-side-top, 120px);
    }
}

.bd-sidebar .wp-block-group {
    margin: 0;
}

/* the theme pads sidebar links for its own arrow icon — not used here */
.bd-sidebar .sidebar__widget ul li a {
    padding-left: 0;
}

.bd-sidebar .sidebar__widget ul li a::after {
    display: none;
}

.bd-sidebar .bd-widget-title,
.bd-sidebar .sidebar__widget h4.bd-widget-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    font: 800 26px/1 var(--bdj-display) !important;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--bdj-text) !important;
}

.bd-sidebar .bd-widget-title::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--bdj-lime);
    transform: rotate(45deg);
}

.bd-sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* search */
.bd-sidebar .wp-block-search__inside-wrapper {
    position: relative;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
}

.bd-sidebar .wp-block-search__input {
    height: 54px;
    padding: 0 64px 0 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    border-radius: 60px !important;
    background: #050507 !important;
    font: 500 15px/1 var(--bdj-sans);
    color: var(--bdj-text) !important;
    box-shadow: none;
}

.bd-sidebar .wp-block-search__input:focus {
    border-color: var(--bdj-lime) !important;
    outline: 0;
}

.bd-sidebar .wp-block-search__input::placeholder {
    color: rgba(255, 255, 255, 0.42);
}

.bd-sidebar .wp-block-search__button {
    position: absolute;
    right: 6px;
    top: 6px;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--bdj-lime) !important;
    color: #070707 !important;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.bd-sidebar .wp-block-search__button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.bd-sidebar .wp-block-search__button:hover {
    transform: rotate(-12deg) scale(1.06);
}

/* recent articles: thumb + title + date */
.bd-sidebar .wp-block-latest-posts li {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 16px;
    row-gap: 6px;
    margin: 0;
    padding: 16px 0;
    border-top: 1px solid var(--bdj-line);
}

.bd-sidebar .wp-block-latest-posts li:first-child {
    padding-top: 0;
    border-top: 0;
}

.bd-sidebar .wp-block-latest-posts li:last-child {
    padding-bottom: 0;
}

.bd-sidebar .wp-block-latest-posts__featured-image {
    grid-row: 1 / span 2;
    float: none !important;
    margin: 0 !important;
    overflow: hidden;
    border-radius: 14px;
}

.bd-sidebar .wp-block-latest-posts__featured-image img {
    display: block;
    width: 92px !important;
    height: 70px !important;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.bd-sidebar .wp-block-latest-posts li:hover .wp-block-latest-posts__featured-image img {
    transform: scale(1.1);
}

.bd-sidebar .wp-block-latest-posts__post-title {
    align-self: end;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font: 600 15px/1.35 var(--bdj-sans);
    color: var(--bdj-text) !important;
    text-decoration: none;
    transition: color 0.3s;
}

.bd-sidebar .wp-block-latest-posts__post-title:hover {
    color: var(--bdj-lime) !important;
}

.bd-sidebar .wp-block-latest-posts__post-date {
    align-self: start;
    font: 500 13px/1 var(--bdj-sans);
    color: var(--bdj-mute);
}

/* topics / archives: rows with the count on the right */
.bd-sidebar .bd-side-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 13px 0;
    border-top: 1px solid var(--bdj-line);
    font: 500 14px/1 var(--bdj-sans);
    color: var(--bdj-mute) !important;
}

.bd-sidebar .bd-side-list li:first-child {
    padding-top: 0;
    border-top: 0;
}

.bd-sidebar .bd-side-list li:last-child {
    padding-bottom: 0;
}

.bd-sidebar .bd-side-list li a {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font: 600 16px/1.2 var(--bdj-sans);
    color: var(--bdj-text) !important;
    text-decoration: none;
    transition: color 0.3s, padding-left 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.bd-sidebar .bd-side-list li a::before {
    content: "→" !important;
    display: inline-block;
    width: 0;
    overflow: hidden;
    color: var(--bdj-lime) !important;
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.bd-sidebar .bd-side-list li a:hover {
    color: var(--bdj-lime) !important;
}

.bd-sidebar .bd-side-list li a:hover::before {
    width: 18px;
}

/* tags */
.bd-sidebar .wp-block-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.bd-sidebar .wp-block-tag-cloud a {
    margin: 0 !important;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 60px;
    background: rgba(255, 255, 255, 0.03);
    font: 600 13px/1 var(--bdj-sans) !important;
    color: #d9d5e4 !important;
    text-decoration: none;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.bd-sidebar .wp-block-tag-cloud a:hover {
    border-color: var(--bdj-lime);
    background: var(--bdj-lime);
    color: #070707 !important;
}

/* CTA card */
.bd-sidebar .sidebar__widget:has(.bd-side-cta) {
    padding: 0 !important;
    overflow: hidden;
    border-color: rgba(166, 108, 255, 0.35) !important;
    background:
        radial-gradient(90% 70% at 100% 0%, rgba(124, 77, 255, 0.5), transparent 70%),
        radial-gradient(70% 60% at 0% 100%, rgba(212, 255, 63, 0.14), transparent 70%),
        #120f1e !important;
}

.bd-sidebar .bd-side-cta {
    padding: 32px 30px 34px;
}

.bd-sidebar .bd-side-cta-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    font: 700 12px/1 var(--bdj-sans);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bdj-lime);
}

.bd-sidebar .bd-side-cta-chip::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bdj-lime);
    animation: bdj-pulse 1.8s ease-out infinite;
}

@keyframes bdj-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 255, 63, 0.6);
    }

    100% {
        box-shadow: 0 0 0 12px rgba(212, 255, 63, 0);
    }
}

.bd-sidebar .bd-side-cta h4 {
    margin: 0 0 14px;
    font: 800 40px/0.92 var(--bdj-display) !important;
    text-transform: uppercase;
    color: var(--bdj-text) !important;
}

.bd-sidebar .bd-side-cta h4 em {
    font: italic 400 1.05em/1 var(--bdj-serif);
    text-transform: none;
    color: var(--bdj-lime);
}

.bd-sidebar .bd-side-cta p:not(.bd-side-cta-chip) {
    margin: 0 0 24px;
    font: 400 15px/1.6 var(--bdj-sans);
    color: #d9d5e4;
}

.bd-sidebar .bd-side-cta .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 24px;
    border-radius: 60px;
    background: var(--bdj-lime);
    font: 700 15px/1 var(--bdj-sans);
    color: #070707 !important; /* theme link colours use !important */
    text-decoration: none;
    transition: background-color 0.3s, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.bd-sidebar .bd-side-cta .wp-block-button__link::after {
    content: "↗";
}

.bd-sidebar .bd-side-cta .wp-block-button__link:hover {
    background: #fff;
    color: #070707 !important;
    transform: translateY(-2px);
}

/* ---------------------------------------------------------------- single article */
.bd-post-area {
    padding: 100px 0 110px;
}

.bd-post-head {
    text-align: center;
}

.bd-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 0;
    font: 600 14px/1 var(--bdj-sans);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--bdj-mute);
}

.bd-post-meta > * + * {
    margin-left: 14px;
    padding-left: 14px;
    border-left: 1.5px solid rgba(255, 255, 255, 0.22);
}

.bd-post-meta .bd-post-cats a {
    color: var(--bdj-lime);
    text-decoration: none;
}

.bd-post-meta .bd-post-cats a:hover {
    color: #fff;
}

.bd-post-title {
    margin: 26px auto 0;
    max-width: 900px;
    font: 800 clamp(42px, 5.2vw, 84px) / 0.94 var(--bdj-display);
    letter-spacing: -0.3px;
    text-transform: uppercase;
    color: var(--bdj-text);
}

.bd-post-byline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    font: 500 16px/1 var(--bdj-sans);
    color: var(--bdj-mute);
}

.bd-post-byline b {
    font-weight: 600;
    color: var(--bdj-text);
}

.bd-post-share {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 26px;
}

.bd-share {
    position: relative;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: var(--bdj-text);
    transition: background-color 0.35s, border-color 0.35s, color 0.35s, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.bd-share svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.bd-share:hover,
.bd-share:focus-visible {
    border-color: var(--bdj-lime);
    background: var(--bdj-lime);
    color: #070707;
    transform: translateY(-4px) rotate(-8deg);
}

.bd-share-tip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    padding: 7px 11px;
    border-radius: 8px;
    background: var(--bdj-lime);
    color: #070707;
    font: 700 12px/1 var(--bdj-sans);
    white-space: nowrap;
    opacity: 0;
    transform: translate(-50%, 6px);
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
}

.bd-share-copy.is-copied .bd-share-tip {
    opacity: 1;
    transform: translate(-50%, 0);
}

.bd-post-cover {
    position: relative;
    margin: 56px 0 60px;
    overflow: hidden;
    border-radius: 28px;
    background: #121019;
    aspect-ratio: 3 / 2;
    box-shadow: 0 60px 120px -60px rgba(124, 77, 255, 0.5);
}

.bd-post-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bd-post-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

/* article text */
.bd-post-body {
    font: 400 18px/1.8 var(--bdj-sans);
    color: var(--bdj-body);
}

.bd-post-body > * {
    margin-top: 0;
    margin-bottom: 1.3em;
}

.bd-post-body p {
    color: inherit;
}

.bd-post-body strong,
.bd-post-body b {
    font-weight: 600;
    color: var(--bdj-text);
}

.bd-post-body em {
    font-family: var(--bdj-serif);
    font-size: 1.12em;
    font-style: italic;
    color: var(--bdj-lime);
}

.bd-post-body a {
    color: var(--bdj-lime);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

/* each section opens with a hairline, like the reference */
.bd-post-body h2 {
    margin: 1.9em 0 0.7em;
    padding-top: 1.1em;
    border-top: 1px solid var(--bdj-line);
    font: 800 clamp(28px, 2.6vw, 40px) / 1 var(--bdj-display);
    letter-spacing: -0.1px;
    text-transform: uppercase;
    color: var(--bdj-text);
    scroll-margin-top: calc(var(--bd-header-h, 90px) + 30px);
}

.bd-post-body .wp-block-separator + h2 {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.bd-post-body h3 {
    margin: 1.6em 0 0.6em;
    font: 800 26px/1.05 var(--bdj-display);
    text-transform: uppercase;
    color: var(--bdj-text);
}

.bd-post-body ul,
.bd-post-body ol {
    margin-left: 0;
    padding: 0;
    list-style: none;
}

.bd-post-body ol {
    counter-reset: bdli;
}

.bd-post-body li {
    position: relative;
    margin: 0 0 0.7em;
    padding-left: 32px;
}

.bd-post-body ul > li::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 0.72em;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: var(--bdj-lime);
    transform: rotate(45deg);
}

.bd-post-body ol > li {
    counter-increment: bdli;
}

.bd-post-body ol > li::before {
    content: counter(bdli, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0.12em;
    font: 800 17px/1.6 var(--bdj-display);
    color: var(--bdj-lime);
}

.bd-post-body .wp-block-separator {
    height: 1px;
    margin: 2.2em 0;
    border: 0;
    background: var(--bdj-line);
    opacity: 1;
}

/* pull quote: dark glowing card, serif italic, lime mark */
.bd-post-body .wp-block-pullquote {
    position: relative;
    margin: 2.4em 0;
    padding: 52px 48px 46px;
    overflow: hidden;
    border: 1px solid var(--bdj-line) !important;
    border-radius: 26px;
    background:
        radial-gradient(70% 90% at 100% 0%, rgba(124, 77, 255, 0.32), transparent 70%),
        radial-gradient(50% 70% at 0% 100%, rgba(212, 255, 63, 0.08), transparent 70%),
        var(--bdj-card);
    font-size: inherit;
    line-height: inherit;
    text-align: left;
}

.bd-post-body .wp-block-pullquote blockquote {
    margin: 0;
    padding: 0;
    border: 0 !important;
    border-radius: 0;
    background: none !important;
    box-shadow: none;
}

.bd-post-body .wp-block-pullquote blockquote::before {
    content: "“";
    display: block;
    height: 50px;
    margin-bottom: 8px;
    font: 900 110px/1 var(--bdj-display);
    color: var(--bdj-lime) !important;
}

.bd-post-body .wp-block-pullquote p {
    margin: 0;
    font: italic 400 clamp(26px, 2.6vw, 38px) / 1.16 var(--bdj-serif);
    color: #fff !important;
}

/* pictures */
.bd-post-body .wp-block-image {
    margin: 2.4em 0;
}

.bd-post-body .wp-block-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 22px;
}

.bd-post-body .wp-block-image.bd-img-tall {
    padding: 44px 36px 28px;
    border: 1px solid var(--bdj-line);
    border-radius: 26px;
    background:
        radial-gradient(60% 60% at 50% 10%, rgba(124, 77, 255, 0.4), transparent 70%),
        radial-gradient(40% 40% at 50% 100%, rgba(212, 255, 63, 0.08), transparent 70%),
        var(--bdj-card);
}

.bd-post-body .wp-block-image.bd-img-tall img {
    max-width: 340px;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9);
}

.bd-post-body .wp-block-image figcaption,
.bd-post-body .wp-element-caption {
    position: relative;
    margin: 16px 0 0;
    padding-left: 34px;
    font: 500 14px/1.5 var(--bdj-sans);
    text-align: left;
    color: var(--bdj-mute);
}

.bd-post-body .wp-block-image figcaption::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 22px;
    height: 1px;
    background: var(--bdj-lime);
}

/* FAQ: big heading with a diamond, every answer open (a click folds it) */
.bd-post-body h2.bd-faq-title {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 2.2em;
    font-size: clamp(40px, 4vw, 60px);
}

.bd-post-body h2.bd-faq-title::before {
    content: "";
    width: 26px;
    height: 26px;
    border-radius: 5px;
    background: linear-gradient(135deg, #d4ff3f, #a66cff);
    box-shadow: 0 0 24px rgba(166, 108, 255, 0.55);
    transform: rotate(45deg);
}

.bd-post-body .wp-block-details {
    margin: 0;
    border-top: 1px solid var(--bdj-line);
}

.bd-post-body .wp-block-details:last-child {
    border-bottom: 1px solid var(--bdj-line);
}

.bd-post-body .wp-block-details summary {
    position: relative;
    padding: 24px 56px 14px 0;
    list-style: none;
    font: 800 24px/1.1 var(--bdj-display);
    text-transform: uppercase;
    color: var(--bdj-text);
    cursor: pointer;
    transition: color 0.3s;
}

.bd-post-body .wp-block-details:not([open]) summary {
    padding-bottom: 24px;
}

.bd-post-body .wp-block-details summary::-webkit-details-marker {
    display: none;
}

.bd-post-body .wp-block-details summary::before,
.bd-post-body .wp-block-details summary::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 34px;
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.bd-post-body .wp-block-details:not([open]) summary::after {
    transform: rotate(90deg);
}

.bd-post-body .wp-block-details summary:hover {
    color: var(--bdj-lime);
}

.bd-post-body .wp-block-details > p {
    margin: 0 0 24px;
    padding-right: 56px;
    font-size: 17px;
    color: var(--bdj-mute);
}

/* tags */
.bd-post-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-top: 56px;
}

.bd-post-label {
    margin-right: 6px;
    font: 700 12px/1 var(--bdj-sans);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--bdj-mute);
}

.bd-post-tags a {
    padding: 9px 15px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 60px;
    font: 600 14px/1 var(--bdj-sans);
    color: #d9d5e4;
    text-decoration: none;
    transition: border-color 0.3s, color 0.3s, background-color 0.3s;
}

.bd-post-tags a:hover {
    border-color: var(--bdj-lime);
    background: var(--bdj-lime);
    color: #070707;
}

/* previous / next — between two hairlines */
.bd-post-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    margin-top: 60px;
    padding: 34px 0;
    border-top: 1px solid var(--bdj-line);
    border-bottom: 1px solid var(--bdj-line);
}

.bd-post-nav-item {
    display: flex;
    flex-direction: column;
    gap: 14px;
    color: var(--bdj-text);
    text-decoration: none;
}

.bd-post-nav-item.is-next {
    align-items: flex-end;
    text-align: right;
}

.bd-post-nav-item small {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: 700 12px/1 var(--bdj-sans);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--bdj-mute);
}

.bd-post-nav-item small i {
    font-style: normal;
    color: var(--bdj-lime);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.bd-post-nav-item b {
    font: 800 clamp(22px, 2vw, 28px) / 1.05 var(--bdj-display);
    text-transform: uppercase;
    transition: color 0.35s;
}

.bd-post-nav-item:hover {
    color: var(--bdj-text);
}

.bd-post-nav-item:hover b {
    color: var(--bdj-lime);
}

.bd-post-nav-item.is-prev:hover small i {
    transform: translateX(-5px);
}

.bd-post-nav-item.is-next:hover small i {
    transform: translateX(5px);
}

/* comments: big "Leave a reply", open form (no box) */
.bd-post-comments {
    margin-top: 80px;
}

.bd-post-comments .post-comments,
.bd-post-comments .post-comment-form {
    margin-top: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
}

.bd-post-comments .comment-reply-title,
.bd-post-comments .post-comments-title h2,
.bd-post-comments .blog-coment-title,
.bd-post-comments .blog-coment-title h2 {
    margin: 0 0 14px;
    font: 800 clamp(44px, 5vw, 76px) / 0.95 var(--bdj-display) !important;
    text-transform: uppercase;
    color: var(--bdj-text) !important;
}

.bd-post-comments .comment-notes,
.bd-post-comments .logged-in-as {
    margin-bottom: 26px;
    font-size: 16px;
    color: var(--bdj-mute);
}

.bd-post-comments .comment-form textarea,
.bd-post-comments .comment-form input:not([type="submit"]):not([type="checkbox"]) {
    border-radius: 18px !important;
    background: var(--bdj-card) !important;
}

/* ---------------------------------------------------------------- you may also like these */
.bd-related {
    padding: 110px 0 120px;
    border-top: 1px solid var(--bdj-line);
}

.bd-related-title {
    margin: 0 0 60px;
    font: 800 clamp(44px, 5.2vw, 84px) / 0.94 var(--bdj-display);
    text-align: center;
    text-transform: uppercase;
    color: var(--bdj-text);
}

.bd-related-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.bd-rel-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--bdj-line);
    border-radius: 24px;
    background: var(--bdj-card);
    color: var(--bdj-text);
    text-decoration: none;
    transition: border-color 0.4s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.bd-rel-card:hover {
    border-color: rgba(212, 255, 63, 0.45);
    color: var(--bdj-text);
    transform: translateY(-6px);
}

.bd-rel-img {
    display: block;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: #121019;
}

.bd-rel-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.bd-rel-card:hover .bd-rel-img img {
    transform: scale(1.08);
}

.bd-rel-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 24px 24px 26px;
}

.bd-rel-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font: 500 14px/1 var(--bdj-sans);
    color: var(--bdj-mute);
}

.bd-rel-meta i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.bd-rel-title {
    margin-top: 16px;
    font: 800 26px/1 var(--bdj-display);
    text-transform: uppercase;
    transition: color 0.35s;
}

.bd-rel-card:hover .bd-rel-title {
    color: var(--bdj-lime);
}

.bd-rel-ex {
    display: -webkit-box;
    margin-top: 14px;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font: 400 15px/1.6 var(--bdj-sans);
    color: var(--bdj-mute);
}

.bd-rel-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 20px;
}

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1199.98px) {
    .bd-blog-cols {
        grid-template-columns: minmax(0, 1fr);
        gap: 80px;
    }

    .bd-blog-main {
        max-width: 880px;
        width: 100%;
        margin: 0 auto;
    }

    .bd-sidebar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        max-width: 880px;
        width: 100%;
        margin: 0 auto;
    }

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

@media (max-width: 767px) {
    .bd-post-wrap {
        padding: 0 18px;
    }

    .bd-journal,
    .bd-post-area {
        padding: 70px 0 80px;
    }

    body.single-post .e-con.bd-pagehead {
        --min-height: 250px !important;
    }

    .bd-list-card {
        margin-bottom: 64px;
    }

    .bd-list-img,
    .bd-post-cover {
        border-radius: 20px;
    }

    .bd-list-body {
        padding-top: 22px;
    }

    .bd-list-meta {
        font-size: 14px;
    }

    .bd-list-ex {
        font-size: 16px;
    }

    .bd-sidebar {
        display: flex;
        align-items: stretch;
    }

    .bd-sidebar .sidebar__widget {
        padding: 24px !important;
    }

    .bd-post-meta {
        font-size: 12px;
    }

    .bd-post-title {
        font-size: clamp(38px, 11vw, 54px);
    }

    .bd-share {
        width: 46px;
        height: 46px;
    }

    .bd-post-cover {
        margin: 40px 0 44px;
    }

    .bd-post-body {
        font-size: 17px;
    }

    .bd-post-body .wp-block-pullquote {
        padding: 38px 24px 32px;
        border-radius: 22px;
    }

    .bd-post-body .wp-block-image.bd-img-tall {
        padding: 28px 18px 20px;
    }

    .bd-post-body .wp-block-image.bd-img-tall img {
        max-width: 80%;
    }

    .bd-post-body .wp-block-details summary {
        padding-right: 40px;
        font-size: 21px;
    }

    .bd-post-body .wp-block-details summary::before,
    .bd-post-body .wp-block-details summary::after {
        right: 4px;
        top: 32px;
    }

    .bd-post-body .wp-block-details > p {
        padding-right: 0;
    }

    .bd-post-nav {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    .bd-related {
        padding: 80px 0 90px;
    }

    .bd-related-title {
        margin-bottom: 40px;
    }

    .bd-related-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
