.idr-work-index,
.idr-work-single {
  background: #ffffff;
  color: var(--idr-ink);
  font-family: var(--idr-body);
}

.idr-work-container {
  width: min(100% - 60px, var(--idr-max));
  margin: 0 auto;
}

.idr-work-hero {
  position: relative;
  overflow: hidden;
  padding: 164px 0 52px;
  background:
    radial-gradient(circle at 76% 18%, rgba(240, 107, 35, 0.3), transparent 22%),
    radial-gradient(circle at 22% 78%, rgba(25, 179, 107, 0.1), transparent 18%),
    linear-gradient(90deg, rgba(8, 10, 15, 0.96) 0%, rgba(8, 10, 15, 0.88) 48%, rgba(23, 13, 6, 0.74) 100%),
    var(--idr-work-hero-bg) center / cover no-repeat;
  color: #ffffff;
}

.idr-work-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 92px 92px;
  opacity: 0.48;
}

.idr-work-hero-layout,
.idr-work-hero-single-layout {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
}

.idr-work-hero-layout {
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1.2fr);
  align-items: center;
}

.idr-work-hero-single-layout {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
}

.idr-work-title {
  margin: 0 0 12px;
  font-family: "FP_Heavy", "Arial Black", sans-serif;
  font-size: 48px;
  line-height: 1.05;
}

.idr-work-lead {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.55;
}

.idr-work-section-kicker,
.idr-work-side-kicker {
  margin: 0 0 10px;
  color: var(--idr-orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.idr-work-chip-row,
.idr-work-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.idr-work-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 14px;
  border: 1px solid rgba(16, 19, 26, 0.12);
  border-radius: 999px;
  background: #ffffff;
  color: var(--idr-ink);
  font-size: 13px;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.idr-work-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 107, 35, 0.3);
  color: var(--idr-orange);
}

.idr-work-chip.is-category {
  background: rgba(240, 107, 35, 0.12);
  border-color: transparent;
  color: var(--idr-orange);
}

.idr-work-meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin: 14px 0 0;
}

.idr-work-meta-line span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.idr-work-featured-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 72px rgba(16, 19, 26, 0.22);
  backdrop-filter: blur(16px);
}

.idr-work-featured-media,
.idr-work-card-media,
.idr-work-feature-media {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(240, 107, 35, 0.92), rgba(16, 19, 26, 0.78));
}

.idr-work-featured-media {
  min-height: 220px;
}

.idr-work-featured-media img,
.idr-work-card-media img,
.idr-work-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.idr-work-image-fallback {
  display: grid;
  place-items: center;
  min-height: 100%;
  padding: 28px;
  color: #ffffff;
  font-family: "FP_Heavy", "Arial Black", sans-serif;
  font-size: 24px;
  line-height: 1.1;
  text-align: center;
}

.idr-work-featured-content h2,
.idr-work-section-head h2,
.idr-work-side-card h2 {
  margin: 0 0 14px;
  font-family: "FP_Heavy", "Arial Black", sans-serif;
  line-height: 1.02;
}

.idr-work-featured-content h2 {
  font-size: clamp(28px, 3vw, 42px);
}

.idr-work-featured-content p,
.idr-work-side-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 1.7;
}

.idr-work-btn,
.idr-work-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 900;
}

.idr-work-btn {
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.idr-work-btn:hover,
.idr-work-inline-link:hover {
  transform: translateY(-2px);
}

.idr-work-btn.is-primary {
  background: var(--idr-orange);
  color: #ffffff;
  box-shadow: 0 16px 34px rgba(240, 107, 35, 0.26);
}

.idr-work-btn.is-secondary {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(16, 19, 26, 0.14);
  color: var(--idr-ink);
}

.idr-work-listing,
.idr-work-body,
.idr-work-related {
  padding: 84px 0;
}

.idr-work-section-head {
  margin-bottom: 28px;
}

.idr-work-section-head h2 {
  max-width: 880px;
  color: var(--idr-navy);
  font-size: clamp(32px, 4vw, 56px);
}

.idr-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.idr-work-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid #e5e7ec;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(16, 19, 26, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.idr-work-card:hover,
.idr-work-card:focus-within {
  transform: translateY(-4px);
  border-color: rgba(240, 107, 35, 0.22);
  background: linear-gradient(180deg, #fff8f3 0%, #ffffff 68%);
  box-shadow: 0 24px 52px rgba(240, 107, 35, 0.12);
}

.idr-work-card-media {
  aspect-ratio: 1.18 / 0.82;
}

.idr-work-card-body {
  display: grid;
  flex: 1;
  grid-template-rows: auto minmax(84px, auto) auto auto;
  align-content: start;
  gap: 18px;
  padding: 22px;
}

.idr-work-card-title {
  display: -webkit-box;
  min-height: 84px;
  margin: 0;
  overflow: hidden;
  font-family: "FP_Heavy", "Arial Black", sans-serif;
  font-size: 25px;
  line-height: 1.08;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

.idr-work-inline-link {
  margin-top: 0;
  color: var(--idr-orange);
}

.idr-work-post-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 30px;
  align-items: start;
}

.idr-work-feature-media {
  overflow: hidden;
  margin-bottom: 28px;
  border-radius: 24px;
  box-shadow: 0 20px 54px rgba(16, 19, 26, 0.1);
}

.idr-work-content {
  color: var(--idr-ink);
  font-size: 18px;
  line-height: 1.82;
}

.idr-work-content > * + * {
  margin-top: 1.15em;
}

.idr-work-content h2,
.idr-work-content h3,
.idr-work-content h4 {
  margin-bottom: 0.35em;
  color: var(--idr-navy);
  font-family: "FP_Heavy", "Arial Black", sans-serif;
  line-height: 1.08;
}

.idr-work-content p,
.idr-work-content li,
.idr-work-content blockquote {
  color: #2f3644;
}

.idr-work-content a {
  color: var(--idr-orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.idr-work-content img {
  height: auto;
  border-radius: 18px;
}

.idr-work-sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 18px;
}

.idr-work-side-card {
  padding: 24px;
  border: 1px solid #e5e7ec;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(16, 19, 26, 0.06);
}

.idr-work-side-card.is-cta {
  background:
    radial-gradient(circle at top right, rgba(240, 107, 35, 0.15), transparent 28%),
    #ffffff;
}

.idr-work-side-card h2 {
  color: var(--idr-navy);
  font-size: 30px;
}

.idr-work-side-card p {
  color: var(--idr-muted);
}

.idr-work-side-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.idr-work-side-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.idr-work-side-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid #eceff4;
}

.idr-work-side-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.idr-work-side-list span {
  color: var(--idr-muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.idr-work-side-list strong {
  color: var(--idr-ink);
  font-size: 14px;
  font-weight: 900;
  text-align: right;
}

.idr-work-pagination {
  margin-top: 36px;
}

.idr-work-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.idr-work-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #d9dee8;
  border-radius: 999px;
  background: #ffffff;
  color: var(--idr-ink);
  font-size: 14px;
  font-weight: 900;
}

.idr-work-pagination .page-numbers.current {
  background: var(--idr-orange);
  border-color: var(--idr-orange);
  color: #ffffff;
}

.idr-work-empty {
  padding: 42px;
  border: 1px solid #e5e7ec;
  border-radius: 20px;
  background: #ffffff;
}

.idr-work-empty h2 {
  margin: 0 0 10px;
  font-family: "FP_Heavy", "Arial Black", sans-serif;
  font-size: 32px;
}

.idr-work-empty p {
  margin: 0;
  color: var(--idr-muted);
  font-size: 16px;
}

.idr-work-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.idr-work-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1180px) {
  .idr-work-hero-layout,
  .idr-work-hero-single-layout,
  .idr-work-post-layout,
  .idr-work-featured-card {
    grid-template-columns: 1fr;
  }

  .idr-work-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .idr-work-sidebar {
    position: relative;
    top: auto;
  }
}

@media (max-width: 760px) {
  .idr-work-container {
    width: min(100% - 28px, var(--idr-max));
  }

  .idr-work-hero {
    padding: 132px 0 42px;
  }

  .idr-work-grid {
    grid-template-columns: 1fr;
  }

  .idr-work-card-body,
  .idr-work-side-card,
  .idr-work-featured-card {
    padding: 18px;
  }

  .idr-work-listing,
  .idr-work-body,
  .idr-work-related {
    padding: 62px 0;
  }

  .idr-work-meta-line {
    flex-direction: column;
    align-items: flex-start;
  }

  .idr-work-side-actions .idr-work-btn,
  .idr-work-btn.is-primary,
  .idr-work-btn.is-secondary {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .idr-work-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
