/* ==========================================================================
   UNIFIED ARTICLE & PROJECT STYLES
   Loaded on is_single() — covers single.php & single-project.php
   ========================================================================== */

/* ──────────────────────────────────────────────────────────────────
   1. PROJECT HERO — Full-width immersive header
   ────────────────────────────────────────────────────────────── */

.sp-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  background: var(--hero-img, linear-gradient(135deg, #0f172a, #1e3a5f)) center / cover no-repeat;
  overflow: hidden;
}

.sp-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.95) 0%,
    rgba(15, 23, 42, 0.5) 40%,
    rgba(15, 23, 42, 0.15) 100%
  );
  z-index: 1;
}

.sp-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 32px 70px;
}

.sp-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  background: var(--badge-color, var(--primary));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  margin-bottom: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.sp-hero__badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.sp-hero__title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 24px;
  text-wrap: balance;
  max-width: 850px;
}

.sp-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
}

.sp-hero__meta i {
  margin-right: 4px;
}

.sp-hero__sep {
  opacity: 0.4;
}


/* ──────────────────────────────────────────────────────────────────
   2. ARTICLE BODY — Content typography (shared with single.php)
   ────────────────────────────────────────────────────────────── */

.sp-article {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.sp-article__body {
  max-width: 780px;
  margin: 60px auto;
  font-size: 1.125rem;
  line-height: 1.85;
  color: #334155;
}

/* Headings */
.sp-article__body h2,
.sp-article__body h3,
.sp-article__body h4 {
  color: var(--text-main);
  margin: 2.5em 0 0.8em;
  font-weight: 800;
  line-height: 1.25;
  text-wrap: pretty;
}

.sp-article__body h2 { font-size: 1.75rem; }
.sp-article__body h3 { font-size: 1.4rem; }
.sp-article__body h4 { font-size: 1.15rem; }

/* Paragraphs */
.sp-article__body p {
  margin: 0 0 1.5em;
}

/* Links */
.sp-article__body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.sp-article__body a:hover {
  color: var(--primary-dark);
}

/* Images & Figures */
.sp-article__body figure {
  margin: 2.5em 0;
}

.sp-article__body figure img,
.sp-article__body > img {
  border-radius: 16px;
  width: 100%;
  height: auto;
  display: block;
}

.sp-article__body figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 12px;
  font-style: italic;
}

/* Wide alignment support */
.sp-article__body .alignwide {
  margin-left: -80px;
  margin-right: -80px;
  max-width: calc(100% + 160px);
}

.sp-article__body .alignfull {
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  max-width: 100vw;
  width: 100vw;
}

@media (max-width: 960px) {
  .sp-article__body .alignwide {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }
}

/* Blockquotes */
.sp-article__body blockquote,
.sp-article__body .wp-block-quote {
  margin: 2.5em 0;
  padding: 28px 32px;
  border-left: 4px solid var(--primary);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(37, 99, 235, 0.01));
  border-radius: 0 16px 16px 0;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-main);
}

.sp-article__body blockquote p:last-child { margin-bottom: 0; }

/* Pull quote */
.sp-article__body .wp-block-pullquote {
  padding: 3em 0;
  text-align: center;
  border-top: 3px solid var(--primary);
  border-bottom: 3px solid var(--primary);
  margin: 3em 0;
}

.sp-article__body .wp-block-pullquote blockquote {
  border: none;
  background: transparent;
  padding: 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Lists */
.sp-article__body ul,
.sp-article__body ol {
  margin: 0 0 1.5em;
  padding-left: 1.4em;
}

.sp-article__body li {
  margin-bottom: 0.5em;
}

.sp-article__body ul li::marker { color: var(--primary); }

/* Code & Pre */
.sp-article__body pre,
.sp-article__body .wp-block-code,
.sp-article__body .wp-block-preformatted {
  background: #0f172a;
  color: #e2e8f0;
  padding: 1.5em 2em;
  border-radius: 16px;
  overflow-x: auto;
  font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 0.9rem;
  margin: 2em 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sp-article__body code {
  background: rgba(37, 99, 235, 0.06);
  padding: 0.15em 0.45em;
  border-radius: 5px;
  color: #be185d;
  font-size: 0.88em;
}

.sp-article__body pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

/* WordPress Buttons */
.sp-article__body .wp-block-button__link {
  background: var(--primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
}

.sp-article__body .wp-block-button__link:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

/* WordPress Columns */
.sp-article__body .wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 2.5em 0;
}

.sp-article__body .wp-block-column {
  flex: 1;
  min-width: 240px;
}

/* Videos */
.sp-article__body .wp-block-embed,
.sp-article__body .wp-block-video {
  margin: 2.5em 0;
  border-radius: 16px;
  overflow: hidden;
}

.sp-article__body iframe {
  border-radius: 16px;
}


/* ──────────────────────────────────────────────────────────────────
   3. PROJECT GALLERY
   ────────────────────────────────────────────────────────────── */

.sp-gallery {
  max-width: 780px;
  margin: 0 auto 60px;
}

.sp-gallery__title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text-main);
}

.sp-gallery__title i {
  color: var(--primary);
  margin-right: 10px;
}

.sp-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.sp-gallery__item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: block;
}

.sp-gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sp-gallery__hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.5);
  color: #fff;
  font-size: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sp-gallery__item:hover .sp-gallery__img {
  transform: scale(1.08);
}

.sp-gallery__item:hover .sp-gallery__hover {
  opacity: 1;
}


/* ──────────────────────────────────────────────────────────────────
   4. IMMERSIVE NAVIGATION (Prev / Next)
   ────────────────────────────────────────────────────────────── */

.sp-nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px 60px;
}

.sp-nav__grid {
  display: grid;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  position: relative;
}

.sp-nav__grid--2 { grid-template-columns: 1fr 1fr; min-height: 320px; }
.sp-nav__grid--1 { grid-template-columns: 1fr; min-height: 260px; }

.sp-nav__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 40px;
  text-decoration: none;
  overflow: hidden;
  color: #fff;
  background: #1e293b;
}

.sp-nav__card--prev { align-items: flex-start; text-align: left; }
.sp-nav__card--next { align-items: flex-end; text-align: right; }

.sp-nav__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 1;
}

.sp-nav__dim {
  position: absolute;
  inset: 0;
  z-index: 2;
  transition: background 0.4s ease;
}

.sp-nav__card--prev .sp-nav__dim {
  background: linear-gradient(to right, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.4));
}

.sp-nav__card--next .sp-nav__dim {
  background: linear-gradient(to left, rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.4));
}

.sp-nav__inner {
  position: relative;
  z-index: 3;
  max-width: 75%;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sp-nav__card:hover .sp-nav__bg { transform: scale(1.06); }
.sp-nav__card:hover .sp-nav__dim { background: rgba(15, 23, 42, 0.6); }
.sp-nav__card--prev:hover .sp-nav__inner { transform: translateX(8px); }
.sp-nav__card--next:hover .sp-nav__inner { transform: translateX(-8px); }

.sp-nav__dir {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 12px;
  display: block;
}

.sp-nav__name {
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 800;
  margin: 0;
  line-height: 1.25;
}

/* Center floating button */
.sp-nav__center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.sp-nav__all {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1.3rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
}

.sp-nav__all:hover {
  background: #fff;
  color: var(--primary);
  transform: scale(1.12);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}


/* ──────────────────────────────────────────────────────────────────
   5. RELATED PROJECTS
   ────────────────────────────────────────────────────────────── */

.sp-related {
  background: #f8fafc;
  padding: 80px 0;
}

.sp-related__wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

.sp-related__heading {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 48px;
  color: var(--text-main);
}

.sp-related__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}

.sp-related__card {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.sp-related__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
}

.sp-related__link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sp-related__thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.sp-related__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sp-related__card:hover .sp-related__img {
  transform: scale(1.05);
}

.sp-related__info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.sp-related__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 16px;
  line-height: 1.4;
}

.sp-related__more {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.sp-related__card:hover .sp-related__more {
  gap: 10px;
}


/* ──────────────────────────────────────────────────────────────────
   6. BLOG ARTICLE HEADER (single.php)
   ────────────────────────────────────────────────────────────── */

.ph-article-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 32px;
}

.ph-article-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.ph-article-categories { margin-bottom: 20px; }

.ph-cat-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.ph-cat-badge:hover {
  background: var(--primary);
  color: #fff;
}

.ph-article-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-main);
  margin-bottom: 28px;
  text-wrap: balance;
}

.ph-article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.ph-meta-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ph-author-avatar {
  border-radius: 50%;
  width: 44px;
  height: 44px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.ph-author-name strong { color: var(--text-main); }
.ph-meta-separator { opacity: 0.4; }

.ph-article-readtime {
  font-weight: 600;
  color: var(--primary);
}

/* Featured image */
.ph-article-featured-image {
  margin: 0 0 48px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.ph-article-featured-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 65vh;
}


/* ──────────────────────────────────────────────────────────────────
   7. SHARED ARTICLE CONTENT (Gutenberg blocks)
   ────────────────────────────────────────────────────────────── */

.ph-article-content {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1.125rem;
  line-height: 1.85;
  color: #334155;
}

/* Inherit all the same block styles as sp-article__body */
.ph-article-content h2,
.ph-article-content h3,
.ph-article-content h4 {
  color: var(--text-main);
  margin: 2.5em 0 0.8em;
  font-weight: 800;
  text-wrap: pretty;
}

.ph-article-content h2 { font-size: 1.75rem; }
.ph-article-content h3 { font-size: 1.4rem; }
.ph-article-content h4 { font-size: 1.15rem; }

.ph-article-content p { margin: 0 0 1.5em; }

.ph-article-content figure { margin: 2.5em 0; }

.ph-article-content figure img {
  border-radius: 16px;
  width: 100%;
  height: auto;
}

.ph-article-content figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 12px;
  font-style: italic;
}

.ph-article-content blockquote,
.ph-article-content .wp-block-quote {
  margin: 2.5em 0;
  padding: 28px 32px;
  border-left: 4px solid var(--primary);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(37, 99, 235, 0.01));
  border-radius: 0 16px 16px 0;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-main);
}

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

.ph-article-content .wp-block-pullquote {
  padding: 3em 0;
  text-align: center;
  border-top: 3px solid var(--primary);
  border-bottom: 3px solid var(--primary);
  margin: 3em 0;
}

.ph-article-content .wp-block-pullquote blockquote {
  border: none;
  background: transparent;
  padding: 0;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
}

.ph-article-content ul,
.ph-article-content ol {
  margin: 0 0 1.5em;
  padding-left: 1.4em;
}

.ph-article-content li { margin-bottom: 0.5em; }
.ph-article-content ul li::marker { color: var(--primary); }

.ph-article-content pre,
.ph-article-content .wp-block-code,
.ph-article-content .wp-block-preformatted {
  background: #0f172a;
  color: #e2e8f0;
  padding: 1.5em 2em;
  border-radius: 16px;
  overflow-x: auto;
  font-family: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;
  font-size: 0.9rem;
  margin: 2em 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.ph-article-content code {
  background: rgba(37, 99, 235, 0.06);
  padding: 0.15em 0.45em;
  border-radius: 5px;
  color: #be185d;
  font-size: 0.88em;
}

.ph-article-content pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}

.ph-article-content .wp-block-button__link {
  background: var(--primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
}

.ph-article-content .wp-block-button__link:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.25);
}

.ph-article-content .wp-block-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 2.5em 0;
}

.ph-article-content .wp-block-column {
  flex: 1;
  min-width: 240px;
}

.ph-article-content .alignwide {
  margin-left: -80px;
  margin-right: -80px;
  max-width: calc(100% + 160px);
}

@media (max-width: 960px) {
  .ph-article-content .alignwide {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
  }
}


/* ──────────────────────────────────────────────────────────────────
   8. BLOG ARTICLE FOOTER & NAVIGATION
   ────────────────────────────────────────────────────────────── */

.ph-article-footer {
  max-width: 780px;
  margin: 40px auto 0;
  padding-top: 28px;
  border-top: 1px solid #e2e8f0;
}

.ph-article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ph-tag {
  background: #f1f5f9;
  color: #64748b;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ph-tag:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.ph-article-navigation {
  max-width: 780px;
  margin: 40px auto;
}

.ph-article-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.ph-article-navigation .nav-previous,
.ph-article-navigation .nav-next { flex: 1; }

.ph-article-navigation a {
  display: flex;
  flex-direction: column;
  padding: 20px;
  background: #f8fafc;
  border-radius: 16px;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.25s ease;
  height: 100%;
}

.ph-article-navigation a:hover {
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transform: translateY(-3px);
}

.ph-article-navigation .nav-subtitle {
  font-size: 0.82rem;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.ph-article-navigation .nav-title {
  font-size: 1.05rem;
  font-weight: 700;
}

.ph-article-navigation .nav-next a { text-align: right; }


/* ──────────────────────────────────────────────────────────────────
   9. RESPONSIVE
   ────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  /* Hero */
  .sp-hero {
    min-height: 55vh;
  }

  .sp-hero__content {
    padding: 40px 20px 50px;
  }

  .sp-hero__title {
    font-size: 1.8rem;
  }

  .sp-hero__meta {
    font-size: 0.85rem;
    gap: 8px 14px;
  }

  /* Article body */
  .sp-article {
    padding: 0 20px;
  }

  .sp-article__body {
    margin: 40px auto;
    font-size: 1.05rem;
  }

  /* Navigation */
  .sp-nav {
    padding: 0 20px 40px;
  }

  .sp-nav__grid--2 {
    grid-template-columns: 1fr;
  }

  .sp-nav__card {
    padding: 36px 28px;
    align-items: center !important;
    text-align: center !important;
  }

  .sp-nav__inner {
    max-width: 100%;
  }

  .sp-nav__card:hover .sp-nav__inner {
    transform: none;
  }

  /* Related */
  .sp-related {
    padding: 50px 0;
  }

  .sp-related__wrap {
    padding: 0 20px;
  }

  .sp-related__grid {
    grid-template-columns: 1fr;
  }

  /* Blog article */
  .ph-article-container {
    padding: 40px 20px;
  }

  .ph-article-title {
    font-size: 1.8rem;
  }

  .ph-article-meta {
    flex-direction: column;
    gap: 8px;
  }

  .ph-article-navigation .nav-links {
    flex-direction: column;
  }
}


/* ──────────────────────────────────────────────────────────────────
   10. BREADCRUMB
   ────────────────────────────────────────────────────────────── */

.sp-breadcrumb-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 32px 0;
}

.sp-breadcrumb-wrap .sp-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.9rem;
  color: #64748b; /* slate-500 */
}

.sp-breadcrumb-wrap .sp-breadcrumb a,
.sp-breadcrumb-wrap .sp-breadcrumb a:link,
.sp-breadcrumb-wrap .sp-breadcrumb a:visited {
  color: #64748b !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
}

.sp-breadcrumb-wrap .sp-breadcrumb a:hover {
  color: var(--primary) !important;
  text-decoration: underline !important;
}

.sp-breadcrumb-wrap .sp-breadcrumb__sep {
  color: #cbd5e1; /* slate-300 */
  font-size: 0.75rem;
  display: flex;
  align-items: center;
}

.sp-breadcrumb-wrap .sp-breadcrumb__current {
  color: #334155 !important; /* slate-700 */
  font-weight: 600;
  max-width: 250px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* ──────────────────────────────────────────────────────────────────
   11. SHARE BUTTONS
   ────────────────────────────────────────────────────────────── */

.sp-share {
  max-width: 780px;
  margin: 40px auto;
  padding-top: 28px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.sp-share__label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sp-share__buttons {
  display: flex;
  gap: 10px;
}

.sp-share__btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.sp-share__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.sp-share__btn--fb:hover {
  background: #1877f2;
  color: #fff;
  border-color: #1877f2;
}

.sp-share__btn--li:hover {
  background: #0a66c2;
  color: #fff;
  border-color: #0a66c2;
}

.sp-share__btn--mail:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.sp-share__btn--copy:hover {
  background: #10b981;
  color: #fff;
  border-color: #10b981;
}

.sp-share__btn--tw:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}


/* ──────────────────────────────────────────────────────────────────
   12. RESPONSIVE (breadcrumb & share)
   ────────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .sp-breadcrumb-wrap {
    padding: 16px 20px 0;
  }

  .sp-breadcrumb {
    font-size: 0.78rem;
  }

  .sp-breadcrumb__current {
    max-width: 180px;
  }

  .sp-share {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ──────────────────────────────────────────────────────────────────
   13. TOAST NOTIFICATION
   ────────────────────────────────────────────────────────────── */

.ph-toast {
  visibility: hidden;
  min-width: 200px;
  background-color: #bae6fd; /* Baby blue */
  color: #0369a1; /* Dark blue text */
  text-align: center;
  border-radius: 50px;
  padding: 12px 24px;
  position: fixed;
  z-index: 99999;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.3s, bottom 0.3s, visibility 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.ph-toast.show {
  visibility: visible;
  opacity: 1;
  bottom: 50px;
}
