/* Content Hub Admin + Public */
html,body{overflow-x:hidden}.ch-wrap{max-width:1220px;margin:0 auto;padding:24px;color:#151515}.ch-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:20px}.ch-head h1{margin:0 0 6px;font-size:30px;font-weight:900;color:#090909}.ch-head p{margin:0;color:#666;line-height:1.6}.ch-actions{display:flex;gap:10px;flex-wrap:wrap}.ch-btn,.ch-mini-btn{border:0;border-radius:12px;padding:11px 16px;font-weight:800;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-decoration:none}.ch-btn-dark{background:#111;color:#fff}.ch-btn-gold{background:#f0b90b;color:#111}.ch-full{width:100%}.ch-alert{padding:12px 14px;border-radius:12px;background:#ecfff5;border:1px solid #a7f3c5;margin-bottom:16px;font-weight:700}.ch-alert-error{background:#fff1f1;border-color:#ffb4b4;color:#9f1239}.ch-grid-form{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px;align-items:start}.ch-card{background:#fff;border:1px solid #e9e9e9;border-radius:18px;box-shadow:0 10px 28px rgba(0,0,0,.06);padding:18px}.ch-card label{display:block;font-weight:800;margin-bottom:14px;color:#222}.ch-card input,.ch-card select,.ch-card textarea{width:100%;margin-top:7px;border:1px solid #d9d9d9;border-radius:12px;padding:12px 13px;background:#fff;color:#111;outline:none}.ch-card input:focus,.ch-card select:focus,.ch-card textarea:focus{border-color:#f0b90b;box-shadow:0 0 0 3px rgba(240,185,11,.18)}.ch-two{display:grid;grid-template-columns:1fr 1fr;gap:14px}.ch-check{display:flex!important;gap:10px;align-items:center;margin:0 0 10px!important;font-weight:750!important}.ch-check input{width:auto;margin:0!important}.ch-meta{margin-top:18px;border-top:1px solid #eee;padding-top:14px;display:grid;gap:6px}.ch-meta small{word-break:break-word;color:#666}.ch-muted{color:#687182;font-size:13px;line-height:1.55;margin:6px 0 14px}.ch-muted a{color:#a87500;font-weight:800}.ch-options-box{border:1px solid #eee;border-radius:16px;padding:14px;margin:14px 0;background:#fafafa}.ch-options-box h3{margin:0 0 12px;font-size:16px}.ch-sr-label{display:block}.ch-editor-panel{border:1px solid #e1e1e1;border-radius:16px;background:#fafafa;padding:14px;margin-bottom:16px}.ch-editor-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.ch-editor-top strong{display:block;font-size:16px;color:#111}.ch-editor-top small{display:block;margin-top:3px;color:#666;font-weight:600}.ch-mini-btn{background:#111;color:#fff;border-radius:10px;padding:9px 13px}.ch-editor{min-height:520px;font-family:Consolas,Monaco,'Courier New',monospace;font-size:14px;line-height:1.65;background:#101010!important;color:#f7f7f7!important;border-color:#303030!important;resize:vertical}.ch-live-preview{margin-top:14px;padding:18px;border-radius:14px;background:#fff;border:1px solid #e6e6e6;color:#181818}.ch-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:18px}.ch-stats div{background:#111;color:#fff;border:1px solid rgba(240,185,11,.35);border-radius:16px;padding:18px;text-align:center}.ch-stats strong{display:block;color:#f0b90b;font-size:30px}.ch-stats span{display:block;font-weight:900;font-size:12px;text-transform:uppercase}.ch-filter{display:grid;grid-template-columns:minmax(0,1fr) 180px 180px auto;gap:10px;align-items:center;margin-bottom:18px;background:#0f0f0f}.ch-filter input,.ch-filter select{margin:0;background:#111;color:#fff;border-color:#333}.ch-table-wrap{overflow-x:auto}.ch-table{width:100%;border-collapse:collapse}.ch-table th,.ch-table td{padding:14px;text-align:left;vertical-align:top;border-bottom:1px solid #eee}.ch-table th{background:#111;color:#f0b90b;font-weight:950}.ch-table td{color:#111}.ch-table td small{display:block;color:#4b5563!important;margin-top:4px;font-weight:650;line-height:1.35}.ch-pill{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;background:#fff8df;color:#b87900;border:1px solid rgba(240,185,11,.4);font-weight:900;font-size:12px}.ch-pill-published{background:#dff8ed;color:#059669;border-color:#a7f3d0}.ch-pill-draft{background:#f3f4f6;color:#374151;border-color:#ddd}.ch-pill-review{background:#fff7ed;color:#ea580c;border-color:#fed7aa}.ch-pill-scheduled{background:#eff6ff;color:#2563eb;border-color:#bfdbfe}.ch-pill-archived{background:#f5f3ff;color:#6d28d9;border-color:#ddd6fe}.ch-row-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center}.ch-mini{border:0;background:#111;color:#fff!important;border-radius:9px;padding:8px 10px;font-weight:900;text-decoration:none;cursor:pointer;font-size:12px}.ch-gold-text{color:#f0b90b!important}.ch-danger{background:#9f1239!important;color:#fff!important}.ch-empty{padding:20px;text-align:center;color:#666;font-weight:800}.ch-pagination{margin-top:16px}.ch-inline-form{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr)) auto;gap:8px;align-items:start}.ch-inline-form input,.ch-inline-form select,.ch-inline-form textarea{margin:0!important}.ch-category-edit-form{grid-template-columns:minmax(130px,1fr) minmax(120px,1fr) minmax(130px,1fr) minmax(180px,1.5fr) 80px 110px auto}.ch-type-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.ch-type-card h2{margin:10px 0 8px;font-size:26px}.ch-type-card p,.ch-note-card p{color:#555;line-height:1.7}.ch-media-upload{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,420px) auto;gap:16px;align-items:center;margin-bottom:18px}.ch-media-upload h3{margin:0 0 6px}.ch-media-upload p{margin:0;color:#666}.ch-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.ch-media-card{display:grid;gap:10px}.ch-media-card img{width:100%;height:180px;object-fit:cover;border-radius:14px;background:#111}.ch-media-card strong{word-break:break-word}.ch-media-card small{color:#666}.ch-public,.ch-public *{box-sizing:border-box}.ch-public-single{width:100%;max-width:1120px;margin:0 auto;padding:38px 18px 72px}.ch-readable-article{width:100%;max-width:980px;margin:0 auto;background:#fff;border:1px solid rgba(240,185,11,.18);border-radius:30px;padding:clamp(22px,4vw,46px);box-shadow:0 24px 70px rgba(0,0,0,.14);overflow:hidden}.ch-article-hero{text-align:center;border-bottom:1px solid #eee;padding-bottom:26px;margin-bottom:30px}.ch-article-meta-top{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin-bottom:20px}.ch-category-badge{display:inline-flex;align-items:center;padding:8px 16px;border-radius:999px;background:rgba(245,166,35,.12);color:#b87900;font-size:14px;font-weight:900}.ch-article-meta{color:#687182;font-size:14px;font-weight:800}.ch-featured-image{margin:0 auto 24px;max-width:100%}.ch-featured-image img{width:100%;height:auto;display:block;border-radius:22px}.ch-article-hero h1{max-width:900px;margin:0 auto 10px;color:#080808;font-size:clamp(34px,4vw,54px);line-height:1.08;letter-spacing:-.045em;font-weight:950;text-align:center}.ch-article-excerpt{max-width:820px;margin:12px auto 0;color:#384150;font-size:clamp(16px,1.65vw,19px);line-height:1.75}.ch-content,.ch-content .content-hub-article{max-width:100%;color:#202124;font-size:clamp(16px,1.35vw,18px);line-height:1.9;overflow-wrap:anywhere;word-break:normal}.ch-content>*:first-child,.ch-content .content-hub-article>*:first-child{margin-top:0}.ch-content p{margin:0 0 22px}.ch-content .lead{font-size:clamp(18px,2vw,22px);line-height:1.75;color:#2f3540;margin-bottom:28px}.ch-content h2{margin:54px 0 18px;padding-top:8px;color:#080808;font-size:clamp(27px,4.2vw,42px);line-height:1.13;letter-spacing:-.035em;font-weight:950}.ch-content h3{margin:34px 0 14px;color:#151515;font-size:clamp(21px,3vw,28px);line-height:1.25;letter-spacing:-.02em;font-weight:900}.ch-content h2+p,.ch-content h3+p{margin-top:0}.ch-content strong{color:#080808;font-weight:900}.ch-content a{color:#a87500;font-weight:900;text-decoration:none;border-bottom:1px solid rgba(168,117,0,.35)}.ch-content a:hover{color:#070707;border-bottom-color:#f0b90b}.ch-content ul,.ch-content ol{margin:0 0 28px;padding-left:0;list-style:none;display:grid;gap:10px}.ch-content li{position:relative;margin:0;padding:12px 14px 12px 46px;background:#fafafa;border:1px solid #eee;border-radius:16px;line-height:1.65}.ch-content ul li::before{content:"";position:absolute;left:18px;top:23px;width:8px;height:8px;border-radius:999px;background:#f0b90b;box-shadow:0 0 0 5px rgba(240,185,11,.15)}.ch-content ol{counter-reset:ch-step}.ch-content ol li{counter-increment:ch-step}.ch-content ol li::before{content:counter(ch-step);position:absolute;left:13px;top:12px;width:24px;height:24px;display:inline-grid;place-items:center;border-radius:999px;background:#111;color:#f0b90b;font-size:12px;font-weight:950}.ch-content blockquote{margin:30px 0;padding:22px 24px;border:1px solid rgba(240,185,11,.38);border-left:7px solid #f0b90b;background:linear-gradient(135deg,#fff8df,#fff);border-radius:18px;color:#171717;font-weight:800;box-shadow:0 14px 32px rgba(0,0,0,.05)}.ch-content code{background:#111;color:#f6d66b;border-radius:7px;padding:2px 7px;font-size:.92em}.ch-content pre{width:100%;max-width:100%;margin:28px 0;padding:22px;background:#101010;color:#f8f8f8;border:1px solid #272727;border-radius:20px;overflow-x:auto;white-space:pre;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}.ch-content pre code{display:block;min-width:max-content;background:transparent;color:inherit;padding:0;border-radius:0;font-size:15px;line-height:1.8}.ch-content table{display:block;width:100%;max-width:100%;overflow-x:auto;border-collapse:collapse;margin:30px 0;background:#fff;border:1px solid #e7e7e7;border-radius:18px}.ch-content th,.ch-content td{padding:15px 16px;border-bottom:1px solid #eee;text-align:left;min-width:160px}.ch-content th{background:#111;color:#f0b90b;font-weight:950}.ch-content img{max-width:100%;height:auto;border-radius:22px;display:block}.ch-content figure{margin:34px 0}.ch-content figcaption{color:#666;font-size:14px;text-align:center;margin-top:10px}.ch-cta-button,.ch-content .cta-button{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;width:auto;max-width:100%;padding:14px 22px;border:0!important;border-radius:999px;background:#f0b90b;color:#111!important;font-weight:950;text-decoration:none!important;box-shadow:0 14px 30px rgba(240,185,11,.24)}.ch-content .cta-box{margin:34px 0;padding:26px;border-radius:24px;background:#111;color:#fff;border:1px solid rgba(240,185,11,.35)}.ch-content .cta-box h3{color:#fff;margin-top:0}.ch-content .cta-box p{color:rgba(255,255,255,.76)}.ch-article-tags{margin-top:44px;padding-top:20px;border-top:1px solid #eee;display:flex;gap:8px;flex-wrap:wrap}.ch-article-tags span{background:#fff8df;color:#a87500;border-radius:999px;padding:7px 12px;font-weight:900;font-size:13px}.ch-public .ch-toc,.ch-public .toc,.ch-public [data-ch-toc]{display:none!important}
@media(max-width:980px){.ch-grid-form{grid-template-columns:1fr}.ch-head{flex-direction:column}.ch-two{grid-template-columns:1fr}.ch-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.ch-filter{grid-template-columns:1fr}.ch-type-grid,.ch-media-grid{grid-template-columns:1fr}.ch-media-upload{grid-template-columns:1fr}.ch-inline-form,.ch-category-edit-form{grid-template-columns:1fr}.ch-public-single{padding:0 0 46px}.ch-readable-article{max-width:none;border-radius:0;border-left:0;border-right:0;padding:28px 20px 42px;box-shadow:none}.ch-article-meta-top{margin-bottom:14px}.ch-featured-image{margin-bottom:20px}.ch-featured-image img{border-radius:18px}.ch-article-hero{padding-bottom:22px;margin-bottom:24px}.ch-article-hero h1{font-size:clamp(32px,8vw,44px);line-height:1.08;text-align:center}.ch-article-excerpt{font-size:16px;line-height:1.72}.ch-content{font-size:16px;line-height:1.82}.ch-content h2{margin-top:44px;font-size:clamp(26px,8vw,36px)}.ch-content h3{font-size:clamp(20px,6vw,26px)}.ch-content li{padding:11px 12px 11px 42px;border-radius:14px}.ch-content pre{padding:18px;border-radius:16px;margin-left:0;margin-right:0}.ch-content pre code{font-size:14px}}
@media(max-width:420px){.ch-wrap{padding:16px}.ch-readable-article{padding-left:16px;padding-right:16px}.ch-content li{padding-right:10px}.ch-stats{grid-template-columns:1fr}.ch-article-meta-top{gap:8px}.ch-category-badge,.ch-article-meta{font-size:13px}}

/* Public Contents Hub + reusable article template */
.ch-hub-home{width:100%;max-width:1180px;margin:0 auto;padding:54px 18px 84px}.ch-hub-hero{text-align:center;max-width:850px;margin:0 auto 30px}.ch-hub-hero h1{margin:16px 0 10px;color:#fff;font-size:clamp(38px,6vw,72px);line-height:1.02;letter-spacing:-.055em;font-weight:950}.ch-hub-hero p{margin:0 auto;color:#cbd5e1;font-size:clamp(16px,2vw,20px);line-height:1.75}.ch-type-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.ch-type-card{background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));border:1px solid rgba(240,185,11,.22);border-radius:26px;padding:26px;color:#fff;box-shadow:0 24px 70px rgba(0,0,0,.22)}.ch-type-card-top{display:flex;align-items:center;gap:14px;margin-bottom:14px}.ch-type-card-top span{display:grid;place-items:center;width:48px;height:48px;border-radius:16px;background:#f0b90b;color:#080808;font-weight:950}.ch-type-card h2{margin:0;color:#fff;font-size:clamp(23px,3vw,32px);line-height:1.15}.ch-type-card p{color:#cbd5e1;line-height:1.75;margin:0 0 18px}.ch-type-link{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#f0b90b;color:#111!important;font-weight:950;text-decoration:none;padding:12px 16px}.ch-type-latest{margin-top:22px;padding-top:18px;border-top:1px solid rgba(255,255,255,.1);display:grid;gap:8px}.ch-type-latest strong{color:#f0b90b}.ch-type-latest a{color:#fff;text-decoration:none;font-weight:800;line-height:1.45}.ch-type-latest a:hover{color:#f0b90b}.ch-breadcrumb{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap;margin:0 0 20px;color:#8b95a5;font-weight:800;font-size:13px}.ch-breadcrumb a{color:#8b95a5;text-decoration:none}.ch-breadcrumb a:hover{color:#b87900}.ch-author-row{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:14px;color:#6b7280;font-weight:750;font-size:14px}.ch-author-row span:not(:last-child)::after{content:'|';margin-left:12px;color:#d6a42f}.ch-toc-panel{margin:0 0 30px;padding:20px;border-radius:22px;background:#fffaf0;border:1px solid rgba(240,185,11,.3)}.ch-toc-panel strong{display:block;color:#111;font-size:15px;margin-bottom:12px}.ch-toc-panel div{display:flex;gap:8px;flex-wrap:wrap}.ch-toc-panel a{display:inline-flex;align-items:center;border-radius:999px;background:#fff;color:#a87500;border:1px solid rgba(240,185,11,.25);padding:8px 12px;text-decoration:none;font-weight:850;font-size:13px}.ch-toc-panel a:hover{background:#111;color:#f0b90b}.ch-toc-level-3{opacity:.82}.ch-share-row{margin:42px 0 0;padding:20px;border-radius:22px;background:#111;color:#fff;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ch-share-row strong{margin-right:auto}.ch-share-row a{display:inline-flex;align-items:center;border-radius:999px;background:#f0b90b;color:#111!important;text-decoration:none;font-weight:950;padding:10px 14px}.ch-readable-article{position:relative}.ch-banner-first-hero .ch-article-meta-top{margin-bottom:18px}.ch-banner-first-hero .ch-featured-image{margin-bottom:22px}.ch-banner-first-hero h1{margin-top:0}.ch-public-card small{display:inline-flex;gap:8px;flex-wrap:wrap}.ch-public-card .ch-card-meta-item:not(:last-child)::after{content:'|';margin-left:8px;color:#d6a42f}.ch-public-card .ch-card-meta-item:empty{display:none}
@media(max-width:760px){.ch-hub-home{padding:38px 16px 64px}.ch-type-grid{grid-template-columns:1fr}.ch-type-card{border-radius:22px;padding:22px}.ch-breadcrumb{justify-content:flex-start;margin-bottom:16px}.ch-author-row{justify-content:center}.ch-share-row{display:grid}.ch-share-row strong{margin:0 0 4px}.ch-toc-panel{padding:16px;border-radius:18px}.ch-toc-panel div{display:grid}.ch-toc-panel a{width:100%;justify-content:flex-start}.ch-article-meta-top{justify-content:center!important}.ch-article-hero h1{text-align:center!important}}

/* ==========================================================
   Final public Content Hub index + article toggle fixes
   ========================================================== */
.ch-public,
.ch-public * {
    box-sizing: border-box;
}

.ch-public-index {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 58px 18px 86px;
    color: #fff;
}

.ch-index-hero {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px;
    padding: 22px 0 8px;
}

.ch-index-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 15px;
    border-radius: 999px;
    background: rgba(240,185,11,.12);
    border: 1px solid rgba(240,185,11,.28);
    color: #f0b90b;
    font-weight: 900;
    font-size: 13px;
    margin-bottom: 14px;
}

.ch-index-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 6vw, 72px);
    line-height: .96;
    letter-spacing: -.055em;
    font-weight: 950;
    text-transform: capitalize;
}

.ch-index-hero p {
    max-width: 760px;
    margin: 20px auto 0;
    color: rgba(255,255,255,.76);
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.75;
}

.ch-index-search {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 680px;
    margin: 28px auto 0;
    padding: 8px;
    border: 1px solid rgba(240,185,11,.25);
    border-radius: 18px;
    background: rgba(255,255,255,.06);
    box-shadow: 0 18px 50px rgba(0,0,0,.24);
}

.ch-index-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    border-radius: 13px;
    padding: 15px 16px;
    background: #fff;
    color: #111;
    font-size: 15px;
}

.ch-index-search button,
.ch-read-more {
    border: 0;
    border-radius: 13px;
    padding: 15px 20px;
    background: #f0b90b;
    color: #111 !important;
    font-weight: 950;
    text-decoration: none !important;
    cursor: pointer;
    white-space: nowrap;
}

.ch-index-cats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 920px;
    margin: 0 auto 34px;
}

.ch-index-cats span {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(240,185,11,.24);
    color: rgba(255,255,255,.82);
    font-size: 13px;
    font-weight: 800;
}

.ch-featured-doc-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    gap: 26px;
    align-items: center;
    margin: 0 auto 46px;
    padding: 18px;
    border: 1px solid rgba(240,185,11,.25);
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255,255,255,.1), rgba(255,255,255,.035));
    box-shadow: 0 28px 80px rgba(0,0,0,.24);
    overflow: hidden;
}

.ch-featured-doc-media {
    display: block;
    border-radius: 24px;
    overflow: hidden;
    background: #090909;
}

.ch-featured-doc-media img {
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: cover;
    display: block;
}

.ch-featured-doc-copy {
    padding: 12px 12px 12px 0;
}

.ch-featured-doc-copy span,
.ch-card-type {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(240,185,11,.13);
    color: #f0b90b;
    border: 1px solid rgba(240,185,11,.25);
    font-size: 12px;
    font-weight: 950;
    text-transform: capitalize;
}

.ch-featured-doc-copy h2 {
    margin: 0 0 12px;
    font-size: clamp(28px, 3vw, 44px);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.ch-featured-doc-copy h2 a,
.ch-index-card h2 a {
    color: inherit;
    text-decoration: none;
}

.ch-featured-doc-copy p {
    color: rgba(255,255,255,.74);
    line-height: 1.8;
    margin: 0 0 20px;
}

.ch-index-section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin: 0 0 20px;
}

.ch-index-section-head h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(27px, 4vw, 42px);
    line-height: 1.05;
    letter-spacing: -.035em;
    text-transform: capitalize;
}

.ch-index-section-head p {
    max-width: 520px;
    margin: 0;
    color: rgba(255,255,255,.66);
    line-height: 1.7;
}

.ch-index-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.ch-index-card {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    overflow: hidden;
    background: rgba(255,255,255,.96) !important;
    border: 1px solid rgba(240,185,11,.2);
    border-radius: 24px;
    color: #141414;
    box-shadow: 0 18px 55px rgba(0,0,0,.18);
}

.ch-card-image-link {
    display: block;
    background: #101010;
    overflow: hidden;
}

.ch-index-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.ch-index-card > div {
    padding: 20px;
}

.ch-index-card h2 {
    margin: 0 0 10px;
    color: #111;
    font-size: 22px;
    line-height: 1.18;
    letter-spacing: -.02em;
}

.ch-index-card p {
    margin: 0 0 15px;
    color: #4b5563;
    line-height: 1.7;
}

.ch-index-card small {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #777;
    font-weight: 800;
}

.ch-index-card small span:not(:last-child)::after {
    content: "•";
    margin-left: 8px;
    color: #c08a19;
}

.ch-empty {
    grid-column: 1 / -1;
    padding: 28px;
    text-align: center;
    border-radius: 22px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(240,185,11,.25);
    color: rgba(255,255,255,.78);
    font-weight: 800;
}

.ch-pagination {
    margin-top: 30px;
}

/* Article page final order: meta -> banner -> title -> body */
.ch-public-single {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 48px 18px 80px;
}

.ch-readable-article {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid rgba(240,185,11,.18);
    border-radius: 30px;
    padding: clamp(22px, 4vw, 46px);
    box-shadow: 0 24px 70px rgba(0,0,0,.14);
    overflow: hidden;
}

.ch-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
    color: #777;
    font-size: 13px;
    font-weight: 800;
}

.ch-breadcrumb a {
    color: #a87500;
    text-decoration: none;
}

.ch-article-hero {
    text-align: center !important;
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 24px;
    margin-bottom: 28px;
}

.ch-article-meta-top {
    display: flex;
    justify-content: center !important;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px !important;
}

.ch-category-badge,
.ch-article-meta {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

.ch-category-badge {
    background: rgba(245,166,35,.12);
    color: #b87900;
}

.ch-article-meta {
    background: #f8f8f8;
    color: #687083;
}

.ch-featured-image {
    margin: 0 auto 22px !important;
    max-width: 100%;
}

.ch-featured-image img {
    width: 100%;
    display: block;
    border-radius: 24px;
}

.ch-article-hero h1 {
    max-width: 900px;
    margin: 0 auto 12px !important;
    color: #080808;
    font-size: clamp(34px, 4vw, 54px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.045em;
    font-weight: 950;
    text-align: center !important;
}

.ch-article-excerpt {
    max-width: 760px;
    margin: 14px auto 0 !important;
    color: #4b5563;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.75;
}

.ch-author-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    color: #777;
    font-weight: 800;
    font-size: 13px;
}

.ch-toc-panel {
    margin: 0 0 30px;
    padding: 18px;
    border-radius: 20px;
    background: #fffaf0;
    border: 1px solid rgba(240,185,11,.25);
}

.ch-toc-panel strong {
    display: block;
    color: #111;
    margin-bottom: 10px;
}

.ch-toc-panel div {
    display: grid;
    gap: 7px;
}

.ch-toc-panel a {
    color: #a87500;
    text-decoration: none;
    font-weight: 800;
}

.ch-toc-level-3 {
    padding-left: 16px;
    font-size: 14px;
}

.ch-share-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 38px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.ch-share-row strong {
    margin-right: 4px;
}

.ch-share-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 13px;
    border-radius: 999px;
    background: #111;
    color: #f0b90b;
    text-decoration: none;
    font-weight: 900;
    font-size: 13px;
}

@media (max-width: 900px) {
    .ch-featured-doc-card {
        grid-template-columns: 1fr;
    }

    .ch-featured-doc-copy {
        padding: 0 4px 8px;
    }

    .ch-index-section-head {
        display: block;
    }

    .ch-index-section-head p {
        margin-top: 10px;
    }

    .ch-index-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .ch-public-index {
        padding: 34px 16px 56px;
    }

    .ch-index-search {
        display: grid;
        gap: 8px;
        padding: 8px;
    }

    .ch-index-grid {
        grid-template-columns: 1fr;
    }

    .ch-featured-doc-card {
        border-radius: 24px;
        padding: 12px;
        margin-bottom: 34px;
    }

    .ch-public-single {
        padding: 0 0 46px;
    }

    .ch-readable-article {
        max-width: none;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        padding: 26px 18px 42px;
        box-shadow: none;
    }

    .ch-breadcrumb {
        justify-content: flex-start;
        margin-bottom: 16px;
    }

    .ch-article-hero {
        padding-bottom: 22px;
        margin-bottom: 24px;
    }

    .ch-article-meta-top {
        justify-content: center !important;
        text-align: center;
        margin-bottom: 14px !important;
    }

    .ch-featured-image {
        margin-bottom: 18px !important;
    }

    .ch-featured-image img {
        border-radius: 18px;
    }

    .ch-article-hero h1 {
        text-align: center !important;
        font-size: clamp(32px, 9vw, 44px) !important;
        line-height: 1.08 !important;
    }

    .ch-article-excerpt {
        font-size: 16px;
        line-height: 1.72;
    }

    .ch-content {
        font-size: 16px;
        line-height: 1.82;
    }

    .ch-content h2 {
        margin-top: 44px;
        font-size: clamp(26px, 8vw, 36px);
    }

    .ch-content h3 {
        font-size: clamp(20px, 6vw, 26px);
    }
}

/* ==========================================================
   Content Hub toggle + share panel hard fix
   This block intentionally uses new class names to avoid old share CSS conflicts.
   ========================================================== */
.ch-share-panel {
    margin: 42px 0 0 !important;
    padding: 20px !important;
    border-radius: 22px !important;
    background: #111 !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
    border: 1px solid rgba(240,185,11,.24) !important;
}

.ch-share-panel strong {
    display: block !important;
    color: #fff !important;
    font-weight: 950 !important;
    margin: 0 0 4px !important;
}

.ch-share-panel span {
    display: block !important;
    color: rgba(255,255,255,.68) !important;
    font-size: 13px !important;
    font-weight: 750 !important;
}

.ch-share-actions {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    flex-wrap: wrap !important;
}

.ch-share-actions a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 38px !important;
    padding: 9px 14px !important;
    border-radius: 999px !important;
    background: #f0b90b !important;
    color: #111 !important;
    border: 0 !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
}

.ch-share-actions a:hover {
    background: #111 !important;
    color: #f0b90b !important;
    box-shadow: inset 0 0 0 1px rgba(240,185,11,.8) !important;
}

@media (max-width: 760px) {
    .ch-share-panel {
        display: grid !important;
        align-items: stretch !important;
    }

    .ch-share-actions {
        display: grid !important;
        grid-template-columns: 1fr !important;
    }

    .ch-share-actions a {
        width: 100% !important;
    }
}
