/* =====================================================================
   Crypto Corner Shop — Community Blog
   Scoped to .ccs-blog so it never fights the existing template CSS.
   ===================================================================== */

.ccs-blog {
    --ccs-gold: #EBA71A;
    --ccs-gold-soft: #FFF6E3;
    --ccs-green: #2F4238;
    --ccs-green-soft: #EEF3F0;
    --ccs-ink: #1D2A24;
    --ccs-muted: #6C7A73;
    --ccs-line: #E7ECE9;
    --ccs-card: #FFFFFF;
    --ccs-bg: #F7F9F8;
    --ccs-radius: 16px;
    --ccs-shadow: 0 2px 4px rgba(29, 42, 36, .04), 0 12px 28px rgba(29, 42, 36, .06);
    --ccs-shadow-hover: 0 6px 12px rgba(29, 42, 36, .07), 0 22px 44px rgba(29, 42, 36, .10);

    background: var(--ccs-bg);
    color: var(--ccs-ink);
    font-family: 'Open Sans', system-ui, -apple-system, "Segoe UI", sans-serif;
}

.ccs-blog h1, .ccs-blog h2, .ccs-blog h3,
.ccs-blog h4, .ccs-blog h5, .ccs-blog h6 {
    font-family: 'Raleway', 'Open Sans', sans-serif;
    color: var(--ccs-green);
    font-weight: 800;
    letter-spacing: -.01em;
}

.ccs-blog a { text-decoration: none; }
.ccs-blog .min-w-0, .blog-dash .min-w-0 { min-width: 0; }

/* ---------------------------------------------------------------- Hero */
.blog-hero {
    background: #fff;
    border-bottom: 1px solid var(--ccs-line);
    padding: 44px 0 38px;
}
.blog-hero h1 {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    line-height: 1.2;
    margin-bottom: 10px;
}
.blog-hero p {
    color: var(--ccs-muted);
    font-size: .96rem;
    line-height: 1.65;
    max-width: 560px;
    margin-bottom: 0;
}
.blog-hero-kicker {
    display: inline-flex; align-items: center; gap: 7px;
    color: #C2900F;
    font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
    margin-bottom: 12px;
}
.blog-hero-kicker::after {
    content: ""; display: block; width: 26px; height: 2px;
    background: var(--ccs-gold); border-radius: 2px; margin-left: 3px;
}
.blog-hero-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }

/* --------------------------------------------------------- Search bar */
.blog-searchbar {
    background: #fff;
    border: 1px solid var(--ccs-line);
    border-radius: 999px;
    padding: 5px 5px 5px 18px;
    display: flex; align-items: center; gap: 10px;
    width: 100%; max-width: 460px;
    transition: border-color .18s ease, box-shadow .18s ease;
}
.blog-searchbar:focus-within { border-color: var(--ccs-gold); box-shadow: 0 0 0 3px rgba(235,167,26,.12); }
.blog-searchbar input {
    border: 0; outline: 0; flex: 1; min-width: 0;
    padding: 9px 0; font-size: .92rem; background: transparent; color: var(--ccs-ink);
}
.blog-searchbar button {
    border: 0; background: var(--ccs-gold); color: #fff;
    border-radius: 999px; padding: 9px 20px; font-weight: 700; font-size: .87rem;
    transition: background .2s ease;
}
.blog-searchbar button:hover { background: #d4930f; }

/* -------------------------------------------------------- Filter bar */
.blog-filterbar {
    background: #fff;
    border-bottom: 1px solid var(--ccs-line);
    padding: 12px 0 4px;
}
.blog-filterbar .blog-sort {
    width: auto; min-width: 155px; padding: 8px 12px; font-size: .85rem;
}

/* ---------------------------------------------------------- Chips/nav */
.blog-chips { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: none; }
.blog-chips::-webkit-scrollbar { display: none; }
.blog-chip {
    flex: 0 0 auto;
    background: #fff; border: 1px solid var(--ccs-line);
    color: var(--ccs-green); font-weight: 600; font-size: .86rem;
    padding: 9px 16px; border-radius: 999px; white-space: nowrap;
    transition: all .18s ease;
}
.blog-chip:hover { border-color: var(--ccs-gold); color: var(--ccs-green); transform: translateY(-1px); }
.blog-chip.active { background: var(--ccs-green); border-color: var(--ccs-green); color: #fff !important; }
.blog-chip.active:hover { color: #fff !important; }
.blog-chip.active i { color: var(--ccs-gold); }

/* -------------------------------------------------------------- Cards */
.blog-card {
    background: var(--ccs-card);
    border: 1px solid var(--ccs-line);
    border-radius: var(--ccs-radius);
    overflow: hidden;
    height: 100%;
    display: flex; flex-direction: column;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--ccs-shadow-hover); border-color: #DCE4E0; }
.blog-card-media { position: relative; aspect-ratio: 16 / 9; background: var(--ccs-green-soft); overflow: hidden; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-card-media img { transform: scale(1.04); }
.blog-card-media .blog-card-cat {
    position: absolute; left: 12px; top: 12px;
    background: rgba(255,255,255,.94); color: var(--ccs-green);
    font-size: .74rem; font-weight: 700; padding: 5px 12px; border-radius: 999px;
    backdrop-filter: blur(6px);
}
.blog-card-media .blog-card-cat i { color: var(--ccs-gold); margin-right: 4px; }
.blog-card-media .blog-card-products {
    position: absolute; right: 12px; top: 12px;
    background: var(--ccs-gold); color: #fff;
    font-size: .72rem; font-weight: 700; padding: 5px 10px; border-radius: 999px;
}
.blog-card-body { padding: 18px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.blog-card-title {
    font-size: 1.06rem; line-height: 1.4; margin-bottom: 8px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card-title a { color: var(--ccs-green); }
.blog-card:hover .blog-card-title a { color: #C2900F; }
.blog-card-excerpt {
    color: var(--ccs-muted); font-size: .89rem; line-height: 1.6; margin-bottom: 16px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-card-foot {
    margin-top: auto; padding-top: 14px; border-top: 1px solid var(--ccs-line);
    display: flex; align-items: center; gap: 10px;
}
.blog-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: var(--ccs-green-soft); }
.blog-avatar.lg { width: 48px; height: 48px; }
.blog-author-name { font-size: .84rem; font-weight: 700; color: var(--ccs-ink); line-height: 1.2; }
.blog-author-meta { font-size: .75rem; color: var(--ccs-muted); }
.blog-badge {
    display: inline-block; font-size: .66rem; font-weight: 800; letter-spacing: .04em;
    padding: 2px 7px; border-radius: 5px; text-transform: uppercase; margin-left: 6px;
}
.blog-badge.seller { background: var(--ccs-gold-soft); color: #A9760A; }
.blog-badge.buyer  { background: var(--ccs-green-soft); color: var(--ccs-green); }
.blog-card-stats { margin-left: auto; display: flex; gap: 12px; font-size: .78rem; color: var(--ccs-muted); }
.blog-card-stats i { margin-right: 3px; }

/* ------------------------------------------------------- Featured row */
.blog-feature {
    background: #fff; border: 1px solid var(--ccs-line); border-radius: var(--ccs-radius);
    overflow: hidden; box-shadow: var(--ccs-shadow); margin-bottom: 34px;
}
.blog-feature .blog-feature-media { min-height: 260px; background: var(--ccs-green-soft); }
.blog-feature .blog-feature-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-feature .blog-feature-body { padding: 30px; }
.blog-feature h2 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); line-height: 1.3; }

/* ------------------------------------------------------------ Sidebar */
.blog-panel {
    background: #fff; border: 1px solid var(--ccs-line);
    border-radius: var(--ccs-radius); padding: 22px; margin-bottom: 22px;
}
.blog-panel h5 {
    font-size: .82rem; text-transform: uppercase; letter-spacing: .09em;
    color: var(--ccs-muted); font-weight: 800; margin-bottom: 16px;
}
.blog-side-post { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--ccs-line); }
.blog-side-post:last-child { border-bottom: 0; padding-bottom: 0; }
.blog-side-post:first-child { padding-top: 0; }
.blog-side-post img { width: 62px; height: 62px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; }
.blog-side-post a { font-size: .88rem; font-weight: 600; color: var(--ccs-green); line-height: 1.4; display: block; }
.blog-side-post a:hover { color: var(--ccs-gold); }
.blog-side-post small { color: var(--ccs-muted); font-size: .75rem; }

.blog-cta {
    background: linear-gradient(140deg, #2F4238, #3E574A);
    color: #fff; border-radius: var(--ccs-radius); padding: 26px; text-align: center;
}
.blog-cta h5 { color: #fff; text-transform: none; letter-spacing: 0; font-size: 1.05rem; margin-bottom: 8px; }
.blog-cta p { color: rgba(255,255,255,.75); font-size: .86rem; margin-bottom: 18px; }

/* ------------------------------------------------------------ Buttons */
.btn-ccs {
    background: var(--ccs-gold); color: #fff; border: 0;
    padding: 11px 22px; border-radius: 10px; font-weight: 700; font-size: .9rem;
    display: inline-flex; align-items: center; gap: 8px; transition: all .18s ease;
}
.btn-ccs:hover { background: #d4930f; color: #fff; transform: translateY(-1px); }
.btn-ccs-outline {
    background: transparent; color: var(--ccs-green); border: 1px solid var(--ccs-line);
    padding: 10px 20px; border-radius: 10px; font-weight: 700; font-size: .88rem;
    display: inline-flex; align-items: center; gap: 8px; transition: all .18s ease;
}
.btn-ccs-outline:hover { border-color: var(--ccs-gold); color: var(--ccs-green); background: var(--ccs-gold-soft); }
.btn-ccs-ghost {
    background: #fff; border: 1px solid var(--ccs-line); color: var(--ccs-muted);
    padding: 8px 14px; border-radius: 9px; font-size: .84rem; font-weight: 600;
    display: inline-flex; align-items: center; gap: 6px; transition: all .18s ease;
}
.btn-ccs-ghost:hover { color: var(--ccs-green); border-color: #D6DFDA; }
.btn-ccs-ghost.is-active { color: #C2900F; border-color: var(--ccs-gold); background: var(--ccs-gold-soft); }

/* --------------------------------------------------------- Empty/page */
.blog-empty { text-align: center; padding: 70px 20px; color: var(--ccs-muted); }
.blog-empty i { font-size: 2.6rem; color: #CBD6D0; margin-bottom: 16px; display: block; }

.blog-pagination { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 36px; }
.blog-pagination a, .blog-pagination span {
    min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px; border: 1px solid var(--ccs-line); background: #fff;
    color: var(--ccs-green); font-weight: 600; font-size: .88rem; padding: 0 12px;
}
.blog-pagination a:hover { border-color: var(--ccs-gold); }
.blog-pagination .current { background: var(--ccs-green); border-color: var(--ccs-green); color: #fff; }
.blog-pagination .disabled { opacity: .45; }

/* =====================================================================
   Single post
   ===================================================================== */
.blog-post-head { background: #fff; border-bottom: 1px solid var(--ccs-line); padding: 42px 0 34px; }
.blog-post-title { font-size: clamp(1.6rem, 3.6vw, 2.55rem); line-height: 1.22; margin: 14px 0 16px; }
.blog-post-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: var(--ccs-muted); font-size: .84rem; }
.blog-post-cover { border-radius: var(--ccs-radius); overflow: hidden; margin: 0 0 30px; box-shadow: var(--ccs-shadow); }
.blog-post-cover img { width: 100%; display: block; }

.blog-content { font-size: 1.02rem; line-height: 1.85; color: #33443C; }
.blog-content > *:first-child { margin-top: 0; }
.blog-content p { margin-bottom: 1.15rem; }
.blog-content h2 { font-size: 1.5rem; margin: 2.1rem 0 .85rem; }
.blog-content h3 { font-size: 1.22rem; margin: 1.8rem 0 .7rem; }
.blog-content h4 { font-size: 1.06rem; margin: 1.5rem 0 .6rem; }
.blog-content ul, .blog-content ol { margin: 0 0 1.15rem 1.15rem; }
.blog-content li { margin-bottom: .45rem; }
.blog-content a { color: #C2900F; text-decoration: underline; text-underline-offset: 3px; word-break: break-word; }
.blog-content img { max-width: 100%; height: auto; border-radius: 12px; margin: 1.4rem 0; display: block; }
.blog-content figure { margin: 1.6rem 0; }
.blog-content figcaption { font-size: .82rem; color: var(--ccs-muted); text-align: center; margin-top: 8px; }
.blog-content blockquote {
    margin: 1.7rem 0; padding: 16px 22px;
    border-left: 4px solid var(--ccs-gold); background: var(--ccs-gold-soft);
    border-radius: 0 12px 12px 0; color: #5A4712; font-style: italic;
}
.blog-content blockquote p:last-child { margin-bottom: 0; }
.blog-content pre {
    background: var(--ccs-green); color: #E8F0EB; padding: 16px 18px;
    border-radius: 12px; overflow-x: auto; font-size: .86rem; margin: 1.4rem 0;
}
.blog-content code { background: var(--ccs-green-soft); padding: 2px 6px; border-radius: 5px; font-size: .88em; color: #24443A; }
.blog-content pre code { background: transparent; color: inherit; padding: 0; }
.blog-content hr { border: 0; border-top: 1px solid var(--ccs-line); margin: 2.2rem 0; }

/* Inline product embed */
.blog-embed-product {
    display: flex; gap: 16px; align-items: center;
    background: #fff; border: 1px solid var(--ccs-line); border-left: 4px solid var(--ccs-gold);
    border-radius: 14px; padding: 14px; margin: 1.8rem 0; box-shadow: var(--ccs-shadow);
}
.blog-embed-thumb { flex: 0 0 auto; width: 104px; height: 104px; border-radius: 10px; overflow: hidden; background: var(--ccs-green-soft); }
.blog-embed-thumb img { width: 100%; height: 100%; object-fit: cover; margin: 0; border-radius: 0; }
.blog-embed-body { min-width: 0; flex: 1; }
.blog-embed-tag { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--ccs-gold); margin-bottom: 4px; }
.blog-embed-title { display: block; font-weight: 700; color: var(--ccs-green); font-size: 1rem; line-height: 1.35; text-decoration: none; margin-bottom: 6px; }
.blog-embed-title:hover { color: #C2900F; }
.blog-embed-price { font-size: .92rem; color: var(--ccs-ink); margin-bottom: 10px; }
.blog-embed-price s { color: var(--ccs-muted); font-size: .82rem; margin-left: 6px; }
.blog-embed-off { background: #FDE7E7; color: #B3261E; font-size: .72rem; font-weight: 700; padding: 2px 7px; border-radius: 5px; margin-left: 6px; }
.blog-embed-btn { font-size: .84rem; font-weight: 700; color: #C2900F; text-decoration: none; }
.blog-embed-btn:hover { color: var(--ccs-green); }

/* Attached product strip under the post */
.blog-products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.blog-product-card {
    background: #fff; border: 1px solid var(--ccs-line); border-radius: 12px; overflow: hidden;
    transition: all .2s ease; display: block;
}
.blog-product-card:hover { border-color: var(--ccs-gold); box-shadow: var(--ccs-shadow); transform: translateY(-2px); }
.blog-product-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.blog-product-card .p-info { padding: 10px 12px 12px; }
.blog-product-card .p-name {
    font-size: .84rem; font-weight: 600; color: var(--ccs-green); line-height: 1.35; margin-bottom: 5px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.blog-product-card .p-price { font-size: .85rem; font-weight: 800; color: #C2900F; }

/* Author box / tags / share */
.blog-tag {
    display: inline-block; background: #fff; border: 1px solid var(--ccs-line);
    color: var(--ccs-muted); font-size: .78rem; padding: 5px 12px; border-radius: 999px; margin: 0 6px 6px 0;
}
.blog-tag:hover { border-color: var(--ccs-gold); color: var(--ccs-green); }
.blog-authorbox { background: #fff; border: 1px solid var(--ccs-line); border-radius: var(--ccs-radius); padding: 22px; display: flex; gap: 16px; align-items: flex-start; }

/* ----------------------------------------------------------- Comments */
.blog-comments { background: #fff; border: 1px solid var(--ccs-line); border-radius: var(--ccs-radius); padding: 26px; }
.blog-comment-form textarea {
    width: 100%; border: 1px solid var(--ccs-line); border-radius: 12px; padding: 14px 16px;
    font-size: .93rem; resize: vertical; min-height: 96px; outline: none; transition: border-color .18s ease;
    font-family: inherit; color: var(--ccs-ink);
}
.blog-comment-form textarea:focus { border-color: var(--ccs-gold); box-shadow: 0 0 0 3px rgba(235,167,26,.12); }
.blog-comment { display: flex; gap: 13px; padding: 18px 0; border-top: 1px solid var(--ccs-line); }
.blog-comment-body { min-width: 0; flex: 1; }
.blog-comment-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 5px; }
.blog-comment-text { font-size: .93rem; line-height: 1.65; color: #33443C; word-wrap: break-word; }
.blog-comment-text a { color: #C2900F; }
.blog-comment-actions { display: flex; gap: 14px; margin-top: 8px; font-size: .8rem; }
.blog-comment-actions button {
    background: none; border: 0; padding: 0; color: var(--ccs-muted); font-weight: 600; font-size: .8rem;
    display: inline-flex; align-items: center; gap: 5px; transition: color .15s ease;
}
.blog-comment-actions button:hover { color: var(--ccs-green); }
.blog-comment-actions button.liked { color: #C2900F; }
.blog-replies { margin-top: 14px; padding-left: 18px; border-left: 2px solid var(--ccs-green-soft); }
.blog-replies .blog-comment { padding: 14px 0; border-top: 1px dashed var(--ccs-line); }
.blog-replies .blog-comment:first-child { border-top: 0; padding-top: 0; }
.blog-reply-box { margin-top: 12px; display: none; }
.blog-reply-box.show { display: block; }
.blog-deleted { color: var(--ccs-muted); font-style: italic; font-size: .88rem; }

/* =====================================================================
   Dashboard (buyer + seller) — sits inside the existing .content wrapper
   ===================================================================== */
.blog-dash { --ccs-gold: #EBA71A; --ccs-green: #2F4238; --ccs-line: #E7ECE9; --ccs-muted: #6C7A73; }
.blog-dash .dash-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.blog-dash .dash-head h4 { font-family: 'Raleway', sans-serif; font-weight: 800; color: var(--ccs-green); margin: 0; }
.blog-dash .dash-head p { color: var(--ccs-muted); font-size: .87rem; margin: 4px 0 0; }

.blog-stat {
    background: #fff; border: 1px solid var(--ccs-line); border-radius: 14px; padding: 18px 20px;
    display: flex; align-items: center; gap: 14px; height: 100%;
}
.blog-stat .ico {
    width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
    background: #FFF6E3; color: #C2900F; font-size: 1.05rem; flex: 0 0 auto;
}
.blog-stat .num { font-size: 1.35rem; font-weight: 800; color: var(--ccs-green); line-height: 1; font-family: 'Raleway', sans-serif; }
.blog-stat .lbl { font-size: .78rem; color: var(--ccs-muted); margin-top: 4px; }

.blog-row {
    background: #fff; border: 1px solid var(--ccs-line); border-radius: 14px; padding: 14px;
    display: flex; gap: 14px; align-items: center; margin-bottom: 12px; transition: box-shadow .18s ease;
}
.blog-row:hover { box-shadow: 0 8px 22px rgba(29,42,36,.07); }
.blog-row-thumb { width: 92px; height: 66px; border-radius: 10px; object-fit: cover; flex: 0 0 auto; background: #EEF3F0; }
.blog-row-main { min-width: 0; flex: 1; }
.blog-row-main h6 { margin: 0 0 4px; font-size: .97rem; font-weight: 700; color: var(--ccs-green); }
.blog-row-meta { font-size: .78rem; color: var(--ccs-muted); display: flex; gap: 12px; flex-wrap: wrap; }
.blog-row-actions { display: flex; gap: 8px; flex: 0 0 auto; }

.blog-status { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; padding: 3px 9px; border-radius: 6px; }
.blog-status.published { background: #E4F4EA; color: #1E7A45; }
.blog-status.draft     { background: #EEF1F0; color: #5C6B64; }
.blog-status.hidden    { background: #FDE7E7; color: #B3261E; }

/* ------------------------------------------------------------- Editor */
.blog-editor-shell { background: #fff; border: 1px solid var(--ccs-line); border-radius: 14px; overflow: hidden; }
.blog-editor-toolbar {
    display: flex; flex-wrap: wrap; gap: 4px; align-items: center;
    padding: 8px 10px; border-bottom: 1px solid var(--ccs-line); background: #FAFCFB;
    position: sticky; top: 0; z-index: 5;
}
.blog-editor-toolbar button {
    background: transparent; border: 1px solid transparent; border-radius: 8px;
    width: 34px; height: 34px; color: #4A5A52; font-size: .86rem;
    display: inline-flex; align-items: center; justify-content: center; transition: all .15s ease;
}
.blog-editor-toolbar button:hover { background: #EEF3F0; color: var(--ccs-green); }
.blog-editor-toolbar button.wide { width: auto; padding: 0 12px; gap: 6px; font-size: .8rem; font-weight: 700; }
.blog-editor-toolbar button.accent { color: #C2900F; background: #FFF6E3; }
.blog-editor-toolbar button.accent:hover { background: #FCEBC6; }
.blog-editor-sep { width: 1px; height: 22px; background: var(--ccs-line); margin: 0 5px; }

.blog-editor-area {
    min-height: 380px; padding: 24px 22px; outline: none;
    font-size: 1rem; line-height: 1.8; color: #33443C;
}
.blog-editor-area:empty::before { content: attr(data-placeholder); color: #9AA8A1; }
.blog-editor-area img { max-width: 100%; height: auto; border-radius: 10px; margin: 14px 0; }
.blog-editor-area blockquote { border-left: 4px solid var(--ccs-gold); background: #FFF6E3; padding: 12px 18px; border-radius: 0 10px 10px 0; margin: 16px 0; }
.blog-editor-area h2 { font-size: 1.45rem; }
.blog-editor-area h3 { font-size: 1.2rem; }
.blog-editor-area .ccs-embed {
    border: 1px dashed var(--ccs-gold); background: #FFFBF2; border-radius: 10px;
    padding: 12px 14px; margin: 16px 0; color: #A9760A; font-size: .85rem; font-weight: 700;
    display: flex; align-items: center; gap: 10px;
}
.blog-editor-area .ccs-embed::before { content: "\f466"; font-family: "Font Awesome 5 Free"; font-weight: 900; }

.blog-field-label { font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ccs-muted); margin-bottom: 7px; display: block; }
.blog-input {
    width: 100%; border: 1px solid var(--ccs-line); border-radius: 11px; padding: 11px 14px;
    font-size: .93rem; outline: none; transition: border-color .18s ease; background: #fff; color: var(--ccs-ink);
}
.blog-input:focus { border-color: var(--ccs-gold); box-shadow: 0 0 0 3px rgba(235,167,26,.12); }
.blog-input.title-input { font-size: 1.25rem; font-weight: 700; font-family: 'Raleway', sans-serif; color: var(--ccs-green); }

.blog-cover-drop {
    border: 2px dashed var(--ccs-line); border-radius: 14px; padding: 26px; text-align: center;
    cursor: pointer; transition: all .18s ease; background: #FAFCFB; color: var(--ccs-muted);
}
.blog-cover-drop:hover, .blog-cover-drop.dragover { border-color: var(--ccs-gold); background: #FFFBF2; }
.blog-cover-preview { position: relative; border-radius: 14px; overflow: hidden; }
.blog-cover-preview img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.blog-cover-preview .rm {
    position: absolute; top: 10px; right: 10px; background: rgba(0,0,0,.6); color: #fff;
    border: 0; width: 32px; height: 32px; border-radius: 50%;
}

.blog-picked-product {
    display: flex; gap: 10px; align-items: center; border: 1px solid var(--ccs-line);
    border-radius: 11px; padding: 8px; margin-bottom: 8px; background: #fff;
}
.blog-picked-product img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; }
.blog-picked-product .nm { font-size: .84rem; font-weight: 600; color: var(--ccs-green); line-height: 1.3; }
.blog-picked-product .pr { font-size: .78rem; color: #C2900F; font-weight: 700; }
.blog-picked-product .acts { margin-left: auto; display: flex; gap: 6px; }
.blog-picked-product .acts button { border: 0; background: #F1F5F3; color: #5C6B64; width: 30px; height: 30px; border-radius: 8px; font-size: .76rem; }
.blog-picked-product .acts button:hover { background: #FFF6E3; color: #C2900F; }

.blog-search-results { max-height: 300px; overflow-y: auto; margin-top: 10px; }
.blog-search-result { display: flex; gap: 10px; align-items: center; padding: 9px; border-radius: 10px; cursor: pointer; transition: background .15s ease; }
.blog-search-result:hover { background: #F5F9F7; }
.blog-search-result img { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; }

/* --------------------------------------------------------- Responsive */
@media (max-width: 991.98px) {
    .blog-feature .blog-feature-body { padding: 22px; }
    .blog-feature .blog-feature-media { min-height: 200px; }
}
@media (max-width: 767.98px) {
    .blog-hero { padding: 28px 0 26px; }
    .blog-hero-actions { align-items: stretch; margin-top: 18px; }
    .blog-searchbar { max-width: none; }
    .blog-post-head { padding: 28px 0 24px; }
    .blog-content { font-size: .98rem; }
    .blog-embed-product { flex-direction: column; align-items: flex-start; }
    .blog-embed-thumb { width: 100%; height: 180px; }
    .blog-row { flex-wrap: wrap; }
    .blog-row-thumb { width: 100%; height: 150px; }
    .blog-row-actions { width: 100%; }
    .blog-row-actions .btn-ccs-ghost { flex: 1; justify-content: center; }
    .blog-comments { padding: 18px; }
    .blog-replies { padding-left: 12px; }
    .blog-editor-area { padding: 18px 15px; min-height: 300px; }
    .blog-products-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
