/* ============================================================
   CONTENTCREATOR.WORK — media.css
   Futuristic Cyberpunk Media & Articles Page Styles
   Zero !important architecture — strictly layered specificity
   ============================================================ */

/* Page Background */
body.cw-media-page {
  background-color: #05070a;
  color: #ffffff;
  overflow-x: hidden;
  font-family: var(--font-inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
}

/* ------------------------------------------------------------
   1. HERO BANNER (Cyberpunk Creator AI Banner)
   ------------------------------------------------------------ */
.cw-media-hero {
  position: relative;
  width: 100%;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 60px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cw-media-hero-bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.cw-media-hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.65) contrast(1.1);
  transform: scale(1.02);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cw-media-hero-scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(5, 7, 10, 0.3) 0%, rgba(5, 7, 10, 0.85) 75%, #05070a 100%),
              linear-gradient(180deg, rgba(5, 7, 10, 0.4) 0%, rgba(5, 7, 10, 0.95) 100%);
  z-index: 2;
}

.cw-media-hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cw-media-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(0, 255, 51, 0.08);
  border: 1px solid rgba(0, 255, 51, 0.28);
  color: #00FF33;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 0 20px rgba(0, 255, 51, 0.18);
}

.cw-media-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #00FF33;
  box-shadow: 0 0 8px #00FF33;
  animation: cwPulseDot 2s infinite ease-in-out;
}

@keyframes cwPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.cw-media-hero-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0;
  text-transform: uppercase;
}

.cw-media-hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
  max-width: 640px;
  margin: 0;
}

/* ------------------------------------------------------------
   2. MAIN LAYOUT WITH STICKY SIDEBAR
   ------------------------------------------------------------ */
.cw-media-main-section {
  position: relative;
  width: 100%;
  padding: 48px 24px 96px;
  background-color: #05070a;
}

.cw-media-layout-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

/* ------------------------------------------------------------
   3. STICKY SIDEBAR (Search Bar, Categories, Languages)
   ------------------------------------------------------------ */
.cw-media-sidebar {
  position: sticky;
  top: 96px;
  align-self: flex-start;
  width: 320px;
  flex-shrink: 0;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px;
  border-radius: 20px;
  background: rgba(15, 17, 26, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
  display: flex;
  flex-direction: column;
  gap: 28px;
  z-index: 20;
}

.cw-media-sidebar::-webkit-scrollbar {
  width: 5px;
}

.cw-media-sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
}

.cw-sidebar-block {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cw-sidebar-title {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Futuristic Live Search Bar Directly Above Categories */
.cw-media-search-wrap {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.cw-media-search-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
  transition: color 0.2s ease;
}

.cw-media-search-input {
  width: 100%;
  height: 44px;
  padding: 0 38px 0 42px;
  border-radius: 12px;
  background: rgba(25, 28, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.cw-media-search-input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.cw-media-search-input:focus {
  background: rgba(25, 28, 42, 0.9);
  border-color: rgba(0, 255, 51, 0.55);
  box-shadow: 0 0 16px rgba(0, 255, 51, 0.2);
}

.cw-media-search-wrap:focus-within .cw-media-search-icon {
  color: #00FF33;
}

.cw-media-search-clear {
  position: absolute;
  right: 12px;
  width: 20px;
  height: 20px;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease;
}

.cw-media-search-clear:hover {
  background: rgba(255, 255, 255, 0.3);
}

.cw-media-search-clear.visible {
  display: flex;
}

/* Category List Items */
.cw-category-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cw-cat-item-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  color: rgba(255, 255, 255, 0.72);
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cw-cat-item-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateX(3px);
}

.cw-cat-item-btn.active {
  background: rgba(0, 255, 51, 0.1);
  border-color: rgba(0, 255, 51, 0.35);
  color: #00FF33;
  font-weight: 700;
  box-shadow: 0 0 16px rgba(0, 255, 51, 0.12);
}

.cw-cat-count {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
  transition: all 0.2s ease;
}

.cw-cat-item-btn:hover .cw-cat-count {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.cw-cat-item-btn.active .cw-cat-count {
  background: rgba(0, 255, 51, 0.22);
  color: #00FF33;
}

/* Language Filter Pills */
.cw-lang-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cw-lang-pill-btn {
  flex: 1;
  min-width: 72px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(25, 28, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.68);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cw-lang-pill-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.cw-lang-pill-btn.active {
  background: rgba(0, 255, 51, 0.12);
  border-color: rgba(0, 255, 51, 0.38);
  color: #00FF33;
  box-shadow: 0 0 14px rgba(0, 255, 51, 0.14);
}

/* ------------------------------------------------------------
   4. MAIN ARTICLES CONTENT AREA
   ------------------------------------------------------------ */
.cw-media-content-area {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Status Bar & Active Filters */
.cw-media-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-radius: 14px;
  background: rgba(15, 17, 26, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.cw-media-status-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cw-active-filter-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 9999px;
  background: rgba(0, 255, 51, 0.12);
  border: 1px solid rgba(0, 255, 51, 0.3);
  color: #00FF33;
  font-size: 0.74rem;
  font-weight: 700;
}

.cw-filter-clear-tag {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  opacity: 0.75;
  transition: opacity 0.15s ease;
}

.cw-filter-clear-tag:hover {
  opacity: 1;
}

/* ------------------------------------------------------------
   5. ARTICLES 3-COLUMN GRID (Matching Gambar 3)
   ------------------------------------------------------------ */
.cw-articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cw-article-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: rgba(15, 17, 26, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.09);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.32s ease,
              box-shadow 0.32s ease;
  will-change: transform;
}

.cw-article-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 255, 51, 0.38);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 24px rgba(0, 255, 51, 0.12);
}

.cw-article-card:focus-visible {
  outline: 2px solid #00FF33;
  outline-offset: 2px;
}

/* Card Thumbnail */
.cw-article-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0d0f18;
}

.cw-article-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cw-article-card:hover .cw-article-thumb {
  transform: scale(1.06);
}

.cw-article-thumb-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(5, 7, 10, 0.75) 100%);
  pointer-events: none;
}

/* Badges on Thumbnail */
.cw-article-badge-wrap {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.cw-article-type-badge {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(5, 7, 10, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.cw-article-type-badge.type-tutorial {
  border-color: rgba(0, 255, 51, 0.45);
  color: #00FF33;
}

.cw-article-type-badge.type-tools {
  border-color: rgba(56, 189, 248, 0.45);
  color: #38bdf8;
}

.cw-article-type-badge.type-insight {
  border-color: rgba(245, 158, 11, 0.45);
  color: #f59e0b;
}

.cw-article-type-badge.type-inspiration {
  border-color: rgba(236, 72, 153, 0.45);
  color: #ec4899;
}

.cw-article-type-badge.type-workflow {
  border-color: rgba(168, 85, 247, 0.45);
  color: #a855f7;
}

/* Card Body */
.cw-article-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 12px;
}

.cw-article-category-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.cw-article-cat-name {
  color: #00FF33;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cw-article-read-time {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.4);
}

.cw-article-title {
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.4;
  color: #ffffff;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.cw-article-card:hover .cw-article-title {
  color: #00FF33;
}

.cw-article-excerpt {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* Card Bottom & Tags */
.cw-article-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cw-article-tags-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  overflow: hidden;
}

.cw-article-tag-pill {
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.cw-article-read-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
  transition: color 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.cw-article-card:hover .cw-article-read-link {
  color: #00FF33;
  transform: translateX(3px);
}

.cw-article-read-link svg {
  width: 14px;
  height: 14px;
}

/* ------------------------------------------------------------
   6. PAGINATION & LOAD MORE
   ------------------------------------------------------------ */
.cw-media-pagination {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.cw-load-more-btn {
  padding: 14px 36px;
  border-radius: 9999px;
  background: rgba(20, 24, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.cw-load-more-btn:hover {
  background: rgba(30, 36, 56, 0.85);
  border-color: rgba(0, 255, 51, 0.45);
  color: #00FF33;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45), 0 0 20px rgba(0, 255, 51, 0.15);
  transform: translateY(-2px);
}

.cw-load-more-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.cw-pagination-info {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ------------------------------------------------------------
   7. EMPTY & LOADING STATES
   ------------------------------------------------------------ */
.cw-media-empty-state {
  grid-column: 1 / -1;
  padding: 64px 24px;
  text-align: center;
  border-radius: 18px;
  background: rgba(15, 17, 26, 0.4);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.cw-media-empty-icon {
  width: 48px;
  height: 48px;
  color: rgba(255, 255, 255, 0.3);
}

.cw-media-empty-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.cw-media-empty-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 420px;
  margin: 0;
}

.cw-media-empty-reset-btn {
  margin-top: 8px;
  padding: 10px 24px;
  border-radius: 9999px;
  background: rgba(0, 255, 51, 0.1);
  border: 1px solid rgba(0, 255, 51, 0.35);
  color: #00FF33;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cw-media-empty-reset-btn:hover {
  background: rgba(0, 255, 51, 0.2);
  box-shadow: 0 0 16px rgba(0, 255, 51, 0.2);
}

/* Spinner */
.cw-media-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-top-color: #00FF33;
  border-radius: 50%;
  animation: cwSpin 0.75s linear infinite;
}

@keyframes cwSpin {
  to { transform: rotate(360deg); }
}

/* ------------------------------------------------------------
   8. RESPONSIVE BREAKPOINTS
   ------------------------------------------------------------ */
@media (max-width: 1200px) {
  .cw-articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .cw-media-layout-container {
    flex-direction: column;
    gap: 32px;
  }

  .cw-media-sidebar {
    position: static;
    width: 100%;
    max-height: none;
    overflow-y: visible;
  }

  .cw-articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .cw-media-hero {
    padding: 100px 16px 40px;
    min-height: 320px;
  }

  .cw-media-main-section {
    padding: 32px 16px 64px;
  }

  .cw-articles-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .cw-article-title {
    font-size: 1.05rem;
  }

  .cw-media-status-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ------------------------------------------------------------
   9. ARTICLE DETAIL READER OVERLAY (.work Cyberpunk Design)
   ------------------------------------------------------------ */
.cw-article-reader-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.cw-reader-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1;
}

.cw-reader-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  max-height: calc(100vh - 48px);
  background: #070b14;
  border: 1px solid rgba(0, 255, 51, 0.2);
  border-radius: 20px;
  overflow-y: auto;
  box-shadow: 0 0 60px rgba(0, 255, 51, 0.12), 0 30px 80px rgba(0, 0, 0, 0.9);
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 255, 51, 0.4) transparent;
  animation: cwModalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cwModalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(12px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.cw-reader-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  background: rgba(7, 11, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cw-reader-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cw-reader-back-btn:hover {
  background: rgba(0, 255, 51, 0.15);
  border-color: rgba(0, 255, 51, 0.4);
  color: #00FF33;
}

.cw-reader-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.cw-reader-breadcrumbs .cw-bc-sep {
  color: rgba(255, 255, 255, 0.2);
}

#cw-reader-bc-category {
  color: #00FF33;
}

.cw-reader-banner-wrap {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  background: #030712;
}

.cw-reader-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.cw-reader-banner-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 11, 20, 0) 40%, rgba(7, 11, 20, 0.95) 100%);
  pointer-events: none;
}

.cw-reader-main-body {
  padding: 36px 44px 50px;
}

.cw-reader-meta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.cw-reader-cat-tag {
  color: #00FF33;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.cw-reader-dot {
  color: rgba(255, 255, 255, 0.3);
}

.cw-reader-date {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.cw-reader-title {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

.cw-reader-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  margin: 0 0 28px 0;
}

.cw-reader-divider-line {
  border: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 0 36px 0;
}

.cw-reader-body-blocks {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
}

.cw-reader-body-blocks p {
  margin: 0 0 24px 0;
}

.cw-reader-body-blocks h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin: 44px 0 20px 0;
  letter-spacing: -0.01em;
}

.cw-reader-body-blocks h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 36px 0 16px 0;
}

.cw-reader-body-blocks h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 28px 0 12px 0;
}

.cw-reader-body-blocks blockquote {
  margin: 28px 0;
  padding: 18px 24px;
  border-left: 3px solid #00FF33;
  background: rgba(0, 255, 51, 0.05);
  border-radius: 0 12px 12px 0;
  color: #e2e8f0;
  font-style: italic;
}

.cw-reader-body-blocks figure.cw-block-image-wrap {
  margin: 36px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
}

.cw-reader-body-blocks figure.cw-block-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.cw-reader-body-blocks figure.cw-block-image-wrap figcaption {
  padding: 12px 18px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(7, 11, 20, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cw-block-ad-wrap {
  margin: 36px 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.cw-reader-footer {
  margin-top: 50px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cw-reader-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cw-reader-tag-pill {
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 9999px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.cw-reader-tag-pill:hover {
  background: rgba(0, 255, 51, 0.1);
  border-color: rgba(0, 255, 51, 0.3);
  color: #00FF33;
}

.cw-reader-share-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cw-reader-share-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
}

.cw-reader-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(0, 255, 51, 0.08);
  border: 1px solid rgba(0, 255, 51, 0.3);
  color: #00FF33;
  border-radius: 9999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cw-reader-share-btn:hover {
  background: #00FF33;
  color: #05070a;
  box-shadow: 0 0 20px rgba(0, 255, 51, 0.4);
}

@media (max-width: 768px) {
  .cw-article-reader-overlay {
    padding: 0;
  }

  .cw-reader-shell {
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
    border: 0;
  }

  .cw-reader-topbar {
    padding: 12px 18px;
  }

  .cw-reader-banner-wrap {
    height: 240px;
  }

  .cw-reader-main-body {
    padding: 24px 18px 40px;
  }

  .cw-reader-title {
    font-size: 1.55rem;
  }

  .cw-reader-lead {
    font-size: 1rem;
  }
}
