/* Emdash-specific overrides — only styles that differ from the live WP theme */

/* Hide the WordPress sideNav (mobile slide-out) — we use the hamburger toggle instead */
.sideNav {
  display: none !important;
}

/* Fix body width — theme.css sets max-width:1440px, live site overrides to 100% */
body {
  max-width: 100% !important;
  width: 100% !important;
}

/* Prevent horizontal overflow from slick carousel */
html, body {
  overflow-x: hidden;
}

.testimonials-panel,
.testimonials,
.testimonials-carousel {
  overflow: hidden;
}

/* Mobile nav toggle */
.nav-primary.mobile-open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #2265a5;
  padding: 15px 0;
  z-index: 1000;
}

.nav-primary.mobile-open li a {
  padding: 10px 20px;
  display: block;
}

/* Emdash admin bar link */
.emdash-admin-link {
  position: fixed;
  bottom: 10px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.75rem;
  z-index: 9999;
  text-decoration: none;
}

/* Blog/portfolio card fallback when no featured image */
.blog-card .card-image-placeholder,
.portfolio-card .card-image-placeholder {
  height: 200px;
  background: linear-gradient(135deg, #2971b9 0%, #5956e9 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-size: 3rem;
}

/* Portable text content styling */
.entry-content p {
  margin-bottom: 1.2rem;
}

.entry-content img {
  max-width: 100%;
  height: auto;
}

.entry-content h2, .entry-content h3 {
  margin-top: 1.5rem;
}
