/* blog-components.css — Shared styles for 42.uk blog template components */

/* ── Promptus Video Frame ── */
.promptus-frame {
  position: relative;
  width: 100%;
  height: 100%;
}

.promptus-frame .thumb-overlay {
  position: absolute;
  left: 15.77%;
  top: 7.61%;
  width: 84.23%;
  height: 92.39%;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
}

.promptus-frame .play-btn {
  width: 68px;
  height: 48px;
  background: rgba(33,33,33,0.8);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.promptus-frame .play-btn svg {
  fill: white;
}

.promptus-frame .video-iframe {
  position: absolute;
  left: 15.77%;
  top: 7.61%;
  width: 84.23%;
  height: 92.39%;
  display: none;
  border: 0;
  background: #000;
}

.promptus-frame .overlay {
  clip-path: polygon(0% 0%, 100% 0%, 100% 7.61%, 15.77% 7.61%, 15.77% 100%, 0% 100%);
}

.promptus-frame .link-area {
  position: absolute;
  z-index: 20;
  cursor: pointer;
}

.promptus-frame .link-area-sidebar {
  left: 0;
  top: 0;
  width: 15.77%;
  height: 100%;
}

.promptus-frame .link-area-topbar {
  left: 15.77%;
  top: 0;
  width: 84.23%;
  height: 7.61%;
}

/* ── SS Score Badge ── */
.ss-score {
  color: #fff;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: bold;
}

/* ── c* Page Counter ── */
#c42 {
  position: fixed;
  bottom: 12px;
  right: 14px;
  z-index: 9998;
  font-family: ui-monospace, Consolas, Monaco, monospace;
  font-size: 0.78em;
  color: #9be29b;
  opacity: 0.7;
  pointer-events: none;
  text-shadow: 0 0 6px rgba(0,255,153,0.3);
}

.c42-label {
  color: #00ff99;
}

/* ── View Count Badge ── */
.view-count {
  color: #fff;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: bold;
}

/* ── Browse All Articles CTA ── */
.browse-articles {
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  border-radius: 16px;
  text-align: center;
}

.browse-articles h3 {
  color: #fff;
  margin: 0 0 1rem 0;
  font-size: 1.3rem;
}

.browse-articles p {
  color: rgba(255,255,255,0.85);
  margin: 0 0 1.5rem 0;
  font-size: 0.95rem;
}

.browse-articles .cta-btn {
  display: inline-block;
  background: #fff;
  color: #4f46e5;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* ── SEO Interlink ── */
.seo-interlink {
  margin: 20px 0;
  padding: 10px;
  border-top: 1px solid #eee;
}

.seo-interlink a {
  color: #6366f1;
  font-weight: bold;
  text-decoration: none;
}

/* ── Workflow Canvas Footer Link ── */
.workflow-canvas-footer a {
  color: #a5b4fc;
  text-decoration: none;
  font-size: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Third-party View Count ── */
.tp-view-count {
  font-size: 0.8em;
  color: #6b7280;
  margin-top: 10px;
  text-align: center;
}
