/* ══════════════════════════════════════════════
   Thoughts Single — Article Detail Page Styles
   ══════════════════════════════════════════════ */

/* Article Wrapper */
.bsb-single-article {
    padding-top: 150px;
    padding-bottom: 4rem;
}

/* ── Featured Image ── */
.bsb-single-featured {
    width: 100%;
    margin-bottom: 1rem;
}

.single-page figure img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 20px;
}

.single-page figure figcaption {
    font-family: var(--bsb-font-primary);
    font-size: 0.75rem;
    font-weight: 400;
    color: #000000;
    line-height: 1.5;
    margin-top: 0.75rem;
}

/* ── Tags ── */
.bsb-single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 2.5rem;
    margin-bottom: 2rem;
}

.bsb-single-tag {
    padding: 6px 14px;
    border: 1px solid #06262D;
    border-radius: 100px;
    font-family: var(--bsb-font-primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #06262D;
    text-decoration: none;
}

/* ── Article Title ── */
.single-page h1 {
    font-family: var(--bsb-font-primary);
    font-size: clamp(3rem, 4.5vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    text-transform: uppercase;
    color: #000000;
    margin: 0 0 3rem;
    letter-spacing: -0.01em;
}

.single-page h2 {
    font-family: var(--bsb-font-primary);
    font-size: clamp(1.5rem, 1.8vw, 1.625rem);
    font-weight: 400;
    line-height: 1.6;
    color: #000000;
    margin: 3rem 0 1.25rem;
}

.bsb-single-body h2:first-child {
    margin-top: 0;
}

.single-page h3 {
    font-family: var(--bsb-font-primary);
    font-size: clamp(1rem, 1.4vw, 1.375rem);
    font-weight: 700;
    line-height: 1.4;
    color: #000000;
    margin: 2.5rem 0 1rem;
}

.bsb-single-body p {
    font-family: var(--bsb-font-primary);
    font-size: clamp(0.95rem, 1.1vw, 1.125rem);
    font-weight: 400;
    line-height: 1.85;
    color: #000000;
    margin: 0 0 1.5rem;
}

.bsb-single-body p:last-child {
    margin-bottom: 0;
}

.bsb-single-article a {
    color: #000;
    transition: all 0.3s ease;
}

.bsb-single-article a:hover {
    color: var(--theme-pink);
}

.bsb-single-body strong {
    font-weight: 700;
    color: var(--bsb-color-text);
}

.bsb-single-body em {
    font-style: italic;
}

.bsb-single-body a {
    color: var(--bsb-color-text);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.bsb-single-body a:hover {
    color: var(--theme-pink);
}

.bsb-single-body blockquote {
    border-left: 3px solid var(--bsb-color-text);
    padding: 0.5rem 0 0.5rem 1.5rem;
    margin: 2rem 0;
}

.bsb-single-body blockquote p {
    font-size: clamp(1.05rem, 1.3vw, 1.25rem);
    font-weight: 500;
    font-style: italic;
    color: var(--bsb-color-text);
    line-height: 1.7;
}

.bsb-single-body ul,
.bsb-single-body ol {
    padding-left: 1.5rem;
    margin: 0 0 1.5rem;
}

.bsb-single-body li {
    font-family: var(--bsb-font-primary);
    font-size: clamp(0.95rem, 1.1vw, 1.125rem);
    font-weight: 400;
    line-height: 1.85;
    color: #333333;
    margin-bottom: 0.5rem;
}

.bsb-single-body li:last-child {
    margin-bottom: 0;
}


/* ── Nav Wrapper ── */
.bsb-single-nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem;
    padding: 2rem 0;
    border-top: 1px solid #e0e0e0;
}

/* Share Icons */
.bsb-single-nav-wrapper>ul {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bsb-single-nav-wrapper>ul a {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.bsb-single-nav-wrapper>ul a:hover {
    opacity: 0.5;
}

.bsb-single-nav-wrapper>ul img {
    width: 22px;
    height: 22px;
}

/* Post Navigation */
.bsb-single-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.bsb-single-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--bsb-font-primary);
    font-size: 0.875rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--bsb-color-text);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.bsb-single-nav-link:hover {
    opacity: 0.6;
}

.bsb-single-nav-link img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

@media (min-width: 992px) {
    .bsb-single-nav {
        flex: 0 0 600px;
        justify-content: space-between;
    }

    .bsb-single-nav-link {
        font-size: 2rem;
    }

    .bsb-single-nav-link img {
        width: 35px;
        height: 35px;
    }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .bsb-single-article {
        padding-top: 120px;
    }
}

@media (max-width: 768px) {
    .bsb-single-article {
        padding-top: 100px;
        padding-bottom: 3rem;
    }

    .bsb-single-title {
        margin-bottom: 2rem;
    }

    .bsb-single-tags {
        margin-top: 2rem;
    }

    .bsb-single-body h2 {
        margin-top: 2.5rem;
    }

    .bsb-single-body h3 {
        margin-top: 2rem;
    }

    .bsb-single-nav-wrapper {
        margin-top: 3rem;
        padding: 1.5rem 0;
    }

    .bsb-single-nav {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .bsb-single-tags {
        gap: 8px;
    }

    .bsb-single-tag {
        font-size: 0.6rem;
        padding: 5px 12px;
    }

    .bsb-single-nav-wrapper>ul {
        gap: 1rem;
    }

    .bsb-single-nav-wrapper>ul img {
        width: 18px;
        height: 18px;
    }

    .bsb-single-nav {
        gap: 0.75rem;
    }

    .bsb-single-nav-link {
        font-size: 0.8rem;
    }
}