/**
 * ==========================================================================
 * OKAY BHARGAV ANIMATION STUDIO — STUDIO NOTES & EDITORIAL JOURNAL
 * ==========================================================================
 * 
 * Aesthetic: Cinematic Obsidian Black (#000000 canvas, #080b10 card surface,
 *            #73b2f7 Brand Sky Blue, #be55ff Electric Neon Purple)
 * Fully Bespoke: Built from scratch for modern responsive editorial layouts.
 * Responsive: Mobile (320px) -> Tablet (768px) -> Desktop (1440px+)
 * 
 * @package okaybhargav
 * ========================================================================== */

/* --------------------------------------------------------------------------
   1. GLOBAL SYSTEM VARIABLES & PAGE BASE
   -------------------------------------------------------------------------- */
body.post-type-archive-okb_blog,
body.single-okb_blog,
body.tax-okb_blog_category,
body.tax-okb_blog_tag {
  background-color: #000000 !important;
  color: #e2e8f0;
  overflow-x: hidden;
}

.ok-notes-journal {
  --ok-bg: #000000;
  --ok-surface: #080b10;
  --ok-surface-card: #0b0f16;
  --ok-surface-elevated: #101622;
  --ok-surface-hover: #141c2c;
  --ok-border: rgba(255, 255, 255, 0.08);
  --ok-border-subtle: rgba(255, 255, 255, 0.05);
  --ok-border-hover: rgba(115, 178, 247, 0.45);
  --ok-blue: #73b2f7;
  --ok-blue-glow: rgba(115, 178, 247, 0.2);
  --ok-blue-light: #a9d1ff;
  --ok-purple: #be55ff;
  --ok-purple-glow: rgba(190, 85, 255, 0.18);
  --ok-cyan: #45c8ff;
  --ok-text-heading: #ffffff;
  --ok-text-body: #cbd5e1;
  --ok-text-muted: #94a3b8;
  --ok-text-dim: #64748b;
  --ok-radius-sm: 8px;
  --ok-radius-md: 14px;
  --ok-radius-lg: 22px;
  --ok-radius-pill: 9999px;
  --ok-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ok-transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);

  position: relative;
  width: 100%;
  min-height: 85vh;
  background-color: var(--ok-bg);
  background-image:
    radial-gradient(ellipse 60% 40% at 50% -10%, rgba(115, 178, 247, 0.1), transparent 70%),
    radial-gradient(ellipse 40% 30% at 85% 20%, rgba(190, 85, 255, 0.07), transparent 60%),
    radial-gradient(ellipse 35% 25% at 15% 50%, rgba(69, 200, 255, 0.05), transparent 60%);
  background-repeat: no-repeat;
  padding-bottom: clamp(60px, 8vw, 120px);
}

.ok-notes-journal *,
.ok-notes-journal *::before,
.ok-notes-journal *::after {
  box-sizing: border-box;
}

.ok-notes-container {
  width: min(calc(100% - 40px), 1320px);
  margin-inline: auto;
}

@media (max-width: 640px) {
  .ok-notes-container {
    width: calc(100% - 28px);
  }
}

/* --------------------------------------------------------------------------
   2. EDITORIAL STUDIO HERO (ARCHIVE & TAXONOMIES)
   -------------------------------------------------------------------------- */
.ok-notes-hero {
  position: relative;
  padding: clamp(52px, 7vw, 92px) 20px clamp(36px, 5vw, 64px);
  border-bottom: 1px solid var(--ok-border-subtle);
  background: 
    radial-gradient(circle at 50% 0%, rgba(115, 178, 247, 0.08), transparent 28rem),
    linear-gradient(180deg, rgba(8, 11, 16, 0.85) 0%, rgba(0, 0, 0, 0.98) 100%);
  margin-bottom: clamp(36px, 5vw, 68px);
}

.ok-notes-hero__container {
  width: min(calc(100% - 20px), 1080px);
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Pulse dot status badge */
.ok-notes-hero__status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--ok-radius-pill);
  background: rgba(115, 178, 247, 0.07);
  border: 1px solid rgba(115, 178, 247, 0.22);
  margin-bottom: 22px;
  box-shadow: 0 0 16px -4px rgba(115, 178, 247, 0.2);
}

.ok-notes-hero__pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--ok-blue);
  box-shadow: 0 0 8px var(--ok-blue);
  animation: okNotesPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

.ok-notes-hero__status-text {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ok-blue);
}

.ok-notes-hero__status-sep {
  color: var(--ok-text-dim);
  font-size: 11px;
}

.ok-notes-hero__status-count {
  font-size: 11px;
  font-weight: 600;
  color: var(--ok-text-muted);
}

/* Hero Headline */
.ok-notes-hero__headline {
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ok-text-heading);
  margin: 0 0 18px 0;
  max-width: 920px;
  background: linear-gradient(180deg, #ffffff 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ok-notes-hero__subdek {
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ok-text-muted);
  max-width: 720px;
  margin: 0 0 32px 0;
}

/* Category Filter Track */
.ok-notes-filter-nav {
  width: 100%;
  max-width: 100%;
  margin-top: 10px;
}

.ok-notes-filter-scroll {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 4px 2px;
}

@media (max-width: 768px) {
  .ok-notes-filter-scroll {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
  }
  .ok-notes-filter-scroll::-webkit-scrollbar {
    display: none;
  }
}

.ok-notes-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--ok-radius-pill);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--ok-border);
  color: var(--ok-text-muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--ok-transition);
}

.ok-notes-pill:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(115, 178, 247, 0.4);
  color: #ffffff;
  transform: translateY(-1px);
}

.ok-notes-pill.is-active {
  background: rgba(115, 178, 247, 0.12);
  border-color: var(--ok-blue);
  color: #ffffff;
  box-shadow: 0 0 16px -3px var(--ok-blue-glow);
}

.ok-notes-pill__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 7px;
  border-radius: var(--ok-radius-pill);
  background: rgba(0, 0, 0, 0.5);
  font-size: 11px;
  font-weight: 700;
  color: var(--ok-text-dim);
}

.ok-notes-pill.is-active .ok-notes-pill__badge {
  background: var(--ok-blue);
  color: #000000;
}

/* --------------------------------------------------------------------------
   3. FEATURED STORY (BENTO SPLIT SHOWCASE)
   -------------------------------------------------------------------------- */
.ok-notes-featured-section {
  margin-bottom: clamp(48px, 6vw, 76px);
}

.ok-featured-story {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--ok-surface);
  border: 1px solid var(--ok-border);
  border-radius: var(--ok-radius-lg);
  overflow: hidden;
  transition: var(--ok-transition);
  position: relative;
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.7);
}

.ok-featured-story:hover {
  border-color: var(--ok-border-hover);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.9), 0 0 32px -8px var(--ok-blue-glow);
  transform: translateY(-3px);
}

/* Visual Column */
.ok-featured-story__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #040609;
}

.ok-featured-story__visual-link {
  display: block;
  width: 100%;
  height: 100%;
}

.ok-featured-story__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ok-ease);
}

.ok-featured-story:hover .ok-featured-story__img {
  transform: scale(1.04);
}

.ok-featured-story__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--ok-text-dim);
  background: radial-gradient(circle, #0e1624 0%, #030406 100%);
}

.ok-featured-story__badges-overlay {
  position: absolute;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  pointer-events: none;
  z-index: 2;
}

.ok-featured-story__lead-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--ok-radius-pill);
  background: rgba(8, 11, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(115, 178, 247, 0.35);
  color: var(--ok-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ok-featured-story__time-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 11px;
  border-radius: var(--ok-radius-pill);
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--ok-text-muted);
  font-size: 11px;
  font-weight: 600;
}

/* Body Column */
.ok-featured-story__body {
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ok-featured-story__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.ok-featured-story__cat {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ok-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ok-featured-story__cat:hover {
  color: var(--ok-blue-light);
}

.ok-featured-story__dot {
  color: var(--ok-text-dim);
}

.ok-featured-story__date {
  font-size: 13px;
  color: var(--ok-text-muted);
}

.ok-featured-story__title {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--ok-text-heading);
  margin: 0 0 16px 0;
}

.ok-featured-story__title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ok-featured-story__title a:hover {
  color: var(--ok-blue);
}

.ok-featured-story__excerpt {
  font-size: 15px;
  line-height: 1.68;
  color: var(--ok-text-body);
  margin: 0 0 28px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ok-featured-story__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--ok-border-subtle);
}

.ok-featured-story__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ok-featured-story__author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(115, 178, 247, 0.3);
  flex-shrink: 0;
}

.ok-featured-story__author-info {
  display: flex;
  flex-direction: column;
}

.ok-featured-story__author-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--ok-text-heading);
}

.ok-featured-story__author-tag {
  font-size: 11px;
  color: var(--ok-text-dim);
}

.ok-featured-story__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--ok-radius-pill);
  background: rgba(115, 178, 247, 0.1);
  border: 1px solid rgba(115, 178, 247, 0.3);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--ok-transition);
}

.ok-featured-story__btn:hover {
  background: var(--ok-blue);
  color: #000000;
  border-color: var(--ok-blue);
  box-shadow: 0 0 16px var(--ok-blue-glow);
}

.ok-featured-story__btn i {
  transition: transform 0.2s ease;
}

.ok-featured-story__btn:hover i {
  transform: translateX(3px);
}

@media (max-width: 960px) {
  .ok-featured-story {
    grid-template-columns: 1fr;
  }
  .ok-featured-story__visual {
    aspect-ratio: 16 / 9;
  }
}

/* --------------------------------------------------------------------------
   4. RECENT NOTES BENTO GRID (3-COLUMN RESPONSIVE)
   -------------------------------------------------------------------------- */
.ok-notes-grid-wrap {
  margin-bottom: clamp(48px, 6vw, 84px);
}

.ok-notes-grid-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ok-border-subtle);
}

.ok-notes-grid-header__kicker {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ok-blue);
  margin-bottom: 4px;
}

.ok-notes-grid-header__title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ok-text-heading);
  margin: 0;
}

.ok-notes-grid-header__count {
  font-size: 13px;
  color: var(--ok-text-dim);
}

/* Bento 3-column Grid */
.ok-notes-bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 28px;
}

@media (max-width: 768px) {
  .ok-notes-bento-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* Bento Note Card */
.ok-notes-card {
  display: flex;
  flex-direction: column;
  background: var(--ok-surface);
  border: 1px solid var(--ok-border);
  border-radius: var(--ok-radius-md);
  overflow: hidden;
  transition: var(--ok-transition);
  position: relative;
}

.ok-notes-card:hover {
  border-color: var(--ok-border-hover);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.8), 0 0 24px -6px var(--ok-blue-glow);
  transform: translateY(-4px);
}

.ok-notes-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9.5;
  overflow: hidden;
  background: #030406;
}

.ok-notes-card__media-link {
  display: block;
  width: 100%;
  height: 100%;
}

.ok-notes-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ok-ease);
}

.ok-notes-card:hover .ok-notes-card__img {
  transform: scale(1.05);
}

.ok-notes-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--ok-text-dim);
  background: radial-gradient(circle, #0e1522 0%, #030406 100%);
}

.ok-notes-card__cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  border-radius: var(--ok-radius-pill);
  background: rgba(8, 11, 16, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--ok-blue);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--ok-transition);
}

.ok-notes-card__cat-badge:hover {
  background: var(--ok-blue);
  color: #000000;
  border-color: var(--ok-blue);
}

.ok-notes-card__body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ok-notes-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ok-text-muted);
  margin-bottom: 12px;
}

.ok-notes-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ok-notes-card__meta-sep {
  color: var(--ok-text-dim);
}

.ok-notes-card__title {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin: 0 0 12px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ok-notes-card__title a {
  color: var(--ok-text-heading);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ok-notes-card__title a:hover {
  color: var(--ok-blue);
}

.ok-notes-card__excerpt {
  color: var(--ok-text-muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 20px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ok-notes-card__footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--ok-border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ok-notes-card__author {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.ok-notes-card__avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--ok-border);
  flex-shrink: 0;
}

.ok-notes-card__author-name {
  color: var(--ok-text-body);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ok-notes-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ok-blue);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  flex-shrink: 0;
  transition: var(--ok-transition);
}

.ok-notes-card__cta i {
  transition: transform 0.2s ease;
}

.ok-notes-card:hover .ok-notes-card__cta {
  color: #ffffff;
}

.ok-notes-card:hover .ok-notes-card__cta i {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   5. STUDIO COLLABORATION & DISPATCH BANNER
   -------------------------------------------------------------------------- */
.ok-notes-cta-banner {
  position: relative;
  background: 
    radial-gradient(circle at 85% 50%, rgba(190, 85, 255, 0.12), transparent 28rem),
    radial-gradient(circle at 15% 50%, rgba(115, 178, 247, 0.1), transparent 24rem),
    var(--ok-surface);
  border: 1px solid var(--ok-border);
  border-radius: var(--ok-radius-lg);
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: clamp(48px, 6vw, 76px);
  overflow: hidden;
}

.ok-notes-cta-banner__content {
  max-width: 680px;
}

.ok-notes-cta-banner__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ok-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ok-notes-cta-banner__title {
  color: var(--ok-text-heading);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 10px 0;
}

.ok-notes-cta-banner__desc {
  color: var(--ok-text-body);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.ok-notes-cta-banner__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.ok-notes-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--ok-radius-pill);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--ok-transition);
}

.ok-notes-action-btn--primary {
  background: #ffffff;
  color: #000000;
}

.ok-notes-action-btn--primary:hover {
  background: var(--ok-blue);
  color: #000000;
  box-shadow: 0 0 20px var(--ok-blue-glow);
  transform: translateY(-2px);
}

.ok-notes-action-btn--glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--ok-border);
  color: var(--ok-text-heading);
}

.ok-notes-action-btn--glass:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   6. CINEMATIC PAGINATION
   -------------------------------------------------------------------------- */
.ok-notes-pagination-bar {
  margin: 40px 0;
  display: flex;
  justify-content: center;
}

.ok-notes-pagination-bar ul.page-numbers {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.ok-notes-pagination-bar a.page-numbers,
.ok-notes-pagination-bar span.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: var(--ok-radius-sm);
  background: var(--ok-surface);
  border: 1px solid var(--ok-border);
  color: var(--ok-text-muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--ok-transition);
}

.ok-notes-pagination-bar a.page-numbers:hover {
  background: var(--ok-surface-hover);
  border-color: var(--ok-border-hover);
  color: #ffffff;
}

.ok-notes-pagination-bar span.page-numbers.current {
  background: rgba(115, 178, 247, 0.15);
  border-color: var(--ok-blue);
  color: #ffffff;
  box-shadow: 0 0 14px -2px var(--ok-blue-glow);
}

/* Empty State */
.ok-notes-empty-state {
  padding: clamp(60px, 8vw, 96px) 20px;
  display: flex;
  justify-content: center;
}

.ok-notes-empty-state__card {
  text-align: center;
  max-width: 500px;
  background: var(--ok-surface);
  border: 1px solid var(--ok-border);
  border-radius: var(--ok-radius-lg);
  padding: 48px 32px;
}

.ok-notes-empty-state__icon {
  font-size: 40px;
  color: var(--ok-blue);
  margin-bottom: 20px;
}

.ok-notes-empty-state__title {
  font-size: 24px;
  font-weight: 800;
  color: var(--ok-text-heading);
  margin: 0 0 12px 0;
}

.ok-notes-empty-state__desc {
  font-size: 15px;
  color: var(--ok-text-muted);
  line-height: 1.6;
  margin: 0 0 28px 0;
}

/* --------------------------------------------------------------------------
   7. SINGLE NOTE POST VIEW
   -------------------------------------------------------------------------- */
.ok-single-header {
  position: relative;
  padding: clamp(48px, 6vw, 76px) 20px clamp(32px, 4vw, 56px);
  border-bottom: 1px solid var(--ok-border-subtle);
  background: 
    radial-gradient(ellipse at 50% 0%, rgba(115, 178, 247, 0.08), transparent 30rem),
    linear-gradient(180deg, rgba(8, 11, 16, 0.9) 0%, rgba(0, 0, 0, 0.98) 100%);
  margin-bottom: clamp(36px, 5vw, 60px);
}

.ok-single-header__container {
  width: min(calc(100% - 20px), 1040px);
  margin-inline: auto;
}

/* Breadcrumbs */
.ok-single-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--ok-text-dim);
  margin-bottom: 24px;
}

.ok-single-breadcrumbs a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--ok-text-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ok-single-breadcrumbs a:hover {
  color: var(--ok-blue);
}

.ok-single-breadcrumbs i.fa-chevron-right {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.2);
}

.ok-single-breadcrumbs .is-current {
  color: var(--ok-text-muted);
}

/* Single Badges */
.ok-single-header__badges {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.ok-single-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--ok-radius-pill);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.ok-single-badge--cat {
  background: rgba(115, 178, 247, 0.1);
  border: 1px solid rgba(115, 178, 247, 0.3);
  color: var(--ok-blue);
  text-transform: uppercase;
  transition: var(--ok-transition);
}

.ok-single-badge--cat:hover {
  background: var(--ok-blue);
  color: #000000;
  border-color: var(--ok-blue);
}

.ok-single-badge--time {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ok-border);
  color: var(--ok-text-muted);
}

/* Headline */
.ok-single-header__headline {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--ok-text-heading);
  margin: 0 0 18px 0;
}

.ok-single-header__dek {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.6;
  color: var(--ok-text-muted);
  margin: 0 0 28px 0;
  max-width: 880px;
}

/* Byline Bar & Share Actions */
.ok-single-byline-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--ok-border-subtle);
  margin-bottom: 36px;
}

.ok-single-byline-bar__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ok-single-byline-bar__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(115, 178, 247, 0.35);
  flex-shrink: 0;
}

.ok-single-byline-bar__name {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ok-text-heading);
  margin-bottom: 2px;
}

.ok-single-byline-bar__submeta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ok-text-muted);
}

.ok-single-byline-bar__sep {
  color: var(--ok-text-dim);
}

.ok-single-byline-bar__role {
  color: var(--ok-blue);
  font-weight: 600;
}

/* Share Toolbar */
.ok-single-share {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ok-single-share__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ok-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-right: 4px;
}

.ok-single-share__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--ok-radius-sm);
  background: var(--ok-surface);
  border: 1px solid var(--ok-border);
  color: var(--ok-text-muted);
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: var(--ok-transition);
}

.ok-single-share__btn:hover {
  background: var(--ok-surface-hover);
  border-color: rgba(115, 178, 247, 0.4);
  color: var(--ok-blue);
  transform: translateY(-2px);
}

/* Tooltip for Copy Link */
.ok-single-share__tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 10px;
  border-radius: 6px;
  background: #0f172a;
  border: 1px solid var(--ok-border);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 10;
}

.ok-single-share__tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 4px;
  border-style: solid;
  border-color: #0f172a transparent transparent transparent;
}

.ok-single-share__btn--copy:hover .ok-single-share__tooltip,
.ok-single-share__btn--copy.is-copied .ok-single-share__tooltip {
  opacity: 1;
  visibility: visible;
}

.ok-single-share__btn--copy.is-copied {
  border-color: var(--ok-blue);
  color: var(--ok-blue);
}

/* Cover Image Container */
.ok-single-cover {
  margin: 32px 0 0 0;
}

.ok-single-cover__wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--ok-radius-lg);
  overflow: hidden;
  border: 1px solid var(--ok-border);
  box-shadow: 0 16px 44px -10px rgba(0, 0, 0, 0.9), 0 0 30px -10px var(--ok-blue-glow);
  background: #020406;
}

.ok-single-cover__wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --------------------------------------------------------------------------
   8. READING LAYOUT: MAIN COLUMN + STICKY SIDEBAR
   -------------------------------------------------------------------------- */
.ok-single-layout {
  padding-top: 12px;
}

.ok-single-layout__container {
  width: min(calc(100% - 40px), 1260px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 48px;
  align-items: start;
}

@media (max-width: 992px) {
  .ok-single-layout__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Main Prose Editorial Typography */
.ok-single-main-col {
  min-width: 0;
}

.ok-single-prose {
  font-size: 17.5px;
  line-height: 1.8;
  color: var(--ok-text-body);
}

.ok-single-prose p {
  margin: 0 0 28px 0;
}

.ok-single-prose h2 {
  color: var(--ok-text-heading);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 48px 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ok-border-subtle);
}

.ok-single-prose h3 {
  color: var(--ok-text-heading);
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin: 36px 0 16px 0;
}

.ok-single-prose h4 {
  color: var(--ok-text-heading);
  font-size: 18px;
  font-weight: 700;
  margin: 28px 0 14px 0;
}

.ok-single-prose a {
  color: var(--ok-blue);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s ease;
}

.ok-single-prose a:hover {
  color: var(--ok-blue-light);
}

.ok-single-prose strong {
  color: var(--ok-text-heading);
  font-weight: 700;
}

.ok-single-prose blockquote {
  position: relative;
  margin: 36px 0;
  padding: 24px 28px;
  background: rgba(115, 178, 247, 0.04);
  border-left: 3px solid var(--ok-blue);
  border-radius: 0 var(--ok-radius-sm) var(--ok-radius-sm) 0;
  font-size: 18px;
  font-style: italic;
  line-height: 1.7;
  color: #e2e8f0;
}

.ok-single-prose blockquote p:last-child {
  margin-bottom: 0;
}

.ok-single-prose ul,
.ok-single-prose ol {
  margin: 0 0 28px 0;
  padding-left: 24px;
}

.ok-single-prose li {
  margin-bottom: 10px;
}

.ok-single-prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.88em;
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ok-blue-light);
}

.ok-single-prose pre {
  margin: 32px 0;
  padding: 20px 24px;
  background: #04060a;
  border: 1px solid var(--ok-border);
  border-radius: var(--ok-radius-sm);
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.65;
}

.ok-single-prose pre code {
  padding: 0;
  background: transparent;
  color: #e2e8f0;
}

.ok-single-prose img {
  max-width: 100%;
  height: auto;
  border-radius: var(--ok-radius-sm);
  border: 1px solid var(--ok-border);
  margin: 28px 0;
}

/* Topics / Tags Section */
.ok-single-tags-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 24px 0;
  margin-top: 36px;
  border-top: 1px solid var(--ok-border-subtle);
}

.ok-single-tags-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ok-text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.ok-single-tags-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ok-single-tag-pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--ok-radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--ok-border);
  color: var(--ok-text-muted);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--ok-transition);
}

.ok-single-tag-pill:hover {
  background: rgba(255, 255, 255, 0.09);
  color: var(--ok-blue);
  border-color: rgba(115, 178, 247, 0.4);
}

/* Studio Author Box */
.ok-single-author-card {
  margin: 40px 0;
  padding: clamp(24px, 4vw, 36px);
  background: var(--ok-surface);
  border: 1px solid var(--ok-border);
  border-radius: var(--ok-radius-lg);
  display: flex;
  align-items: center;
  gap: 24px;
}

.ok-single-author-card__avatar {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(115, 178, 247, 0.35);
  flex-shrink: 0;
}

.ok-single-author-card__kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ok-blue);
  margin-bottom: 4px;
}

.ok-single-author-card__name {
  color: var(--ok-text-heading);
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px 0;
}

.ok-single-author-card__bio {
  color: var(--ok-text-body);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 14px 0;
}

.ok-single-author-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ok-blue);
  text-decoration: none;
  transition: var(--ok-transition);
}

.ok-single-author-card__link:hover {
  color: #ffffff;
}

@media (max-width: 640px) {
  .ok-single-author-card {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

/* Previous & Next Post Navigation */
.ok-single-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 40px 0;
}

@media (max-width: 640px) {
  .ok-single-post-nav {
    grid-template-columns: 1fr;
  }
}

.ok-single-nav-card {
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  background: var(--ok-surface);
  border: 1px solid var(--ok-border);
  border-radius: var(--ok-radius-md);
  text-decoration: none;
  transition: var(--ok-transition);
}

.ok-single-nav-card:hover {
  border-color: var(--ok-border-hover);
  background: var(--ok-surface-card);
  transform: translateY(-2px);
}

.ok-single-nav-card__dir {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ok-blue);
  margin-bottom: 8px;
}

.ok-single-nav-card--next {
  text-align: right;
  align-items: flex-end;
}

.ok-single-nav-card__title {
  color: var(--ok-text-heading);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ok-single-nav-card--placeholder {
  border: none;
  background: transparent;
}

/* --------------------------------------------------------------------------
   9. STICKY STUDIO SIDEBAR
   -------------------------------------------------------------------------- */
.ok-single-sidebar-col {
  position: sticky;
  top: 96px;
}

.ok-notes-sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ok-notes-sidebox {
  background: var(--ok-surface);
  border: 1px solid var(--ok-border);
  border-radius: var(--ok-radius-md);
  padding: 22px;
}

.ok-notes-sidebox__header {
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--ok-border-subtle);
}

.ok-notes-sidebox__eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ok-blue);
  margin-bottom: 4px;
}

.ok-notes-sidebox__title {
  font-size: 17px;
  font-weight: 800;
  color: var(--ok-text-heading);
  margin: 0;
}

/* Studio Profile Sidebox */
.ok-notes-sidebox--studio {
  background: 
    radial-gradient(circle at 100% 0%, rgba(115, 178, 247, 0.08), transparent 16rem),
    var(--ok-surface);
}

.ok-notes-sidebox__studio-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.ok-notes-sidebox__studio-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: contain;
  flex-shrink: 0;
}

.ok-notes-sidebox__studio-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--ok-text-heading);
  margin: 0;
}

.ok-notes-sidebox__desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ok-text-muted);
  margin: 0 0 16px 0;
}

.ok-notes-sidebox__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ok-blue);
  text-decoration: none;
}

.ok-notes-sidebox__link:hover {
  color: #ffffff;
}

/* Recent Side Posts */
.ok-notes-side-posts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ok-notes-side-post-card {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 8px;
  border-radius: var(--ok-radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--ok-border-subtle);
  transition: var(--ok-transition);
}

.ok-notes-side-post-card:hover {
  background: var(--ok-surface-hover);
  border-color: rgba(115, 178, 247, 0.3);
  transform: translateX(3px);
}

.ok-notes-side-post-card__thumb {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #040609;
}

.ok-notes-side-post-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ok-notes-side-post-card__info {
  min-width: 0;
  flex: 1;
}

.ok-notes-side-post-card__title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ok-text-heading);
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ok-notes-side-post-card__date {
  font-size: 11px;
  color: var(--ok-text-dim);
}

/* Creative Assets Sidebox */
.ok-notes-side-assets {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ok-notes-side-asset-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: var(--ok-radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--ok-border-subtle);
  text-decoration: none;
  transition: var(--ok-transition);
}

.ok-notes-side-asset-card:hover {
  background: var(--ok-surface-hover);
  border-color: rgba(115, 178, 247, 0.3);
  transform: translateX(3px);
}

.ok-notes-side-asset-card__img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.ok-notes-side-asset-card__placeholder {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: #06090e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--ok-blue);
  flex-shrink: 0;
}

.ok-notes-side-asset-card__info {
  min-width: 0;
  flex: 1;
}

.ok-notes-side-asset-card__title {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ok-text-heading);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.ok-notes-side-asset-card__type {
  font-size: 11px;
  color: var(--ok-blue);
  font-weight: 600;
}

/* Side Tags */
.ok-notes-side-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ok-notes-side-tag {
  padding: 4px 10px;
  border-radius: var(--ok-radius-pill);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--ok-border);
  color: var(--ok-text-muted);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--ok-transition);
}

.ok-notes-side-tag:hover {
  background: var(--ok-blue);
  color: #000000;
  border-color: var(--ok-blue);
}

/* CTA Sidebox */
.ok-notes-sidebox--cta {
  background: 
    radial-gradient(circle at 100% 0%, rgba(190, 85, 255, 0.14), transparent 16rem),
    radial-gradient(circle at 0% 100%, rgba(115, 178, 247, 0.1), transparent 14rem),
    var(--ok-surface);
  border-color: rgba(115, 178, 247, 0.25);
}

.ok-notes-sidebox__cta-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--ok-text-heading);
  margin: 6px 0 10px 0;
  line-height: 1.35;
}

.ok-notes-sidebox__cta-desc {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ok-text-body);
  margin: 0 0 16px 0;
}

.ok-notes-sidebox__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 18px;
  border-radius: var(--ok-radius-pill);
  background: #ffffff;
  color: #000000;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--ok-transition);
}

.ok-notes-sidebox__cta-btn:hover {
  background: var(--ok-blue);
  color: #000000;
  box-shadow: 0 0 16px var(--ok-blue-glow);
}

/* --------------------------------------------------------------------------
   10. RELATED NOTES SECTION
   -------------------------------------------------------------------------- */
.ok-notes-related-wrap {
  margin-top: clamp(60px, 8vw, 96px);
  padding-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--ok-border-subtle);
}

.ok-notes-related-container {
  width: min(calc(100% - 40px), 1320px);
  margin-inline: auto;
}

.ok-notes-related-header {
  text-align: center;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.ok-notes-related-header__kicker {
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ok-blue);
  margin-bottom: 8px;
}

.ok-notes-related-header__headline {
  color: var(--ok-text-heading);
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}

/* --------------------------------------------------------------------------
   11. MEDIA QUERIES FOR FLUID RESPONSIVENESS
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .ok-single-sidebar-col {
    position: static;
    margin-top: 36px;
  }
}

@media (max-width: 640px) {
  .ok-single-byline-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .ok-single-share {
    width: 100%;
    justify-content: flex-start;
  }
  .ok-notes-cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .ok-notes-cta-banner__actions {
    width: 100%;
  }
  .ok-notes-action-btn {
    width: 100%;
    justify-content: center;
  }
}
