/**
 * Soupaflow NeoBrutalism Single Post Styles
 */

body.single-post,
body.is-blog-detail {
  background-color: #12131a !important;
  color: #f1f5f9;
}

.featured-image-hero {
  width: 100%;
  background-color: transparent;
}

.featured-image-inner {
  max-width: 824px;
  margin: 0 auto;
  padding: 2.7rem 15px 0 15px !important;
}

.soupaflow-picture-wrap {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.featured-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  max-height: 560px;
  object-fit: cover;
  display: block;
  background-color: #12131a;
  border: 2px solid #363a45;
  border-radius: var(--nb-radius, 12px);
  box-shadow: 6px 6px 0px #000000;
  color: transparent;
}

/* ==========================================================================
   NEUBRUTALISM ARTICLE ZAPPER (SWIPE & KEYBOARD NAV)
   ========================================================================== */
.article-zapper {
  width: 100%;
  box-sizing: border-box;
  padding: 0 15px;
}

.article-zapper-top {
  margin-top: 0.85rem;
  margin-bottom: 0;
}

.article-zapper-no-image {
  margin-top: 0;
  margin-bottom: 2rem;
}

.article-zapper-bottom {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
  padding-top: 2rem;
  border-top: 2px dashed #363a45;
}

.zapper-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.zapper-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 42px;
  padding: 0 1.15rem;
  background-color: #181b29;
  color: #f1f5f9;
  border: 2px solid #000000;
  border-radius: var(--nb-radius, 8px);
  box-shadow: 3px 3px 0px #000000;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  user-select: none;
  cursor: pointer;
}

.zapper-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px #000000;
  border-color: var(--post-accent, #ffd23f);
  color: var(--post-accent, #ffd23f);
}

.zapper-btn:hover .zapper-arrow-prev {
  transform: translateX(-3px);
}

.zapper-btn:hover .zapper-arrow-next {
  transform: translateX(3px);
}

.zapper-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px #000000;
}

.zapper-arrow {
  font-size: 1.45rem;
  line-height: 1;
  color: var(--post-accent, #ffd23f);
  font-weight: 900;
  display: inline-block;
  transition: transform 0.15s ease;
}

.zapper-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  border-color: #2e3240;
  background-color: #12141e;
  color: #64748b;
}

.zapper-disabled .zapper-arrow {
  color: #64748b;
}

.zapper-center {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-grow: 1;
  min-width: 0;
}

.zapper-swipe-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: #cbd5e1;
  letter-spacing: 0.02em;
  background: #181b29;
  border: 1.5px solid #363a45;
  padding: 0.4rem 0.95rem;
  border-radius: 20px;
  box-shadow: 2px 2px 0px #000000;
  user-select: none;
}

.zapper-icon {
  font-size: 0.95rem;
  color: var(--post-accent, #ffd23f);
}

/* ==========================================================================
   POST CONTAINER & HEADER
   ========================================================================== */
.post-container {
  max-width: 824px;
  margin: 0 auto;
  padding: 2.25rem 15px 5rem 15px !important;
  box-sizing: border-box;
  overflow-x: hidden;
}

.post-card {
  background-color: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin-bottom: 2.5rem;
}

.post-header {
  padding: 0 0 1.5rem 0;
  /*
  margin-bottom: 2rem;
  border-bottom: 1px solid #282b35;
  */
}

.post-cat-badge-wrapper {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.post-cat-badge {
  display: inline-block;
  background-color: var(--post-accent, var(--nb-yellow, #ffd23f));
  color: #000000;
  font-family: var(--nb-font-display, 'Space Grotesk', system-ui, sans-serif);
  font-size: 0.8rem;
  font-weight: 900;
  padding: 0.3rem 0.75rem;
  border: 1.5px solid #000000;
  box-shadow: 2px 2px 0px #000000;
  border-radius: var(--nb-radius, 8px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-collab-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  background-color: var(--nb-lavender, #B8A9FA);
  color: #000000;
  font-family: var(--nb-font-display, 'Space Grotesk', system-ui, sans-serif);
  font-size: 0.8rem;
  font-weight: 900;
  padding: 0.3rem 0.75rem;
  border: 1.5px solid #000000;
  box-shadow: 2px 2px 0px #000000;
  border-radius: var(--nb-radius, 8px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.post-title {
  font-size: clamp(2.1rem, calc(1.475rem + 2.7vw), 3.5rem) !important;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem 0;
  color: var(--nb-mint, #55EFC4);
  font-weight: 700;
  font-family: var(--nb-font-display, 'Space Grotesk', system-ui, sans-serif);
  overflow-wrap: break-word;
}

.post-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  font-family: var(--nb-font-mono, 'Space Grotesk', monospace);
  font-size: 0.88rem;
  color: #cbd5e1;
  margin-bottom: 0;
  font-weight: 600;
}

.meta-separator {
  color: #64748b;
}

.meta-item-collab {
  color: var(--nb-lavender, #B8A9FA);
  font-weight: 800;
}

/* ==========================================================================
   ARTICLE CONTENT & TYPOGRAPHY
   ========================================================================== */
.post-card,
.post-body,
.article-content {
  overflow-wrap: break-word;
  word-wrap: break-word;
  max-width: 100%;
  font-family: var(--nb-font-body, 'Inter', system-ui, sans-serif);
  font-size: 1.125rem !important; /* 18px Option B */
  line-height: 1.72 !important;
  color: #f1f5f9;
}

.article-content p,
.article-content div,
.article-content > div {
  font-size: 1.125rem; /* 18px Option B */
  line-height: 1.72;
  margin-bottom: 1.65rem;
  color: #f1f5f9;
  overflow-wrap: break-word;
}

.article-content strong {
  color: #ffffff;
  font-weight: 800;
}

.article-content a {
  color: #bfe4ff;
  text-decoration: underline;
  text-underline-offset: 3.5px;
  text-decoration-thickness: 1.5px;
  text-decoration-color: rgba(191, 228, 255, 0.45);
  font-weight: inherit;
  overflow-wrap: anywhere;
  word-break: break-word;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.article-content a:hover {
  color: var(--nb-yellow, #ffd23f);
  text-decoration-color: var(--nb-yellow, #ffd23f);
}

.article-content figure,
.article-content .wp-caption {
  max-width: 100% !important;
  box-sizing: border-box;
}

.article-content blockquote {
  position: relative;
  margin: 2.25rem 0;
  padding: 1.25rem 1.5rem;
  background-color: #1c1e26;
  border: 2px solid #363a45;
  border-left: 8px solid var(--post-accent, var(--nb-yellow, #ffd23f));
  box-shadow: 5px 5px 0px #000000;
  border-radius: var(--nb-radius, 8px);
  font-family: var(--nb-font-display, 'Space Grotesk', system-ui, sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.55;
  color: #f1f5f9;
}

.article-content blockquote p:last-child {
  margin-bottom: 0;
}

.article-content hr {
  border: none;
  border-top: 2px dashed #363a45;
  margin: 1rem 0 2.5rem 0;
  opacity: 1;
}

.article-content code {
  font-family: var(--nb-font-mono, 'Space Grotesk', monospace);
  font-size: 0.9em;
  background-color: #1c1e26;
  color: var(--post-accent, var(--nb-yellow, #ffd23f));
  padding: 0.2em 0.45em;
  border: 1px solid #363a45;
  border-radius: 4px;
}

.article-content pre {
  background-color: #0e1015;
  border: 2px solid #363a45;
  box-shadow: 4px 4px 0px #000000;
  border-radius: var(--nb-radius, 8px);
  padding: 1.25rem 1.5rem;
  overflow-x: auto;
  margin: 2rem 0;
}

.article-content pre code {
  background-color: transparent;
  border: none;
  padding: 0;
  color: #f1f5f9;
}

.article-content img,
.article-content figure img {
  color: transparent;
  /* background-color: #12131a; */
  max-width: 100% !important;
  height: auto !important;
  border: 0px solid #363a45;
  border-radius: var(--nb-radius, 8px);
  /* box-shadow: 4px 4px 0px #000000; */
  margin: 1.5rem 0;
  display: block;
}

.article-content figure .figure-caption,
.article-content figcaption,
.article-content .wp-caption-text,
.figure-caption {
  font-size: 0.8rem !important;
  color: var(--nb-text-dim, #94a3b8) !important;
  line-height: 1.45;
  margin-top: 0.5rem;
}

.article-content ul,
.article-content ol {
  font-size: 1.125rem; /* 18px Option B */
  margin: 1.25rem 0 1.75rem 1.75rem;
  padding: 0;
  line-height: 1.72;
  color: #f1f5f9;
}

.article-content li {
  margin-bottom: 0.6rem;
}

/* ==========================================================================
   AUTHOR / MANIFESTO BOX (NEOBRUTALISM)
   ========================================================================== */
.author-box {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  background-color: #1c1e26;
  border: 2px solid #363a45;
  border-left: 6px solid #64748b;
  box-shadow: 5px 5px 0px #000000;
  border-radius: var(--nb-radius, 12px);
  padding: 1.75rem 2rem;
  margin: 0 0 2.5rem 0;
  text-align: left;
}

.author-box-tandem {
  border-left: 6px solid var(--nb-lavender, #B8A9FA);
}

.author-avatars-dual {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.author-avatar-link {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.author-avatar-link:hover {
  transform: translate(-2px, -2px);
}

/* Solo Box Avatar: Square with rounded corners, larger on desktop */
.author-box:not(.author-box-tandem) .author-avatar-img {
  width: 6.5rem;
  height: 6.5rem;
  border-radius: var(--nb-radius, 10px);
  border: 2px solid #363a45;
  box-shadow: 3px 3px 0px #000000;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Tandem Box Avatars: Square with rounded corners */
.author-box-tandem .author-avatar-img {
  width: 5.25rem;
  height: 5.25rem;
  border-radius: var(--nb-radius, 8px);
  border: 2px solid #363a45;
  box-shadow: 3px 3px 0px #000000;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.author-avatar-ai {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.ai-avatar-gemini {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.25rem;
  height: 5.25rem;
  border-radius: var(--nb-radius, 8px);
  border: 2px solid #8b5cf6;
  box-shadow: 3px 3px 0px #000000;
  background: linear-gradient(135deg, #150f2e 0%, #2e1065 50%, #083344 100%);
}

.avatar-role-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  font-family: var(--nb-font-display, 'Space Grotesk', system-ui, sans-serif);
  font-size: 0.65rem;
  font-weight: 900;
  padding: 1px 6px;
  border: 1.5px solid #000000;
  border-radius: 4px;
  box-shadow: 1px 1px 0px #000000;
  line-height: 1.2;
}

.badge-hi {
  background-color: var(--nb-yellow, #ffd23f);
  color: #000000;
}

.badge-ki {
  background-color: var(--nb-cyan, #00e5ff);
  color: #000000;
}

.avatar-collab-spark {
  font-size: 1.35rem;
  color: var(--nb-yellow, #ffd23f);
  font-weight: 900;
}

.author-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
}

.author-collab-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--nb-font-display, 'Space Grotesk', system-ui, sans-serif);
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--nb-yellow, #ffd23f);
  background-color: rgba(255, 230, 0, 0.08);
  border: 1px solid rgba(255, 230, 0, 0.25);
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.author-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0 0 1rem 0;
  text-align: left;
}

.author-text strong {
  color: #ffffff;
}

.author-links-dual,
.author-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.25rem;
}

.author-story-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--nb-font-display, 'Space Grotesk', system-ui, sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.5rem 1.15rem;
  background-color: #242834 !important;
  border: 1.5px solid #363a45 !important;
  border-radius: var(--nb-radius, 8px) !important;
  box-shadow: 2px 2px 0px #000000 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.author-story-btn:hover {
  transform: translate(-1px, -1px) !important;
  box-shadow: 3px 3px 0px #000000 !important;
  background-color: #2e3342 !important;
  border-color: var(--nb-yellow, #ffd23f) !important;
  color: #ffffff !important;
}

.author-scotty-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--nb-font-display, 'Space Grotesk', system-ui, sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.5rem 1.15rem;
  background-color: rgba(0, 229, 255, 0.12) !important;
  border: 1.5px solid var(--nb-cyan, #00e5ff) !important;
  border-radius: var(--nb-radius, 8px) !important;
  box-shadow: 2px 2px 0px #000000 !important;
  color: var(--nb-cyan, #00e5ff) !important;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.author-scotty-btn:hover {
  transform: translate(-1px, -1px) !important;
  box-shadow: 3px 3px 0px #000000 !important;
  background-color: var(--nb-cyan, #00e5ff) !important;
  color: #000000 !important;
}

/* ==========================================================================
   POST BOTTOM NAV
   ========================================================================== */
.post-bottom-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 2px solid #282b35;
  margin-bottom: 2.5rem;
}

.post-bottom-nav .nb-btn {
  background-color: #1c1e26 !important;
  color: #ffffff !important;
  border: 2px solid #363a45 !important;
  box-shadow: 3px 3px 0px #000000 !important;
}

.post-bottom-nav .nb-btn:hover {
  border-color: var(--nb-yellow, #ffd23f) !important;
  color: var(--nb-yellow, #ffd23f) !important;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px #000000 !important;
}

.nb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  background-color: var(--nb-yellow, #ffd23f);
  color: #000000 !important;
  font-family: var(--nb-font-display, 'Space Grotesk', system-ui, sans-serif);
  font-weight: 800;
  font-size: 0.95rem;
  border: 2px solid #000000;
  box-shadow: 4px 4px 0px #000000;
  border-radius: var(--nb-radius, 8px);
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nb-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px #000000;
}

.nb-btn-outline {
  background-color: #1c1e26;
  color: #f1f5f9 !important;
  border-color: #363a45;
}

.nb-btn-outline:hover {
  border-color: #ffffff;
  color: #ffffff !important;
}

/* ==========================================================================
   TABLET & MOBILE RESPONSIVE POLISH
   ========================================================================== */
@media (max-width: 1024px) {
  .featured-image-hero {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .featured-image-inner {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .soupaflow-picture-wrap {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
  }

  .featured-image {
    max-height: none !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    border-radius: 0 !important;
    border-bottom: 3.5px solid #000000 !important;
    box-shadow: 0 4px 0 var(--post-accent, var(--nb-yellow, #ffd23f)) !important;
    width: 100% !important;
    display: block;
  }

  .article-zapper-top {
    max-width: 824px;
    margin: 1.15rem auto 0 auto;
    padding: 0 15px;
  }

  .post-container {
    padding-top: 1.25rem !important;
  }
}

@media (max-width: 768px) {
  .author-box {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1.25rem !important;
    padding: 1.5rem 1.25rem !important;
    margin: 0 0 2rem 0 !important;
    text-align: left !important;
  }

  .author-avatars-dual {
    justify-content: flex-start !important;
  }

  .author-box:not(.author-box-tandem) .author-avatar-img {
    width: 6.5rem !important;
    height: 6.5rem !important;
    border-radius: var(--nb-radius, 8px) !important;
  }

  .author-box-tandem .author-avatar-img,
  .author-box-tandem .ai-avatar-gemini {
    width: 4.75rem !important;
    height: 4.75rem !important;
    border-radius: var(--nb-radius, 8px) !important;
  }

  .author-details {
    width: 100% !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  .author-text {
    text-align: left !important;
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
  }

  .author-links-dual,
  .author-links {
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
    gap: 0.65rem !important;
    margin-top: 0.5rem !important;
    justify-content: flex-start !important;
  }

  .author-story-btn,
  .author-scotty-btn {
    align-self: flex-start !important;
    text-align: left !important;
    width: auto !important;
  }
}


/* ==========================================================================
   NeoBrutalism Interactive Gallery & Lightbox Modal (SSG Port)
   ========================================================================== */

/* Scoped to gallery and modal only */
.nb-gallery-container,
.gallery-lightbox-modal {
  --nb-gal-pink: #ff2a85;
  --nb-gal-yellow: #ffd23f;
  --nb-gal-cyan: #00f0ff;
  --nb-gal-border: #363a45;
  --nb-gal-radius: 12px;
}

.nb-gallery-container {
  margin: 1rem 0 2.5rem 0;
  padding: 0;
  background-color: transparent;
  border: none;
  box-shadow: none;
}

.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px dashed #363a45;
}

.gallery-header .nb-badge {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #000;
  padding: 0.35rem 0.75rem;
  border: 2px solid #000;
  border-radius: 4px;
  box-shadow: 2px 2px 0px #000;
  background-color: #ff2a85;
}

.gallery-hint {
  font-family: var(--nb-font-mono, 'Space Grotesk', monospace);
  font-size: 0.8rem;
  color: #94a3b8;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gallery-item {
  margin: 0;
  display: flex;
  flex-direction: column;
  background-color: #111;
  border: 2px solid #22252e;
  box-shadow: 3px 3px 0px #000;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px #ff2a85;
  border-color: #ff2a85;
}

.gallery-thumb-btn {
  all: unset;
  display: block;
  cursor: pointer;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: transparent;
  width: 100%;
}

.gallery-thumb-img {
  width: 100%;
  height: 100% !important;
  min-height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.gallery-thumb-btn:hover .gallery-thumb-img {
  transform: scale(1.05);
}

.gallery-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gallery-thumb-btn:hover .gallery-hover-overlay {
  opacity: 1;
}

.zoom-icon {
  font-size: 1.25rem;
  background: #ffd23f;
  border: 2px solid #000;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 2px 2px 0px #000;
}

/* LIGHTBOX DIALOG */
.gallery-lightbox-modal {
  padding: 0;
  border: 3px solid #000;
  border-radius: 12px;
  box-shadow: 8px 8px 0px #000;
  width: 95vw;
  max-width: 1100px;
  max-height: 94vh;
  background: #0d0d0d;
  color: #fff;
  position: fixed;
  inset: 0;
  margin: auto;
  z-index: 99999;
}

.gallery-lightbox-modal::backdrop {
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(5px);
}

.lightbox-content {
  position: relative;
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  min-height: 80vh;
}

.lightbox-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.lightbox-counter {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: #050505;
  background: #ffd23f;
  border: 2px solid #000;
  padding: 0.25rem 0.75rem;
  box-shadow: 2px 2px 0px #000;
}

.lightbox-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lightbox-btn {
  text-decoration: none;
  background: #ff2a85;
  color: #000 !important;
  border: 2px solid #000;
  box-shadow: 2px 2px 0px #000;
  font-size: 1.25rem;
  font-weight: 900;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 0;
  padding: 0;
}

.lightbox-open-btn {
  background: #00f0ff;
  font-size: 1.35rem;
}

.lightbox-btn:hover {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px #000;
}

.lightbox-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  user-select: none;
  touch-action: pan-y;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #242426;
  color: #ffd23f;
  border: 2px solid #3e3e42;
  box-shadow: 4px 4px 0px #000;
  width: 52px;
  height: 52px;
  font-size: 2.2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.lightbox-nav-btn:hover {
  background: #ffd23f;
  color: #050505;
  border-color: #000;
  transform: translateY(-50%) translate(2px, 2px);
  box-shadow: 2px 2px 0px #000;
}

.lightbox-nav-btn.prev {
  left: 0.5rem;
}

.lightbox-nav-btn.next {
  right: 0.5rem;
}

.lightbox-nav-btn span {
  line-height: 1;
  margin-top: -4px;
}

.lightbox-img-wrapper {
  max-width: 85%;
  max-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border: 3px solid #222;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  transition: opacity 0.15s ease;
}

.lightbox-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid #333;
}

.lightbox-caption {
  margin: 0;
  font-family: var(--nb-font-mono, 'Space Grotesk', monospace);
  font-size: 0.9rem;
  color: #f3f3f3;
}

.lightbox-nav-hint {
  font-family: var(--nb-font-mono, 'Space Grotesk', monospace);
  font-size: 0.75rem;
  color: #888;
}

@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  .lightbox-nav-btn {
    width: 42px;
    height: 42px;
    font-size: 1.6rem;
  }
  .lightbox-img-wrapper {
    max-width: 95%;
  }
  .lightbox-nav-hint {
    display: none;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

/* ==============================================================================
   SOUPAFLOW NEOBRUTALIST AUDIO PLAYER
   ============================================================================== */
.soupaflow-audio-player {
  background-color: #12131a;
  border: 2px solid #000000;
  border-radius: 8px;
  box-shadow: 4px 4px 0px #000000;
  padding: 1.1rem 1.25rem;
  margin: 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 100%;
}

.audio-player-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.audio-player-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--nb-font-display, 'Space Grotesk', sans-serif);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--nb-yellow, #ffd23f);
}

.audio-badge {
  background-color: var(--nb-yellow, #ffd23f);
  color: #000000;
  font-family: var(--nb-font-display, sans-serif);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  border: 1.5px solid #000000;
  box-shadow: 1.5px 1.5px 0px #000000;
  text-transform: uppercase;
}

.audio-player-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.audio-play-btn {
  width: 38px;
  height: 38px;
  min-width: 38px;
  background-color: var(--nb-yellow, #ffd23f);
  color: #000000;
  border: 2px solid #000000;
  border-radius: 4px;
  box-shadow: 2px 2px 0px #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.15s ease;
  user-select: none;
}

.audio-play-btn:hover {
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px #000000;
  background-color: #fff033;
}

.audio-play-btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0px #000000;
}

.audio-play-btn .play-icon {
  margin-left: 2px;
  line-height: 1;
}

.audio-play-btn.is-playing .play-icon {
  margin-left: 0;
  font-size: 0.85rem;
  letter-spacing: -1px;
}

.audio-progress-container {
  flex: 1;
  height: 24px;
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}

.audio-progress-bar {
  width: 100%;
  height: 6px;
  background-color: #262c3d;
  border-radius: 3px;
  position: relative;
  overflow: visible;
}

.audio-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--nb-yellow, #ffd23f), #ffaa00);
  border-radius: 3px;
  pointer-events: none;
}

.audio-progress-handle {
  position: absolute;
  top: 50%;
  left: 0%;
  width: 14px;
  height: 14px;
  background-color: #ffffff;
  border: 2px solid #000000;
  border-radius: 50%;
  box-shadow: 1.5px 1.5px 0px #000000;
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: transform 0.1s ease;
}

.audio-progress-container:hover .audio-progress-handle {
  transform: translate(-50%, -50%) scale(1.2);
  background-color: var(--nb-yellow, #ffd23f);
}

.audio-time-display {
  font-family: var(--nb-font-mono, 'Space Grotesk', monospace);
  font-size: 0.82rem;
  font-weight: 700;
  color: #94a3b8;
  white-space: nowrap;
}

/* KI SPOTLIGHT COMPONENT */
.ki-spotlight-box {
  margin: 3.5rem 0 2.5rem 0;
  background-color: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.ki-spotlight-header {
  border-top: 3px solid var(--nb-yellow, #ffd23f);
  padding: 1.5rem 0 0 0;
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
}

.ki-badge-wrap {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.ki-badge-wrap .nb-badge,
.article-content .nb-badge,
.article-content span.nb-badge {
  display: inline-block;
  background-color: var(--nb-yellow, #ffd23f);
  color: #000000 !important;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border: 2px solid #000000;
  box-shadow: 2px 2px 0px #000000;
  border-radius: 4px;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.ki-badge-wrap .nb-badge,
.ki-spotlight-header .nb-badge,
.article-content .nb-badge {
  display: inline-block !important;
  background-color: var(--nb-yellow, #ffd23f) !important;
  color: #000000 !important;
  font-weight: 800 !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.05em !important;
  padding: 0.25rem 0.65rem !important;
  border-radius: 3px !important;
  border: 1.5px solid #000000 !important;
  box-shadow: 2px 2px 0px #000000 !important;
  margin-top: 1.5rem !important;
  margin-bottom: 0.75rem !important;
  text-transform: uppercase !important;
}

.ki-badge-wrap .nb-badge,
.ki-spotlight-header .nb-badge {
  margin-top: 0 !important;
}

.article-content .ki-spotlight-title,
.ki-spotlight-title {
  font-size: clamp(1.4rem, 3vw, 1.85rem) !important;
  font-family: var(--nb-font-display, Syne, sans-serif) !important;
  font-weight: 900 !important;
  line-height: 1.25 !important;
  margin: 0.5rem 0 0.5rem 0 !important;
  color: var(--nb-yellow, #ffd23f) !important;
}

.article-content .ki-spotlight-desc,
.ki-spotlight-desc {
  font-size: 1.05rem !important;
  line-height: 1.6 !important;
  color: #94a3b8 !important;
  margin: 0 0 1.5rem 0 !important;
}

.ki-article-list,
.soupaflow-ki-posts-feed {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.65rem !important;
  margin-top: 1.25rem !important;
  margin-bottom: 2.5rem !important;
}

.article-content .ki-article-item,
.ki-article-item {
  display: flex !important;
  align-items: center !important;
  gap: 1.15rem !important;
  background-color: #1c1e26 !important;
  border: 2px solid #363a45 !important;
  box-shadow: 3px 3px 0px #000000 !important;
  border-radius: var(--nb-radius, 4px) !important;
  padding: 0.9rem 1.25rem !important;
  margin-bottom: 0.65rem !important;
  text-decoration: none !important;
  color: #f1f5f9 !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease !important;
}

.article-content .ki-article-item:hover,
.ki-article-item:hover {
  transform: translate(-2px, -2px) !important;
  box-shadow: 5px 5px 0px #000000 !important;
  background-color: #252833 !important;
  border-color: var(--nb-yellow, #ffd23f) !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

.ki-num {
  font-family: var(--nb-font-mono, monospace);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--nb-yellow, #ffd23f);
  min-width: 1.8rem;
}

.ki-title {
  font-family: var(--nb-font-display, Syne, sans-serif);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.45;
  flex-grow: 1;
  text-align: left;
  color: #f1f5f9;
  transition: color 0.15s ease;
}

.ki-article-item:hover .ki-title {
  color: #ffffff !important;
}

.ki-arrow {
  font-weight: 900;
  font-size: 1.15rem;
  color: #64748b;
  transition: transform 0.15s ease, color 0.15s ease;
}

.ki-article-item:hover .ki-arrow {
  transform: translateX(4px);
  color: var(--nb-yellow, #ffd23f);
}

/* ==========================================================================
   NEOBRUTALISM SHARE BUTTONS (TEILEN-BUTTONS)
   ========================================================================== */
.post-share-row {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 2.75rem 0 2rem 0;
  padding: 1.25rem 1.5rem;
  background-color: #161822;
  border: 2px solid #2e3240;
  border-radius: var(--nb-radius, 8px);
  box-shadow: 4px 4px 0px #000000;
}

.share-label {
  font-family: var(--nb-font-display, Syne, sans-serif);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nb-yellow, #ffd23f);
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.share-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.4rem !important;
  padding: 0.48rem 0.95rem !important;
  font-family: var(--nb-font-display, Syne, sans-serif) !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border-radius: 4px !important;
  border: 2px solid #000000 !important;
  box-shadow: 2.5px 2.5px 0px #000000 !important;
  color: #000000 !important;
  cursor: pointer !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease !important;
}

.share-btn:hover {
  transform: translate(-2px, -2px) !important;
  box-shadow: 4px 4px 0px #000000 !important;
  filter: brightness(1.1) !important;
  color: #000000 !important;
  text-decoration: none !important;
}

.share-btn:active {
  transform: translate(1px, 1px) !important;
  box-shadow: 1px 1px 0px #000000 !important;
}

.share-linkedin {
  background-color: #0a66c2 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
}
.share-linkedin:hover {
  color: #ffffff !important;
}

.share-x {
  background-color: #ffffff !important;
  color: #000000 !important;
  border-color: #000000 !important;
}

.share-whatsapp {
  background-color: #25d366 !important;
  color: #000000 !important;
  border-color: #000000 !important;
}

.share-telegram {
  background-color: #229ed9 !important;
  color: #ffffff !important;
  border-color: #000000 !important;
}
.share-telegram:hover {
  color: #ffffff !important;
}

.share-mail {
  background-color: var(--nb-yellow, #ffd23f) !important;
  color: #000000 !important;
  border-color: #000000 !important;
}

/* ==========================================================================
   AUTHOR / MANIFESTO BOX (NEOBRUTALISM)
   ========================================================================== */
.author-box {
  display: flex;
  align-items: flex-start;
  gap: 1.75rem;
  background-color: #1c1e26;
  border: 2px solid #363a45;
  border-left: 6px solid #64748b;
  box-shadow: 5px 5px 0px #000000;
  border-radius: var(--nb-radius, 12px);
  padding: 1.75rem 2rem;
  margin: 0 0 2.5rem 0;
  text-align: left;
}

.author-box-tandem {
  border-left: 6px solid var(--nb-lavender, #B8A9FA);
}

.author-avatars-dual {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.author-avatar-link {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  transition: transform 0.15s ease;
}

.author-avatar-link:hover {
  transform: translate(-2px, -2px);
}

/* Solo Box Avatar: Square with rounded corners, larger on desktop */
.author-box:not(.author-box-tandem) .author-avatar-img {
  width: 6.5rem;
  height: 6.5rem;
  border-radius: var(--nb-radius, 10px);
  border: 2px solid #363a45;
  box-shadow: 3px 3px 0px #000000;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Tandem Box Avatars: Square with rounded corners */
.author-box-tandem .author-avatar-img {
  width: 5.25rem;
  height: 5.25rem;
  border-radius: var(--nb-radius, 8px);
  border: 2px solid #363a45;
  box-shadow: 3px 3px 0px #000000;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.author-avatar-ai {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.ai-avatar-gemini {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5.25rem;
  height: 5.25rem;
  border-radius: var(--nb-radius, 8px);
  border: 2px solid #8b5cf6;
  box-shadow: 3px 3px 0px #000000;
  background: linear-gradient(135deg, #150f2e 0%, #2e1065 50%, #083344 100%);
}

.avatar-role-badge {
  position: absolute;
  bottom: -4px;
  right: -4px;
  font-family: var(--nb-font-display, 'Space Grotesk', system-ui, sans-serif);
  font-size: 0.65rem;
  font-weight: 900;
  padding: 1px 6px;
  border: 1.5px solid #000000;
  border-radius: 4px;
  box-shadow: 1px 1px 0px #000000;
  line-height: 1.2;
}

.badge-hi {
  background-color: var(--nb-yellow, #ffd23f);
  color: #000000;
}

.badge-ki {
  background-color: var(--nb-cyan, #00e5ff);
  color: #000000;
}

.avatar-collab-spark {
  font-size: 1.35rem;
  color: var(--nb-yellow, #ffd23f);
  font-weight: 900;
}

.author-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: 100%;
}

.author-collab-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--nb-font-display, 'Space Grotesk', system-ui, sans-serif);
  font-size: 0.75rem;
  font-weight: 900;
  color: var(--nb-yellow, #ffd23f);
  background-color: rgba(255, 230, 0, 0.08);
  border: 1px solid rgba(255, 230, 0, 0.25);
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.author-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #cbd5e1;
  margin: 0 0 1rem 0;
  text-align: left;
}

.author-text strong {
  color: #ffffff;
}

.author-links-dual,
.author-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 0.25rem;
}

.author-story-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--nb-font-display, 'Space Grotesk', system-ui, sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.5rem 1.15rem;
  background-color: #242834 !important;
  border: 1.5px solid #363a45 !important;
  border-radius: var(--nb-radius, 8px) !important;
  box-shadow: 2px 2px 0px #000000 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.author-story-btn:hover {
  transform: translate(-1px, -1px) !important;
  box-shadow: 3px 3px 0px #000000 !important;
  background-color: #2e3342 !important;
  border-color: var(--nb-yellow, #ffd23f) !important;
  color: #ffffff !important;
}

.author-scotty-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--nb-font-display, 'Space Grotesk', system-ui, sans-serif);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 0.5rem 1.15rem;
  background-color: rgba(0, 229, 255, 0.12) !important;
  border: 1.5px solid var(--nb-cyan, #00e5ff) !important;
  border-radius: var(--nb-radius, 8px) !important;
  box-shadow: 2px 2px 0px #000000 !important;
  color: var(--nb-cyan, #00e5ff) !important;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.author-scotty-btn:hover {
  transform: translate(-1px, -1px) !important;
  box-shadow: 3px 3px 0px #000000 !important;
  background-color: var(--nb-cyan, #00e5ff) !important;
  color: #000000 !important;
}

/* ==========================================================================
   POST BOTTOM NAV
   ========================================================================== */
.post-bottom-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 2px solid #282b35;
  margin-bottom: 2.5rem;
}

.post-bottom-nav .nb-btn {
  background-color: #1c1e26 !important;
  color: #ffffff !important;
  border: 2px solid #363a45 !important;
  box-shadow: 3px 3px 0px #000000 !important;
}

.post-bottom-nav .nb-btn:hover {
  border-color: var(--nb-yellow, #ffd23f) !important;
  color: var(--nb-yellow, #ffd23f) !important;
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0px #000000 !important;
}

.nb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  background-color: var(--nb-yellow, #ffd23f);
  color: #000000 !important;
  font-family: var(--nb-font-display, 'Space Grotesk', system-ui, sans-serif);
  font-weight: 800;
  font-size: 0.95rem;
  border: 2px solid #000000;
  box-shadow: 4px 4px 0px #000000;
  border-radius: var(--nb-radius, 8px);
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.nb-btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0px #000000;
}

.nb-btn-outline {
  background-color: #1c1e26;
  color: #f1f5f9 !important;
  border-color: #363a45;
}

.nb-btn-outline:hover {
  border-color: #ffffff;
  color: #ffffff !important;
}

/* ==========================================================================
   TABLET & MOBILE RESPONSIVE POLISH
   ========================================================================== */
@media (max-width: 1024px) {
  .featured-image-hero {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .featured-image-inner {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .featured-image {
    max-height: none !important;
    border: none !important;
    border-radius: 0 !important;
    border-bottom: 3.5px solid #000000 !important;
    box-shadow: 0 4px 0 var(--nb-yellow, #ffd23f) !important;
    width: 100% !important;
    display: block;
  }

  .article-zapper-top {
    max-width: 824px;
    margin: 1.15rem auto 0 auto;
    padding: 0 15px;
  }

  .post-container {
    padding-top: 1.5rem;
  }
}

@media (max-width: 768px) {
  .author-box {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1.25rem !important;
    padding: 1.5rem 1.25rem !important;
    margin: 0 0 2rem 0 !important;
    text-align: left !important;
  }

  .author-avatars-dual {
    justify-content: flex-start !important;
  }

  .author-box:not(.author-box-tandem) .author-avatar-img {
    width: 6.5rem !important;
    height: 6.5rem !important;
    border-radius: var(--nb-radius, 8px) !important;
  }

  .author-box-tandem .author-avatar-img,
  .author-box-tandem .ai-avatar-gemini {
    width: 4.75rem !important;
    height: 4.75rem !important;
    border-radius: var(--nb-radius, 8px) !important;
  }

  .author-details {
    width: 100% !important;
    align-items: flex-start !important;
    text-align: left !important;
  }

  .author-text {
    text-align: left !important;
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
  }

  .author-links-dual,
  .author-links {
    flex-direction: column !important;
    align-items: flex-start !important;
    width: 100% !important;
    gap: 0.65rem !important;
    margin-top: 0.5rem !important;
    justify-content: flex-start !important;
  }

  .author-story-btn,
  .author-scotty-btn {
    align-self: flex-start !important;
    text-align: left !important;
    width: auto !important;
  }
}
