/* PAGE HERO */
.cs-page-hero { background: linear-gradient(135deg, #690017 0%, #a0002a 60%, #690017 100%); padding: 80px 0 70px; position: relative; overflow: hidden; }
.cs-page-hero::before { content: ''; position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?w=1400&q=80') center/cover no-repeat; opacity: 0.1; }
.cs-page-hero .container { position: relative; z-index: 2; }
.cs-page-hero .label { color: #D4AF37; margin-bottom: 12px; display: inline-block; }
.cs-page-hero h1 { font-size: 42px; font-weight: 900; color: #fff; margin-bottom: 14px; line-height: 1.2; }
.cs-page-hero p { font-size: 15px; color: rgba(255,255,255,0.82); line-height: 1.75; max-width: 620px; text-align: left; }

/* BLOG LISTING */
.cs-listing { padding: 60px 0; background: #F5F6F8; }
.cs-blog-grid { display: flex; flex-direction: column; gap: 32px; }

.cs-blog-card { background: #fff; border: 1px solid #E2E8F0; border-radius: 16px; overflow: hidden; display: grid; grid-template-columns: 380px 1fr; transition: 0.3s; }
.cs-blog-card:hover { box-shadow: 0 12px 40px rgba(105,0,23,0.1); transform: translateY(-3px); border-color: #690017; }

.cs-blog-thumb { position: relative; overflow: hidden; display: block; }
.cs-blog-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: 0.4s; }
.cs-blog-card:hover .cs-blog-thumb img { transform: scale(1.05); }
.cs-blog-thumb-overlay { position: absolute; inset: 0; background: rgba(105,0,23,0.7); display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; }
.cs-blog-card:hover .cs-blog-thumb-overlay { opacity: 1; }
.cs-blog-thumb-overlay span { color: #fff; font-size: 14px; font-weight: 700; }

.cs-blog-body { padding: 28px 32px; display: flex; flex-direction: column; gap: 14px; }
.cs-blog-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-blog-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #690017; background: #fff0f3; border: 1px solid #f5c0cc; padding: 4px 10px; border-radius: 20px; }
.cs-blog-tag i { font-size: 10px; }

.cs-blog-title { font-size: 20px; font-weight: 800; color: #1E293B; line-height: 1.4; margin: 0; }
.cs-blog-title a { color: inherit; text-decoration: none; transition: 0.2s; }
.cs-blog-title a:hover { color: #690017; }

.cs-blog-excerpt { font-size: 13.5px; color: #64748B; line-height: 1.75; margin: 0; text-align: left; }

.cs-blog-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid #E2E8F0; }
.cs-blog-outcomes { display: flex; flex-wrap: wrap; gap: 8px; }
.cs-blog-outcomes span { font-size: 12px; font-weight: 600; color: #059669; display: flex; align-items: center; gap: 5px; }
.cs-blog-outcomes i { font-size: 11px; }
.cs-blog-readmore { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #690017; text-decoration: none; white-space: nowrap; transition: 0.2s; }
.cs-blog-readmore:hover { gap: 10px; }

/* DETAIL PAGE */
.cs-detail { padding: 60px 0; background: #F5F6F8; }
.cs-detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }

.cs-detail-main { background: #fff; border: 1px solid #E2E8F0; border-radius: 16px; padding: 36px; }
.cs-detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cs-detail-title { font-size: 28px; font-weight: 900; color: #690017; line-height: 1.3; margin-bottom: 28px; text-align: left; }

.cs-detail-cover { margin-bottom: 32px; }
.cs-detail-cover > img { width: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; display: block; cursor: zoom-in; transition: 0.3s; }
.cs-detail-cover > img:hover { opacity: 0.92; }
.cs-detail-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.cs-detail-thumbs img { width: calc(33.33% - 7px); aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; cursor: pointer; border: 2px solid transparent; opacity: 0.7; transition: 0.2s; }
.cs-detail-thumbs img.active, .cs-detail-thumbs img:hover { border-color: #690017; opacity: 1; }

.cs-detail-sections { display: flex; flex-direction: column; gap: 28px; }
.cs-detail-section h3 { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 800; color: #690017; margin-bottom: 12px; text-align: left; }
.cs-detail-section p { font-size: 14px; color: #475569; line-height: 1.8; margin-bottom: 10px; text-align: left; }
.cs-detail-section p:last-child { margin-bottom: 0; }

/* SIDEBAR */
.cs-detail-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 90px; }

.cs-sidebar-outcomes { background: linear-gradient(135deg, #690017, #a0002a); border-radius: 12px; padding: 22px; }
.cs-sidebar-outcomes h4 { font-size: 13px; font-weight: 700; color: #D4AF37; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.cs-sidebar-outcomes ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.cs-sidebar-outcomes li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: rgba(255,255,255,0.9); line-height: 1.4; }
.cs-sidebar-outcomes li i { color: #D4AF37; font-size: 11px; margin-top: 3px; flex-shrink: 0; }

.cs-sidebar-meta { background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; padding: 20px; }
.cs-sidebar-meta h4 { font-size: 13px; font-weight: 700; color: #690017; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.cs-meta-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid #F1F5F9; font-size: 13px; }
.cs-meta-item:last-child { border-bottom: none; }
.cs-meta-item span { color: #64748B; }
.cs-meta-item strong { color: #1E293B; font-weight: 700; text-align: right; }

.cs-sidebar-related { background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; padding: 20px; }
.cs-sidebar-related h4 { font-size: 13px; font-weight: 700; color: #690017; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.cs-related-card { display: flex; gap: 12px; text-decoration: none; align-items: flex-start; }
.cs-related-card img { width: 72px; height: 56px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.cs-related-card div p { font-size: 12.5px; color: #334155; font-weight: 600; line-height: 1.4; margin-bottom: 6px; text-align: left; }
.cs-related-card div span { font-size: 12px; color: #690017; font-weight: 700; display: flex; align-items: center; gap: 4px; transition: 0.2s; }
.cs-related-card:hover div span { gap: 8px; }

/* LIGHTBOX */
.cs-lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 9999; align-items: center; justify-content: center; cursor: zoom-out; }
.cs-lightbox.open { display: flex; }
.cs-lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 8px; }
.cs-lb-close { position: absolute; top: 20px; right: 28px; font-size: 36px; color: #fff; cursor: pointer; opacity: 0.8; transition: 0.2s; line-height: 1; }
.cs-lb-close:hover { opacity: 1; }

/* RESPONSIVE */
@media (max-width: 1024px) {
    .cs-blog-card { grid-template-columns: 1fr; }
    .cs-blog-thumb { height: 240px; }
    .cs-detail-layout { grid-template-columns: 1fr; }
    .cs-detail-sidebar { position: static; }
}
@media (max-width: 768px) {
    .cs-page-hero h1 { font-size: 28px; }
    .cs-page-hero { padding: 56px 0 48px; }
    .cs-detail-main { padding: 22px; }
    .cs-detail-title { font-size: 22px; }
    .cs-blog-body { padding: 20px; }
    .cs-listing { padding: 36px 0; }
    .cs-detail { padding: 36px 0; }
}
