.pd-marketing-page-shell {
  display: grid;
}

.pd-marketing-shell-card {
  padding: 28px;
}

.pd-marketing-page {
  max-width: none;
  margin: 0;
  padding: 0;
  color: var(--nala-text, #10213a);
  font-family: inherit;
  display: grid;
  gap: 28px;
}

.pd-marketing-page a {
  color: var(--nala-accent-2, #1f5eff);
}

.pd-marketing-hero {
  background: linear-gradient(135deg, rgba(15, 138, 116, 0.1) 0%, rgba(31, 94, 255, 0.12) 100%);
  border: 1px solid var(--nala-border, #d6deee);
  border-radius: 28px;
  padding: 32px;
  box-shadow: 0 18px 40px rgba(22, 43, 82, 0.08);
}

.pd-marketing-kicker {
  margin: 0 0 12px;
  color: var(--nala-accent-2, #1f5eff);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pd-marketing-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
}

.pd-marketing-subtitle,
.pd-marketing-summary p,
.pd-marketing-section p {
  font-size: 1.05rem;
  line-height: 1.75;
}

.pd-marketing-meta,
.pd-marketing-actions,
.pd-marketing-media,
.pd-marketing-figure-grid,
.pd-marketing-related-grid {
  display: grid;
  gap: 16px;
}

.pd-marketing-meta {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.pd-marketing-meta li,
.pd-marketing-media-card,
.pd-marketing-figure,
.pd-marketing-related-card {
  background: #fff;
  border: 1px solid var(--nala-border, #d6deee);
  border-radius: 18px;
  padding: 16px 18px;
}

.pd-marketing-actions {
  grid-template-columns: repeat(auto-fit, minmax(220px, max-content));
  margin-top: 24px;
}

.pd-marketing-cta,
.pd-marketing-share {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
}

.pd-marketing-cta {
  background: var(--nala-text, #10213a);
  color: #fff;
}

.pd-marketing-share {
  background: rgba(31, 94, 255, 0.12);
  color: var(--nala-text, #153266);
}

.pd-marketing-section,
.pd-marketing-summary {
  margin-top: 28px;
}

.pd-marketing-section h2,
.pd-marketing-summary h2 {
  font-size: 1.4rem;
  line-height: 1.2;
  margin-bottom: 12px;
  color: var(--nala-text, #10213a);
}

/* Process Paper Workflow Progress UI */
.stage {
  padding: 10px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  text-align: center;
  background: #f9f9f9;
  transition: all 0.3s ease;
}

.stage.active {
  border-color: #0073aa;
  background: #f0f7fc;
  transform: scale(1.05);
}

.stage.completed {
  border-color: #46b450;
  background: #f0f9f0;
}

.stage.failed {
  border-color: #dc3232;
  background: #fef0f0;
}

#progress-panel h4 {
  margin-top: 0;
  color: #10213a;
}

#progress-bar {
  width: 100%;
  height: 20px;
  border-radius: 10px;
  border: 1px solid #ccc;
  background: #f0f0f0;
  overflow: hidden;
}

#progress-bar::-webkit-progress-bar {
  background: #f0f0f0;
}

#progress-bar::-webkit-progress-value {
  background: linear-gradient(90deg, #0073aa, #00a0d2);
  transition: width 0.5s ease;
}

#progress-bar::-moz-progress-bar {
  background: linear-gradient(90deg, #0073aa, #00a0d2);
}

#status-text {
  margin: 10px 0 0;
  font-weight: 500;
  color: #23282d;
}

/* Button disabled state */
#btn-process-paper:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#btn-process-paper .dashicons {
  margin-right: 4px;
}
.pd-marketing-media-card h2 {
  margin-top: 0;
  font-size: 1.45rem;
}

.pd-marketing-media {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pd-marketing-figure-grid,
.pd-marketing-related-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.pd-marketing-related-card {
  color: var(--nala-text, #153266);
  text-decoration: none;
  font-weight: 600;
}

.pd-marketing-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #dce8f6;
  margin: 10px 0 12px;
}

@media (max-width: 640px) {
  .pd-marketing-shell-card {
    padding: 20px;
  }

  .pd-marketing-hero {
    padding: 22px;
    border-radius: 22px;
  }
}

/* Video Hero Section */
.pd-marketing-video-hero {
  margin: 32px 0;
  background: linear-gradient(135deg, #10213a 0%, #1a365d 100%);
  border-radius: 28px;
  padding: 32px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.pd-marketing-video-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at top right, rgba(31, 95, 255, 0.15), transparent 40%);
  pointer-events: none;
}

.pd-video-player-container {
  position: relative;
  margin-bottom: 24px;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}

.pd-marketing-video {
  width: 100%;
  height: 100%;
  display: block;
}

.pd-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(16, 33, 58, 0.85);
  cursor: pointer;
  opacity: 1;
  transition: opacity 200ms ease;
}

.pd-video-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.pd-video-play-button {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 150ms ease, background 150ms ease;
  padding: 0;
  margin-bottom: 16px;
}

.pd-video-play-button:hover {
  transform: scale(1.05);
  background: rgba(31, 95, 255, 0.3);
}

.pd-video-play-icon {
  font-size: 32px;
  line-height: 1;
  margin-left: 6px;
  color: #fff;
}

.pd-video-overlay-text {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
}

.pd-video-meta h2 {
  color: #fff;
  margin: 0 0 12px;
  font-size: 1.8rem;
}

.pd-video-meta p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .pd-marketing-video-hero {
    padding: 24px;
    margin: 24px 0;
  }
  
  .pd-video-play-button {
    width: 60px;
    height: 60px;
  }
  
  .pd-video-play-icon {
    font-size: 24px;
  }
  
  .pd-video-meta h2 {
    font-size: 1.5rem;
  }
}
