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

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

.idr-blog-hero {
  position: relative;
  overflow: hidden;
  padding: 210px 0 86px;
  background:
    radial-gradient(circle at 78% 16%, rgba(240, 107, 35, 0.32), transparent 20%),
    radial-gradient(circle at 16% 78%, rgba(25, 179, 107, 0.12), transparent 18%),
    linear-gradient(90deg, rgba(8, 10, 15, 0.96) 0%, rgba(8, 10, 15, 0.9) 45%, rgba(23, 13, 6, 0.72) 100%),
    var(--idr-blog-hero-bg) center / cover no-repeat;
  color: #ffffff;
}

.idr-blog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 92px 92px;
  opacity: 0.52;
  pointer-events: none;
}

.idr-blog-hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  gap: 34px;
  align-items: end;
}

.idr-blog-hero-single .idr-blog-container {
  position: relative;
  z-index: 1;
}

.idr-blog-title {
  margin: 0 0 18px;
  font-family: "FP_Heavy", "Arial Black", sans-serif;
  font-size: clamp(42px, 5vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.idr-blog-hero-lead {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 19px;
  line-height: 1.7;
}

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

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

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

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

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

.idr-blog-featured-card {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(240px, 0.8fr);
  gap: 20px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 72px rgba(16, 19, 26, 0.22);
  backdrop-filter: blur(18px);
}

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

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

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

.idr-blog-featured-media,
.idr-blog-card-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-blog-featured-media img,
.idr-blog-card-media img,
.idr-blog-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.idr-blog-featured-media {
  min-height: 280px;
}

.idr-blog-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-blog-btn,
.idr-blog-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 900;
}

.idr-blog-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-blog-btn:hover,
.idr-blog-inline-link:hover {
  transform: translateY(-2px);
}

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

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

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

.idr-blog-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-blog-listing,
.idr-blog-post-wrap,
.idr-blog-related {
  padding: 84px 0;
}

.idr-blog-section-head {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
}

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

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

.idr-blog-card {
  display: flex;
  flex-direction: column;
  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-blog-card:hover,
.idr-blog-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-blog-card-media {
  aspect-ratio: 1.2 / 0.82;
}

.idr-blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.idr-blog-card-title {
  margin: 16px 0 10px;
  font-family: "FP_Heavy", "Arial Black", sans-serif;
  font-size: 25px;
  line-height: 1.08;
}

.idr-blog-card-excerpt {
  margin: 0;
  color: var(--idr-muted);
  font-size: 16px;
  line-height: 1.7;
}

.idr-blog-card .idr-blog-meta-line,
.idr-blog-inline-link {
  margin-top: auto;
}

.idr-blog-card .idr-blog-meta-line span,
.idr-blog-inline-link {
  color: var(--idr-muted);
}

.idr-blog-inline-link {
  margin-top: 18px;
  color: var(--idr-orange);
}

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

.idr-blog-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.idr-blog-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-blog-pagination .page-numbers.current {
  background: var(--idr-orange);
  border-color: var(--idr-orange);
  color: #ffffff;
}

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

.idr-blog-article {
  min-width: 0;
}

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

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

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

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

.idr-blog-content h2 {
  font-size: clamp(30px, 3vw, 42px);
}

.idr-blog-content h3 {
  font-size: clamp(24px, 2.3vw, 32px);
}

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

.idr-blog-content ul,
.idr-blog-content ol {
  padding-left: 1.35em;
}

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

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

.idr-blog-content blockquote {
  margin-left: 0;
  padding: 18px 22px;
  border-left: 4px solid var(--idr-orange);
  background: #f7f8fb;
  border-radius: 0 18px 18px 0;
}

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

.idr-blog-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-blog-side-card.is-cta {
  background:
    radial-gradient(circle at top right, rgba(240, 107, 35, 0.15), transparent 28%),
    #ffffff;
}

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

.idr-blog-side-card p {
  margin: 0;
  color: var(--idr-muted);
  font-size: 15px;
  line-height: 1.7;
}

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

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

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

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

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

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

.idr-reading-progress {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
}

.idr-reading-progress span {
  display: block;
  width: var(--idr-read-progress, 0%);
  height: 100%;
  background: linear-gradient(90deg, var(--idr-orange), #fff16d);
}

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

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

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

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

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

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

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

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

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

  .idr-blog-hero {
    padding: 150px 0 60px;
  }

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

  .idr-blog-title {
    font-size: 40px;
  }

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

  .idr-blog-post-wrap,
  .idr-blog-listing,
  .idr-blog-related {
    padding: 62px 0;
  }

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

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

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