.sp-single-page {
    --orange: #e85d04;
    --orange-hover: #cf4f00;
    --orange-light: #fff3ea;
    --ink: #141517;
    --black: #141312;
    --bg: #f4f3f1;
    --white: #ffffff;
    --border: #ebe5df;
    --text-muted: #555e6d;
    --font-saira: 'Saira', system-ui, -apple-system, sans-serif;
    --font-jakarta: 'Plus Jakarta Sans', system-ui, sans-serif;
    padding: clamp(30px, 4vw, 50px) 0 clamp(50px, 6vw, 80px);
    /* background: var(--bg); */
    color: var(--black);
    font-family: var(--font-saira);
}

body.drawer-open {
    overflow: hidden;
}

:where(.sp-single-page) button {
    font: inherit;
    color: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

:where(.sp-single-page) a {
    color: inherit;
    text-decoration: none;
}

.sp-single-page .crumbs {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: clamp(14px, 1.2vw, 17px);
    font-weight: 400;
    margin-bottom: 24px;
    flex-wrap: wrap;
    margin-top: 110px;
}

.sp-single-page .crumbs a {
    color: var(--orange);
    transition: color 0.2s;
}

.sp-single-page .crumbs a:hover {
    color: var(--orange-hover);
    text-decoration: underline;
}

.sp-single-page .crumbs .cur {
    color: var(--ink);
    font-weight: 500;
}

.sp-single-page .crumbs svg {
    width: 6px;
    height: 12px;
    stroke: #9ca3af;
}

.sp-single-page .sp-intro {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.sp-single-page .sp-intro h1 {
    font-size: clamp(28px, 3.5vw, 50px);
    font-weight: 700;
    color: var(--black);
    line-height: 1.2;
}

.sp-single-page .sp-hero-card {
    background: var(--white);
    border-radius: clamp(26px, 3vw, 40px);
    padding: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border);
}

.sp-single-page .sp-hero-card__img {
    width: 100%;
    height: clamp(280px, 42vw, 640px);
    object-fit: cover;
    border-radius: clamp(20px, 2.5vw, 32px);
    display: block;
}

.sp-single-page .sp-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 32px;
    align-items: start;
}

.sp-single-page .sp-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-width: 0;
}

.sp-single-page .sp-filter-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    height: 50px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    color: var(--ink);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    margin-bottom: 20px;
}

.sp-single-page .sp-filter-toggle svg {
    stroke: var(--orange);
}

.sp-single-page .sp-article {
    background: var(--white);
    border-radius: clamp(26px, 3vw, 38px);
    padding: clamp(24px, 4vw, 48px);
    display: flex;
    flex-direction: column;
    gap: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border);
}

.sp-single-page .sp-blk {
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--black);
    scroll-margin-top: 110px;
}

.sp-single-page .sp-blk h2 {
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 700;
    line-height: 1.35;
    color: var(--ink);
}

.sp-single-page .sp-blk h3 {
    font-size: clamp(17px, 1.5vw, 20px);
    font-weight: 600;
    color: var(--ink);
    margin-top: 8px;
}

.sp-single-page .sp-blk p {
    font-size: clamp(15px, 1.1vw, 17px);
    line-height: 1.75;
    color: #374151;
}

.sp-single-page .sp-blk ul {
    list-style: disc;
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #374151;
    font-size: clamp(14.5px, 1.1vw, 16.5px);
}

.sp-single-page .sp-figure {
    margin: 10px 0;
    width: 100%;
    border-radius: clamp(18px, 2.5vw, 28px);
    overflow: hidden;
}

.sp-single-page .sp-figure img {
    width: 100%;
    height: clamp(220px, 32vw, 440px);
    object-fit: cover;
    border-radius: clamp(18px, 2.5vw, 28px);
    display: block;
}

.sp-single-page .sp-comments {
    background: var(--white);
    border-radius: clamp(26px, 3vw, 38px);
    padding: clamp(24px, 4vw, 44px);
    display: flex;
    flex-direction: column;
    gap: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border);
    scroll-margin-top: 110px;
}

.sp-single-page .sp-comments__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0eae4;
    padding-bottom: 16px;
}

.sp-single-page .sp-comments__title {
    font-size: clamp(20px, 2vw, 26px);
    font-weight: 700;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sp-single-page .sp-comments__badge {
    background: var(--orange-light);
    color: var(--orange);
    font-size: 13px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 9999px;
}

.sp-single-page .sp-cform {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #faf8f5;
    padding: clamp(18px, 2.5vw, 28px);
    border-radius: 24px;
    border: 1px solid #efe8e1;
}

.sp-single-page .sp-cform h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ink);
}

.sp-single-page .sp-cform__row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.sp-single-page .sp-cform input,
.sp-single-page .sp-cform textarea {
    width: 100%;
    background: #ffffff;
    border: 1.5px solid #e1dcda;
    border-radius: 14px;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 14.5px;
    color: var(--black);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.sp-single-page .sp-cform input:focus,
.sp-single-page .sp-cform textarea:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.12);
}

.sp-single-page .sp-cform textarea {
    resize: vertical;
    min-height: 110px;
}

.sp-single-page .sp-cform__actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.sp-single-page .sp-cform__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 48px;
    padding: 0 28px;
    background: var(--orange);
    color: #ffffff;
    border-radius: 16px;
    font-weight: 600;
    font-size: 15.5px;
    box-shadow: 0 4px 14px rgba(232, 93, 4, 0.3);
    transition: background 0.2s, transform 0.2s;
}

.sp-single-page .sp-cform__btn:hover {
    background: var(--orange-hover);
    transform: translateY(-2px);
}

.sp-single-page .sp-cform__status {
    font-size: 14px;
    font-weight: 500;
    color: #2e7d32;
}

.sp-single-page .sp-clist {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sp-single-page .sp-citem {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #eee7e0;
    border-radius: 20px;
}

.sp-single-page .sp-citem--reply {
    margin-left: clamp(20px, 4vw, 44px);
    background: #fdfbf9;
    border-left: 3px solid var(--orange);
}

.sp-single-page .sp-cavatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #e2deda;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--ink);
    flex-shrink: 0;
    overflow: hidden;
}

.sp-single-page .sp-cavatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sp-single-page .sp-ccontent {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.sp-single-page .sp-cmeta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.sp-single-page .sp-cauthor {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
}

.sp-single-page .sp-cbadge {
    background: var(--orange-light);
    color: var(--orange);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

.sp-single-page .sp-cdate {
    font-size: 12.5px;
    color: #8b929a;
}

.sp-single-page .sp-ctext {
    font-size: 14.5px;
    line-height: 1.65;
    color: #4b5563;
}

.sp-single-page .sp-side {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

@media (min-width: 1025px) {
    .sp-single-page .sp-side {
        position: sticky;
        top: 20px;
    }
}

.sp-single-page .sp-panel {
    background: var(--white);
    border-radius: 28px;
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sp-single-page .sp-panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 19px;
    font-weight: 600;
    color: var(--ink);
}

.sp-single-page .sp-panel-title i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--orange);
    flex-shrink: 0;
}

.sp-single-page .sp-toc-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sp-single-page .sp-toc-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 14.5px;
    font-weight: 500;
    color: #4b5563;
    border-left: 3px solid transparent;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.sp-single-page .sp-toc-num {
    font-size: 12px;
    font-weight: 700;
    color: var(--orange);
    flex-shrink: 0;
}

.sp-single-page .sp-toc-link:hover {
    background: #faf7f4;
    color: var(--ink);
    transform: translateX(3px);
}

.sp-single-page .sp-toc-link.is-active {
    background: var(--orange-light);
    color: var(--orange);
    border-left-color: var(--orange);
    font-weight: 600;
}

.sp-single-page .sp-latest-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sp-single-page .sp-lt-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    background: var(--bg);
    border-radius: 18px;
    transition: transform 0.2s ease;
}

.sp-single-page .sp-lt-item:hover {
    transform: translateX(4px);
}

.sp-single-page .sp-lt-img {
    width: 105px;
    height: 85px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

.sp-single-page .sp-lt-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.sp-single-page .sp-lt-date {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--orange);
}

.sp-single-page .sp-lt-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    color: var(--ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-single-page .sp-lt-btn {
    align-self: flex-start;
    font-size: 12px;
    font-weight: 600;
    color: var(--orange);
    margin-top: 4px;
}

.sp-single-page .sp-drawer-header {
    display: none;
}

.sp-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sp-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sp-drawer-close {
    display: none;
    font-size: 30px;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
}

.sp-single-page .sp-journal .sp-journal__img-wrap {
    height: 240px;
}

.sp-single-page .sp-journal .sp-journal__card-title {
    font-size: clamp(18px, 1.45vw, 22px);
    white-space: normal;
    word-break: break-word;
}

.sp-single-page .sp-single-brand {
    position: relative;
    margin: 50px auto 0;
    background: #fff;
    border-radius: 40px;
    padding: 40px 24px 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    border: 1px solid var(--border);
    text-align: center;
}

.sp-single-page .sp-single-brand h2 {
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 700;
    color: var(--black);
}

.sp-single-page .sp-single-brand .about {
    width: min(1400px, 100%);
    font-size: 15px;
    line-height: 1.8;
    color: #4b5563;
    text-align: justify;
}

.sp-single-page .sp-single-brand .about b {
    font-weight: 700;
    color: var(--orange);
}

.sp-single-page .sp-single-brand .contact {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 36px);
    padding: 14px 24px;
    background: var(--orange-light);
    border-radius: 18px;
    font-size: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.sp-single-page .sp-single-brand .contact .k {
    color: var(--orange);
    font-weight: 600;
    margin-right: 6px;
}

.sp-single-page .sp-single-brand .contact .v {
    color: var(--ink);
    font-weight: 500;
}

.sp-latest-mobile-wrap {
    display: none;
}

@media (max-width: 1024px) {
    .sp-single-page .sp-layout {
        grid-template-columns: 1fr;
    }

    .sp-single-page .sp-filter-toggle {
        display: flex;
    }

    .sp-single-page .sp-side-drawer {
        position: fixed;
        top: 0;
        left: -340px;
        width: min(320px, 86vw);
        height: 100vh;
        height: 100dvh;
        background: #ffffff;
        z-index: 10000;
        box-shadow: 10px 0 35px rgba(0, 0, 0, 0.18);
        padding: 24px;
        overflow-y: auto;
        transition: left 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    }

    .sp-single-page .sp-side-drawer.open {
        left: 0;
    }

    .sp-single-page .sp-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 16px;
        border-bottom: 1px solid #f0eae4;
        padding-bottom: 10px;
    }

    .sp-single-page .sp-drawer-header h3 {
        font-size: 19px;
        font-weight: 700;
    }

    .sp-drawer-close {
        display: block;
    }

    .sp-latest-mobile-wrap {
        display: block;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .sp-single-page .sp-cform__row {
        grid-template-columns: 1fr;
    }

    .sp-single-page .sp-citem--reply {
        margin-left: 16px;
    }
}