/* =============================================================================
   Content pages — blog (editorial) & case studies (showcase)
   ============================================================================= */

body.content-page {
  padding-top: 88px;
  background-color: var(--background-color, #0b1120);
}

/* Match homepage header/footer visibility on subpages */
body.content-page .header {
  --background-color: rgba(11, 17, 32, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

body.content-page .footer {
  background-color: var(--background-color, #0b1120);
  border-top: 1px solid var(--glass-border, rgba(255, 255, 255, 0.1));
}

body.content-page .footer .footer-top {
  padding-top: 50px;
  padding-bottom: 20px;
}

body.content-page .scroll-progress-circle {
  z-index: 996;
}

body.blog-page {
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(6, 182, 212, 0.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(99, 102, 241, 0.12), transparent 50%),
    var(--background-color, #0b1120);
}

body.case-studies-page {
  background:
    radial-gradient(ellipse 70% 45% at 85% -5%, rgba(139, 92, 246, 0.18), transparent 55%),
    radial-gradient(ellipse 55% 35% at 5% 40%, rgba(99, 102, 241, 0.1), transparent 50%),
    var(--background-color, #0b1120);
}

.scrolled .header {
  --background-color: rgba(11, 17, 32, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- Shared --- */
.content-page-hero {
  padding: 2.75rem 0 1.75rem;
  position: relative;
  overflow: hidden;
}

.content-page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #f9fafb 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.content-page-hero .lead {
  color: rgba(255, 255, 255, 0.68);
  max-width: 36rem;
  font-size: 1.1rem;
  line-height: 1.65;
}

.content-breadcrumb {
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
}

.content-breadcrumb a {
  color: var(--accent-highlight, #06b6d4);
  text-decoration: none;
}

.content-breadcrumb a:hover {
  text-decoration: underline;
}

.blog-hero__mesh,
.case-hero__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.6;
}

.blog-hero__mesh {
  background: radial-gradient(circle at 70% 30%, rgba(6, 182, 212, 0.15), transparent 40%);
}

.case-hero__mesh {
  background: radial-gradient(circle at 25% 60%, rgba(139, 92, 246, 0.2), transparent 45%);
}

.blog-page .blog-hero h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.blog-page .blog-hero .lead {
  font-size: 0.9rem;
  max-width: 36rem;
  text-align: justify;
}

.blog-hero__eyebrow,
.case-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-highlight, #06b6d4);
  margin-bottom: 0.75rem;
}

.case-hero__eyebrow {
  color: var(--accent-secondary, #8b5cf6);
}

/* =============================================================================
   BLOG — compact card feed
   ============================================================================= */
.blog-feed {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-bottom: 3rem;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
}

.blog-feed__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-feed__label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
}

.blog-feed__count {
  font-size: 0.72rem;
  color: rgba(6, 182, 212, 0.85);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  width: 100%;
}


/* Compact vertical blog card (matches multi-card grid cells) */
.blog-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.22s ease, background 0.22s ease, transform 0.22s ease;
  animation: blog-card-in 0.45s ease backwards;
  animation-delay: calc(var(--blog-card-i, 0) * 0.06s);
}

@keyframes blog-card-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-card:hover {
  color: inherit;
  background: rgba(6, 182, 212, 0.05);
  border-color: rgba(6, 182, 212, 0.28);
  transform: translateY(-2px);
}

.blog-card--lead {
  border-color: rgba(6, 182, 212, 0.22);
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.06), rgba(99, 102, 241, 0.04));
}

.blog-card__media {
  flex-shrink: 0;
  width: 100%;
  border-radius: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 0;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.blog-card:hover .blog-card__media img {
  transform: scale(1.04);
}

.blog-card__media--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: rgba(6, 182, 212, 0.35);
}

.blog-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 0.9rem 1rem 1rem;
  gap: 0.3rem;
}

.blog-card__meta {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.48);
  text-transform: capitalize;
}

.blog-card__meta-sep {
  margin: 0 0.35rem;
  opacity: 0.6;
}

.blog-card__title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  color: #f3f4f6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.blog-card:hover .blog-card__title {
  color: #67e8f9;
}

.blog-card__excerpt {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  text-align: justify;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card .blog-tags--compact {
  margin-top: 0.15rem;
  gap: 0.3rem;
}

.blog-card .blog-tag {
  font-size: 0.62rem;
  padding: 0.12rem 0.45rem;
}

.blog-card__cta {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #67e8f9;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.blog-card__cta i {
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.blog-card:hover .blog-card__cta i {
  transform: translateX(3px);
}

@media (max-width: 991.98px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card__title {
    font-size: 0.84rem;
  }
}

.blog-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.12);
  color: #67e8f9;
  border: 1px solid rgba(6, 182, 212, 0.35);
  margin-bottom: 0.75rem;
}

.blog-pill--sm {
  font-size: 0.65rem;
  padding: 0.25rem 0.55rem;
  margin-bottom: 0.5rem;
}

.blog-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.blog-tag {
  font-size: 0.78rem;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Featured hero article */
.blog-featured {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(6, 182, 212, 0.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.blog-featured:hover {
  color: inherit;
  border-color: rgba(6, 182, 212, 0.45);
  box-shadow: 0 32px 70px rgba(6, 182, 212, 0.12), 0 0 0 1px rgba(6, 182, 212, 0.15) inset;
  transform: translateY(-3px);
}

.blog-featured__badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(6, 182, 212, 0.9);
  color: #0b1120;
}

.blog-featured__badge--latest {
  background: rgba(99, 102, 241, 0.9);
  color: #fff;
}

.blog-featured__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
}

.blog-featured__content {
  padding: 2.5rem 2rem 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-featured__title {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.blog-featured__subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.75rem;
}

.blog-featured__excerpt {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-featured__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.blog-featured__meta i {
  margin-right: 0.35rem;
  color: var(--accent-highlight, #06b6d4);
}

.blog-featured__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #67e8f9;
}

.blog-featured__visual {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.blog-featured__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-featured:hover .blog-featured__visual img {
  transform: scale(1.04);
}

.blog-featured__visual--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, rgba(6, 182, 212, 0.15), rgba(99, 102, 241, 0.1));
  font-size: 4rem;
  color: rgba(6, 182, 212, 0.4);
}

.blog-featured__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.08) 50%, transparent 60%);
  pointer-events: none;
}

/* Article list rows */
.blog-list__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-list__heading {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.blog-list__count {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.blog-item {
  display: grid;
  grid-template-columns: 120px 1fr 140px 40px;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem 1.25rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, padding-left 0.25s ease;
  animation: blog-item-in 0.5s ease backwards;
  animation-delay: calc(var(--blog-item-i, 0) * 0.07s);
}

@keyframes blog-item-in {
  from {
    opacity: 0;
    transform: translateX(-12px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.blog-item:hover {
  color: inherit;
  background: rgba(6, 182, 212, 0.04);
  border-left-color: var(--accent-highlight, #06b6d4);
  padding-left: 1.5rem;
}

.blog-item__date {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.blog-item__day {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.3;
}

.blog-item__read {
  font-size: 0.72rem;
  color: rgba(6, 182, 212, 0.8);
}

.blog-item__title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.blog-item:hover .blog-item__title {
  color: #67e8f9;
}

.blog-item__excerpt {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.58);
  margin: 0;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-item__thumb {
  width: 140px;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.blog-item:hover .blog-item__thumb img {
  transform: scale(1.06);
}

.blog-item__thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.2);
}

.blog-item__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.5);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.blog-item:hover .blog-item__arrow {
  background: rgba(6, 182, 212, 0.2);
  color: #67e8f9;
  transform: translate(2px, -2px);
}

/* Blog skeleton */
.blog-skeleton--featured {
  height: 320px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.blog-skeleton--row {
  height: 100px;
  border-radius: 12px;
  margin-bottom: 0.75rem;
}

.blog-skeleton,
.case-skeleton {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.04) 25%,
    rgba(255, 255, 255, 0.09) 50%,
    rgba(255, 255, 255, 0.04) 75%
  );
  background-size: 200% 100%;
  animation: content-shimmer 1.2s infinite;
}

/* =============================================================================
   CASE STUDIES — alternating showcase
   ============================================================================= */
.case-feed {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  padding-bottom: 4.5rem;
}

.case-row {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: 24px;
  animation: case-row-in 0.6s ease backwards;
  animation-delay: calc(var(--case-row-i, 0) * 0.1s);
}

@keyframes case-row-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.case-row__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  min-height: 380px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(139, 92, 246, 0.18);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.4);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.case-row:hover {
  color: inherit;
}

.case-row:hover .case-row__inner {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 36px 80px rgba(139, 92, 246, 0.15);
  transform: translateY(-4px);
}

.case-row--reverse .case-row__inner {
  direction: rtl;
}

.case-row--reverse .case-row__inner > * {
  direction: ltr;
}

.case-row--featured .case-row__inner {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 32px 72px rgba(99, 102, 241, 0.12);
}

.case-row__ribbon {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 3;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: #fff;
}

.case-row__media {
  position: relative;
  min-height: 320px;
  overflow: hidden;
}

.case-row__media img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.case-row:hover .case-row__media img {
  transform: scale(1.05);
}

.case-row__media-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 17, 32, 0.85) 0%, transparent 45%);
  pointer-events: none;
}

.case-row--reverse .case-row__media-glow {
  background: linear-gradient(270deg, rgba(11, 17, 32, 0.85) 0%, transparent 45%);
}

.case-row__media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  background: linear-gradient(145deg, rgba(139, 92, 246, 0.2), rgba(99, 102, 241, 0.08));
  font-size: 4.5rem;
  color: rgba(139, 92, 246, 0.35);
}

.case-row__content {
  padding: 2.5rem 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-row__labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.case-chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.35rem 0.7rem;
  border-radius: 8px;
  background: rgba(139, 92, 246, 0.15);
  color: #c4b5fd;
  border: 1px solid rgba(139, 92, 246, 0.25);
  text-transform: capitalize;
}

.case-chip--client {
  background: rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  border-color: rgba(99, 102, 241, 0.35);
}

.case-chip i {
  margin-right: 0.25rem;
}

.case-row__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.case-row__tagline {
  font-size: 1rem;
  color: #a5b4fc;
  margin-bottom: 0.85rem;
  font-weight: 500;
}

.case-row__excerpt {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 1rem;
}

.case-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.case-stack__item {
  font-size: 0.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.case-row__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 1rem;
}

.case-row__role i {
  color: var(--accent-secondary, #8b5cf6);
  margin-right: 0.3rem;
}

.case-metric-preview {
  display: inline-flex;
  flex-direction: column;
  align-self: flex-start;
  padding: 0.75rem 1.1rem;
  border-radius: 12px;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
  margin-bottom: 1.25rem;
}

.case-metric-preview__value {
  font-size: 1.15rem;
  font-weight: 700;
  color: #e0e7ff;
}

.case-metric-preview__label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.case-row__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #c4b5fd;
  margin-top: auto;
  transition: gap 0.25s ease;
}

.case-row:hover .case-row__cta {
  gap: 0.85rem;
  color: #e9d5ff;
}

.case-skeleton--row {
  height: 380px;
  border-radius: 24px;
  margin-bottom: 2rem;
}

/* =============================================================================
   Detail pages — blog article & case study
   ============================================================================= */
.content-detail-section {
  padding-top: 0.5rem;
  padding-bottom: 4rem;
}

.content-detail-section .container-xl {
  max-width: 1140px;
}

.content-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
}

.content-breadcrumb__sep {
  color: rgba(255, 255, 255, 0.35);
}

.content-breadcrumb__current {
  color: rgba(255, 255, 255, 0.55);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.content-breadcrumb--on-hero {
  position: relative;
  z-index: 3;
  margin-bottom: 1rem;
}

.content-breadcrumb--on-hero a {
  color: #67e8f9;
}

.detail-meta-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.detail-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-chip--category {
  background: rgba(6, 182, 212, 0.12);
  color: #67e8f9;
  border-color: rgba(6, 182, 212, 0.35);
}

.detail-chip--client {
  background: rgba(99, 102, 241, 0.15);
  color: #a5b4fc;
  border-color: rgba(99, 102, 241, 0.3);
}

.detail-chip i {
  opacity: 0.85;
}

/* --- Blog detail hero --- */
.blog-detail-hero {
  margin: 1rem 0 2.5rem;
  padding: 2rem;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(6, 182, 212, 0.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.blog-detail-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.blog-detail-hero__title {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.12;
  margin: 0.5rem 0 0.75rem;
  background: linear-gradient(135deg, #f9fafb 0%, #67e8f9 55%, #a5b4fc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.blog-detail-hero__subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
  margin: 0;
}

.blog-detail-hero__media {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.blog-detail-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-detail-hero__frame {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.blog-detail-hero__media--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, rgba(6, 182, 212, 0.2), rgba(99, 102, 241, 0.12));
  font-size: 3.5rem;
  color: rgba(6, 182, 212, 0.45);
}

/* --- Case study immersive hero --- */
.case-detail-hero {
  position: relative;
  margin: 1rem 0 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.25);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}

.case-detail-hero__media {
  position: relative;
  max-height: 420px;
  overflow: hidden;
}

.case-detail-hero__media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.case-detail-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(11, 17, 32, 0.15) 0%,
    rgba(11, 17, 32, 0.55) 55%,
    rgba(11, 17, 32, 0.95) 100%
  );
  pointer-events: none;
}

.case-detail-hero--no-media .case-detail-hero__mesh {
  min-height: 200px;
  background:
    radial-gradient(ellipse 70% 80% at 20% 50%, rgba(139, 92, 246, 0.35), transparent 55%),
    radial-gradient(ellipse 60% 60% at 80% 30%, rgba(99, 102, 241, 0.25), transparent 50%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.04), transparent);
}

.case-detail-hero__content {
  position: relative;
  z-index: 2;
  padding: 2rem 2.25rem 2.25rem;
  margin-top: -4rem;
}

.case-detail-hero--no-media .case-detail-hero__content {
  margin-top: 0;
  padding-top: 2.5rem;
}

.case-detail-hero__title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0.75rem 0 0.5rem;
  background: linear-gradient(135deg, #f9fafb, #c4b5fd 60%, #67e8f9);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.case-detail-hero__tagline {
  font-size: 1.15rem;
  color: #a5b4fc;
  font-weight: 500;
  margin: 0 0 0.25rem;
  max-width: 40rem;
}

.case-detail-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin: 1.75rem 0 1.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.case-detail-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.case-detail-toolbar__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Narrative grid */
.case-narrative {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.case-narrative__card {
  position: relative;
  padding: 1.75rem 1.75rem 1.75rem 1.5rem;
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid rgba(139, 92, 246, 0.2);
  animation: case-narrative-in 0.5s ease backwards;
  animation-delay: calc(var(--narrative-i, 0) * 0.08s);
}

@keyframes case-narrative-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.case-narrative__card--wide {
  grid-column: 1 / -1;
  border-color: rgba(99, 102, 241, 0.3);
}

.case-narrative__icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.2);
  color: #c4b5fd;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.case-narrative__step {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.2);
}

.case-narrative__title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c4b5fd;
  margin-bottom: 0.65rem;
}

.case-narrative__text {
  font-size: 0.98rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

/* Layout: main + aside */
.content-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 2.5rem;
  align-items: start;
}

.content-prose-card {
  padding: 2rem 2.25rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.content-prose-card--case {
  margin: 2rem 0;
}

.content-prose-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-highlight, #06b6d4);
  margin-bottom: 1.25rem;
}

.case-detail-page .content-prose-card__label {
  color: #c4b5fd;
}

.content-detail-aside {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.content-detail-aside__card {
  padding: 1.35rem 1.25rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.content-detail-aside__card--author {
  text-align: center;
}

.content-detail-aside__avatar {
  font-size: 2.75rem;
  color: rgba(6, 182, 212, 0.65);
  margin-bottom: 0.5rem;
}

.content-detail-aside__label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 0.25rem;
}

.content-detail-aside__name {
  font-size: 1rem;
  font-weight: 600;
  color: #f3f4f6;
  margin: 0;
}

.content-detail-aside__hint {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0.35rem 0 0;
}

.content-detail-aside__heading {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.content-detail-aside .content-tags {
  margin: 0;
}

.content-related-card {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.08), rgba(99, 102, 241, 0.06));
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.case-detail .content-related-card {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(99, 102, 241, 0.06));
  border-color: rgba(139, 92, 246, 0.25);
}

.content-related-card__title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.content-related-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.content-related-card__list li + li {
  margin-top: 0.65rem;
}

.content-related-card__list a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #67e8f9;
  text-decoration: none;
  font-weight: 500;
  transition: gap 0.2s ease;
}

.case-detail .content-related-card__list a {
  color: #c4b5fd;
}

.content-related-card__list a::after {
  content: "→";
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.content-related-card__list a:hover {
  text-decoration: none;
  gap: 0.65rem;
}

.content-related-card__list a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

.content-detail-footer {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.content-detail-back {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  transition: color 0.2s ease, gap 0.2s ease;
}

.content-detail-back:hover {
  color: #67e8f9;
  gap: 1rem;
}

.case-detail .content-detail-back:hover {
  color: #c4b5fd;
}

.content-detail-back__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 1.2rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.content-detail-back:hover .content-detail-back__icon {
  background: rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.35);
}

.case-detail .content-detail-back:hover .content-detail-back__icon {
  background: rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.4);
}

.case-testimonial {
  margin: 2.5rem 0;
  padding: 2rem 2.25rem 2rem 2rem;
  border-radius: 20px;
  border-left: 4px solid #8b5cf6;
  background: linear-gradient(120deg, rgba(139, 92, 246, 0.12), rgba(99, 102, 241, 0.05));
  position: relative;
}

.case-testimonial__mark {
  font-size: 2rem;
  color: rgba(139, 92, 246, 0.5);
  margin-bottom: 0.75rem;
  display: block;
}

.case-testimonial__quote {
  font-size: 1.15rem;
  line-height: 1.7;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1rem;
}

.case-testimonial__author {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
}

.case-detail-tags {
  margin: 1.5rem 0;
}

.content-detail-meta {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.content-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.75rem 0 1.5rem;
}

.content-tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.15);
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(99, 102, 241, 0.25);
}

.content-prose {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
  font-size: 1.05rem;
}

.content-prose h2,
.content-prose h3 {
  margin-top: 2.25rem;
  margin-bottom: 0.85rem;
  color: #f3f4f6;
  scroll-margin-top: 100px;
}

.content-prose h2:first-child {
  margin-top: 0;
}

.content-prose p {
  margin-bottom: 1.15rem;
}

.content-prose ul,
.content-prose ol {
  margin-bottom: 1.15rem;
  padding-left: 1.5rem;
}

.content-prose a {
  color: var(--accent-highlight, #06b6d4);
}

.case-detail-page .content-prose a {
  color: #c4b5fd;
}

.content-prose code {
  background: rgba(0, 0, 0, 0.4);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
}

.content-prose pre {
  background: rgba(0, 0, 0, 0.45);
  padding: 1.25rem;
  border-radius: 12px;
  overflow-x: auto;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.content-block {
  margin-bottom: 2rem;
  padding: 1.5rem 1.75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  max-width: 52rem;
}

.case-detail-page .content-block {
  border-left: 3px solid var(--accent-secondary, #8b5cf6);
}

.content-block h2 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.65rem;
  color: var(--accent-highlight, #06b6d4);
}

.case-detail-page .content-block h2 {
  color: #c4b5fd;
}

.content-block p {
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
  margin: 0;
}

.content-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin: 0 0 0.5rem;
}

.content-metric {
  padding: 1.25rem 1rem;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(139, 92, 246, 0.25);
  text-align: center;
}

.content-metric-value {
  font-size: 1.25rem;
  font-weight: 700;
  display: block;
  color: #e0e7ff;
}

.content-metric-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.content-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0;
}

.content-gallery--detail {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.content-gallery--detail figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.content-gallery--detail figure:hover {
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.12);
}

.content-gallery img {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 4/3;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.content-gallery--detail img {
  border-radius: 0;
  border: none;
  aspect-ratio: 16/10;
}

.content-gallery--detail figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.content-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 1.5rem;
}

.content-actions .btn-primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border: none;
}

.content-related {
  margin-top: 3rem;
  padding: 1.75rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.content-related h2 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.content-related ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.content-related li + li {
  margin-top: 0.5rem;
}

.content-related a {
  color: var(--accent-highlight, #06b6d4);
  text-decoration: none;
}

.content-related a:hover {
  text-decoration: underline;
}

.content-state {
  padding: 3rem 0;
  text-align: center;
}

.content-state-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.content-state-text {
  color: rgba(255, 255, 255, 0.65);
}

@keyframes content-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* --- Blog detail: compact, justified reading --- */
.blog-detail-page .blog-detail-hero {
  margin: 0.75rem 0 1.5rem;
  padding: 1.25rem 1.35rem;
}

.blog-detail-page .blog-detail-hero__title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.2;
  margin: 0.35rem 0 0.5rem;
}

.blog-detail-page .blog-detail-hero__subtitle {
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: justify;
}

.blog-detail-page .detail-meta-chips {
  gap: 0.4rem;
}

.blog-detail-page .detail-chip {
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
}

.blog-detail-page .content-prose-card {
  padding: 1.15rem 1.25rem;
}

.blog-detail-page .content-prose {
  font-size: 0.8125rem;
  line-height: 1.65;
  text-align: justify;
  hyphens: auto;
}

.blog-detail-page .content-prose h2 {
  font-size: 1.05rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  text-align: left;
}

.blog-detail-page .content-prose h3 {
  font-size: 0.9375rem;
  margin-top: 1.15rem;
  margin-bottom: 0.4rem;
  text-align: left;
}

.blog-detail-page .content-prose p,
.blog-detail-page .content-prose li {
  text-align: justify;
}

.blog-detail-page .content-prose p {
  margin-bottom: 0.75rem;
}

.blog-detail-page .content-prose ul,
.blog-detail-page .content-prose ol {
  margin-bottom: 0.75rem;
  padding-left: 1.15rem;
  font-size: 0.8125rem;
}

.blog-detail-page .content-prose table {
  font-size: 0.75rem;
  line-height: 1.45;
}

.blog-detail-page .content-prose th,
.blog-detail-page .content-prose td {
  padding: 0.4rem 0.5rem;
  text-align: left;
  vertical-align: top;
}

.blog-detail-page .content-prose blockquote {
  font-size: 0.8rem;
  margin: 0.75rem 0;
  padding: 0.5rem 0.85rem;
  text-align: justify;
}

.blog-detail-page .content-prose code {
  font-size: 0.78em;
}

.blog-detail-page .content-prose pre {
  font-size: 0.75rem;
  padding: 0.85rem;
  margin-bottom: 0.85rem;
}

.blog-detail-page .content-detail-aside__name {
  font-size: 0.875rem;
}

.blog-detail-page .content-detail-aside__hint,
.blog-detail-page .content-detail-aside__label,
.blog-detail-page .content-detail-aside__heading {
  font-size: 0.7rem;
}

.blog-detail-page .content-tag {
  font-size: 0.68rem;
}

.blog-detail-page .content-related-card,
.blog-detail-page .content-detail-footer {
  font-size: 0.8125rem;
}

.blog-detail-page .content-breadcrumb {
  font-size: 0.75rem;
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
  .blog-detail-hero__grid {
    grid-template-columns: 1fr;
  }

  .blog-detail-hero__media {
    order: -1;
  }

  .content-detail-layout {
    grid-template-columns: 1fr;
  }

  .content-detail-aside {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .content-detail-aside__card {
    flex: 1 1 200px;
  }

  .case-narrative {
    grid-template-columns: 1fr;
  }

  .case-detail-hero__content {
    margin-top: -2rem;
  }

  .case-detail-hero__media img {
    height: 280px;
  }

  .blog-featured__grid {
    grid-template-columns: 1fr;
  }

  .blog-featured__visual {
    min-height: 220px;
    order: -1;
  }

  .blog-featured__content {
    padding: 2rem 1.5rem;
  }

  .blog-item {
    grid-template-columns: 1fr 100px 36px;
    grid-template-rows: auto auto;
    gap: 1rem;
  }

  .blog-item__date {
    grid-column: 1 / -1;
    flex-direction: row;
    gap: 1rem;
  }

  .blog-item__main {
    grid-column: 1 / 2;
  }

  .blog-item__thumb {
    grid-column: 2 / 3;
    grid-row: 2;
    width: 100px;
    height: 72px;
  }

  .blog-item__arrow {
    grid-column: 3 / 4;
    grid-row: 2;
  }

  .case-row__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .case-row--reverse .case-row__inner {
    direction: ltr;
  }

  .case-row__media img {
    min-height: 240px;
  }

  .case-row__media--placeholder {
    min-height: 240px;
  }

  .case-row__content {
    padding: 2rem 1.5rem;
  }

  .case-row__media-glow {
    background: linear-gradient(180deg, transparent 50%, rgba(11, 17, 32, 0.9) 100%);
  }
}

@media (max-width: 575.98px) {
  .blog-item {
    grid-template-columns: 1fr 36px;
    padding: 1.25rem 0.75rem;
  }

  .blog-item__thumb {
    display: none;
  }

  .case-row__ribbon {
    font-size: 0.62rem;
    top: 0.75rem;
    right: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .blog-skeleton,
  .case-skeleton,
  .blog-item,
  .case-row,
  .case-narrative__card {
    animation: none;
  }

  .blog-featured:hover,
  .case-row:hover .case-row__inner,
  .blog-item:hover {
    transform: none;
  }

  .blog-featured:hover .blog-featured__visual img,
  .case-row:hover .case-row__media img,
  .blog-item:hover .blog-item__thumb img {
    transform: none;
  }
}
