/* Our Work — case study detail (NHP theme) */
.page-our-work-detail {
  margin: 0;
  background: #f6f8fb;
}

.owd {
  background: #f6f8fb;
}

.owd-hero {
  position: relative;
  min-height: min(70vh, 560px);
  display: flex;
  flex-direction: column;
  color: #fff;
  overflow: hidden;
}

.owd-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.owd-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.owd-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.15) 40%, rgba(20, 4, 12, 0.78) 100%),
    linear-gradient(120deg, rgba(64, 7, 32, 0.65) 0%, transparent 55%);
}

.owd-hero .lp-nav {
  position: relative;
  z-index: 2;
}

.owd-hero__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 40px 0 56px;
  max-width: 900px;
}

.owd-crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.owd-crumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

.owd-crumb a:hover {
  text-decoration: underline;
}

.owd-hero__badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  background: linear-gradient(180deg, #a61153 0%, #400720 100%);
  color: #fff;
}

.owd-hero__badge--green {
  background: linear-gradient(180deg, #1f9d55 0%, #0d4a2a 100%);
}

.owd-hero__inner h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 600;
  letter-spacing: -1.8px;
  line-height: 1.12;
}

.owd-hero__sub {
  margin: 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 17px;
  line-height: 1.55;
}

.owd-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: -36px;
  position: relative;
  z-index: 3;
  margin-bottom: 56px;
}

.owd-meta__item {
  background: #fff;
  border-radius: 18px;
  padding: 18px 16px;
  border: 1px solid rgba(15, 44, 36, 0.08);
  box-shadow: 0 16px 36px rgba(15, 44, 36, 0.08);
}

.owd-meta__item span {
  display: block;
  color: #a61153;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.owd-meta__item strong {
  display: block;
  color: #0f2c24;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.owd-section {
  padding: 0 0 72px;
}

.owd-section h2 {
  margin: 0 0 16px;
  color: #0f2c24;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -1px;
  line-height: 1.2;
}

.owd-section p {
  margin: 0 0 14px;
  color: #14382e;
  font-size: 17px;
  line-height: 1.7;
  max-width: 720px;
}

.owd-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 40px;
  align-items: start;
}

.owd-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.owd-list li {
  position: relative;
  padding: 14px 16px 14px 44px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(15, 44, 36, 0.08);
  color: #14382e;
  font-size: 15px;
  line-height: 1.45;
}

.owd-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #a61153;
}

.owd-panel {
  background: #fff;
  border-radius: 24px;
  padding: 28px 26px;
  border: 1px solid rgba(15, 44, 36, 0.08);
}

.owd-panel h3 {
  margin: 0 0 14px;
  color: #0f2c24;
  font-size: 20px;
  font-weight: 600;
}

.owd-video {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #111;
  margin-bottom: 56px;
  box-shadow: 0 24px 50px rgba(15, 44, 36, 0.14);
}

.owd-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.owd-quote {
  margin: 0 0 72px;
  padding: 36px 32px;
  border-radius: 28px;
  background: linear-gradient(145deg, #400720 0%, #a61153 75%);
  color: #fff;
}

.owd-quote p {
  margin: 0 0 18px;
  max-width: none;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
  font-style: italic;
}

.owd-quote cite {
  display: block;
  font-style: normal;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.owd-results {
  background: #fff;
  border-radius: 24px;
  padding: 32px 28px;
  border: 1px solid rgba(15, 44, 36, 0.08);
  margin-bottom: 72px;
}

.owd-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 36px 32px;
  border-radius: 28px;
  margin-bottom: 80px;
  background:
    linear-gradient(120deg, rgba(15, 44, 36, 0.92), rgba(64, 7, 32, 0.9)),
    #1a0610;
  color: #fff;
}

.owd-cta h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: clamp(22px, 2.6vw, 30px);
}

.owd-cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  max-width: none;
}

.owd-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.owd-related h2 {
  margin-bottom: 24px;
}

.owd-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 80px;
}

.owd-related__card {
  display: block;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(15, 44, 36, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.owd-related__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(15, 44, 36, 0.1);
}

.owd-related__card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
}

.owd-related__card div {
  padding: 16px 16px 18px;
}

.owd-related__card span {
  display: inline-block;
  margin-bottom: 8px;
  color: #a61153;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.owd-related__card p {
  margin: 0;
  max-width: none;
  color: #0f2c24;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .owd-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .owd-split,
  .owd-related__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .owd-meta {
    grid-template-columns: 1fr;
    margin-top: -24px;
  }

  .owd-hero {
    min-height: 480px;
  }
}
