:root {
  --blog-bg: #080808;
  --blog-bg-subtle: #0e0e0e;
  --blog-surface: rgba(255, 255, 255, 0.03);
  --blog-surface-elevated: rgba(255, 255, 255, 0.055);
  --blog-border: rgba(255, 255, 255, 0.07);
  --blog-border-strong: rgba(255, 255, 255, 0.14);
  --blog-text-primary: #f0eeec;
  --blog-text-secondary: rgba(255, 255, 255, 0.55);
  --blog-text-muted: rgba(255, 255, 255, 0.3);
  --blog-accent: #c8102e;
  --blog-accent-hover: #e0132f;
  --blog-accent-glow: rgba(200, 16, 46, 0.25);
  --blog-glass-bg: rgba(255, 255, 255, 0.035);
  --blog-glass-border: rgba(255, 255, 255, 0.08);
  --blog-glass-blur: 24px;
  --blog-radius-lg: 20px;
  --blog-radius-md: 12px;
  --blog-radius-sm: 8px;
  --blog-ease: cubic-bezier(0.2, 0, 0, 1);
  --blog-transition: 0.35s var(--blog-ease);
  --blog-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  --blog-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.5);
}

html[data-theme="light"] {
  --blog-bg: #f6f4f1;
  --blog-bg-subtle: #edeae6;
  --blog-surface: #ffffff;
  --blog-surface-elevated: #fafaf8;
  --blog-border: rgba(0, 0, 0, 0.07);
  --blog-border-strong: rgba(0, 0, 0, 0.14);
  --blog-text-primary: #1a1815;
  --blog-text-secondary: #6b6560;
  --blog-text-muted: #a09890;
  --blog-accent: #c8102e;
  --blog-accent-hover: #a80d25;
  --blog-accent-glow: rgba(200, 16, 46, 0.08);
  --blog-glass-bg: rgba(255, 255, 255, 0.8);
  --blog-glass-border: rgba(0, 0, 0, 0.06);
  --blog-glass-blur: 20px;
  --blog-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  --blog-shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.blog-page {
  background: var(--blog-bg);
  color: var(--blog-text-primary);
  min-height: 100vh;
}

.blog-hero {
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 86% 18%, rgba(185, 5, 4, 0.08), transparent 20%),
    linear-gradient(112deg, #050607 0%, #090a0b 42%, #111214 100%);
}

.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.97) 0%, rgba(5, 6, 7, 0.96) 30%, rgba(5, 6, 7, 0.82) 48%, rgba(5, 6, 7, 0.42) 64%, rgba(5, 6, 7, 0.58) 100%),
    radial-gradient(circle at 84% 22%, rgba(185, 5, 4, 0.08), transparent 18%),
    radial-gradient(circle at 52% 110%, rgba(255, 255, 255, 0.015), transparent 38%);
  z-index: 0;
}

html[dir="rtl"] .blog-hero::before {
  background:
    linear-gradient(270deg, rgba(5, 6, 7, 0.97) 0%, rgba(5, 6, 7, 0.96) 30%, rgba(5, 6, 7, 0.82) 48%, rgba(5, 6, 7, 0.42) 64%, rgba(5, 6, 7, 0.58) 100%),
    radial-gradient(circle at 16% 22%, rgba(185, 5, 4, 0.08), transparent 18%),
    radial-gradient(circle at 48% 110%, rgba(255, 255, 255, 0.015), transparent 38%);
}

.blog-hero__shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.blog-hero__grid,
.blog-hero__blueprint-shell,
.blog-hero__blueprint-glow {
  position: absolute;
}

.blog-hero__grid {
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(rgba(185, 5, 4, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 5, 4, 0.012) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
  background-position: center;
  opacity: 0.28;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.75) 10%, #000 92%, transparent 100%);
}

.blog-hero__blueprint-shell {
  top: 0;
  bottom: 0;
  right: max(-7vw, -128px);
  width: min(57vw, 1000px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  opacity: 1;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.025) 10%, rgba(0, 0, 0, 0.18) 24%, rgba(0, 0, 0, 0.68) 56%, #000 100%);
}

.blog-hero__blueprint {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 560px;
  background-image: url('../images/blog/hero-bg.png');
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
  opacity: 0.96;
  filter: saturate(0.82) brightness(0.66) contrast(1.12);
}

.blog-hero__blueprint::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(270deg, rgba(5, 6, 7, 0.66) 0%, rgba(5, 6, 7, 0.34) 12%, rgba(5, 6, 7, 0.12) 24%, rgba(5, 6, 7, 0) 34%),
    linear-gradient(90deg, rgba(5, 6, 7, 0.95) 0%, rgba(5, 6, 7, 0.75) 18%, rgba(5, 6, 7, 0.26) 42%, rgba(5, 6, 7, 0.05) 70%, rgba(5, 6, 7, 0) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.02) 28%, rgba(0, 0, 0, 0.16) 100%);
}

.blog-hero__blueprint-glow {
  filter: blur(42px);
  transform-origin: center;
}

.blog-hero__blueprint-glow--primary {
  width: min(24vw, 360px);
  height: min(52vw, 720px);
  top: 6%;
  right: -2%;
  background:
    linear-gradient(180deg, rgba(185, 5, 4, 0) 0%, rgba(185, 5, 4, 0.18) 28%, rgba(185, 5, 4, 0.1) 52%, rgba(185, 5, 4, 0) 100%),
    radial-gradient(circle at 26% 44%, rgba(185, 5, 4, 0.14) 0%, rgba(185, 5, 4, 0) 52%);
  opacity: 0.24;
  transform: rotate(2deg);
}

.blog-hero__blueprint-glow--secondary {
  width: min(22vw, 280px);
  height: min(22vw, 280px);
  top: 30%;
  right: 14%;
  background: radial-gradient(circle, rgba(185, 5, 4, 0.16) 0%, rgba(185, 5, 4, 0.05) 42%, rgba(185, 5, 4, 0) 72%);
  opacity: 0.14;
  transform: none;
}

html[dir="rtl"] .blog-hero__blueprint-shell {
  left: max(-7vw, -128px);
  right: auto;
  width: min(57vw, 1000px);
  justify-content: flex-start;
  mask-image: linear-gradient(270deg, transparent 0%, rgba(0, 0, 0, 0.025) 10%, rgba(0, 0, 0, 0.18) 24%, rgba(0, 0, 0, 0.68) 56%, #000 100%);
}

html[dir="rtl"] .blog-hero__blueprint {
  background-image: url('../images/blog/hero-bg-rtl.png');
  background-position: 35% 50%;
  opacity: 0.88;
  filter: saturate(0.74) brightness(0.7) contrast(1.08);
}

html[dir="rtl"] .blog-hero__blueprint::before {
  background:
    linear-gradient(90deg, rgba(5, 6, 7, 0.46) 0%, rgba(5, 6, 7, 0.22) 12%, rgba(5, 6, 7, 0.08) 24%, rgba(5, 6, 7, 0) 36%),
    linear-gradient(270deg, rgba(5, 6, 7, 0.95) 0%, rgba(5, 6, 7, 0.8) 18%, rgba(5, 6, 7, 0.32) 42%, rgba(5, 6, 7, 0.08) 70%, rgba(5, 6, 7, 0) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.02) 28%, rgba(0, 0, 0, 0.16) 100%);
}

html[dir="rtl"] .blog-hero__blueprint-glow--primary {
  right: -8%;
  opacity: 0.18;
}

html[dir="rtl"] .blog-hero__blueprint-glow--secondary {
  right: auto;
  left: 8%;
  opacity: 0.08;
}

.blog-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.blog-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blog-accent);
  margin-bottom: 24px;
}

.blog-hero__eyebrow-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--blog-accent);
}

.blog-hero__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--blog-text-primary);
  margin: 0 0 20px;
  max-width: 700px;
}

.blog-hero__title-accent {
  background: linear-gradient(135deg, var(--blog-accent) 0%, #ff4d6a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.blog-hero__subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--blog-text-secondary);
  max-width: 560px;
  margin: 0 0 48px;
}

.blog-hero__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blog-filter-btn {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--blog-border);
  background: var(--blog-surface);
  color: var(--blog-text-secondary);
  cursor: pointer;
  transition: all var(--blog-transition);
  white-space: nowrap;
}

.blog-filter-btn:hover {
  border-color: var(--blog-border-strong);
  color: var(--blog-text-primary);
  background: var(--blog-surface-elevated);
}

.blog-filter-btn.is-active {
  background: var(--blog-accent);
  border-color: var(--blog-accent);
  color: #fff;
}

.blog-search {
  position: relative;
  flex-shrink: 0;
}

.blog-search__input {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  padding: 10px 16px;
  padding-inline-start: 40px;
  border-radius: 100px;
  border: 1px solid var(--blog-border);
  background: var(--blog-surface);
  color: var(--blog-text-primary);
  width: 240px;
  transition: all var(--blog-transition);
  outline: none;
}

.blog-search__input::placeholder {
  color: var(--blog-text-muted);
}

.blog-search__input:focus {
  border-color: var(--blog-accent);
  box-shadow: 0 0 0 3px var(--blog-accent-glow);
  width: 300px;
}

.blog-search__icon {
  position: absolute;
  inset-inline-start: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--blog-text-muted);
  pointer-events: none;
  width: 16px;
  height: 16px;
}

.blog-content {
  padding: 64px 0 120px;
  background: var(--blog-bg);
}

.blog-content__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.blog-card {
  position: relative;
  background: var(--blog-glass-bg);
  backdrop-filter: blur(var(--blog-glass-blur));
  -webkit-backdrop-filter: blur(var(--blog-glass-blur));
  border: 1px solid var(--blog-glass-border);
  border-radius: var(--blog-radius-lg);
  overflow: hidden;
  transition: transform var(--blog-transition), box-shadow var(--blog-transition), border-color var(--blog-transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--blog-shadow-hover);
  border-color: var(--blog-border-strong);
}

.blog-card--featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.blog-card--featured .blog-card__media {
  height: 100%;
  min-height: 380px;
}

.blog-card--hidden {
  display: none;
}

.blog-card--animating {
  animation: blogCardFadeIn 0.4s var(--blog-ease) forwards;
}

@keyframes blogCardFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.blog-card__media {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--blog-ease);
}

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

.blog-card__category {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  z-index: 2;
}

.blog-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--blog-text-primary);
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card--featured .blog-card__title {
  font-size: 1.5rem;
  -webkit-line-clamp: 4;
}

.blog-card__excerpt {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--blog-text-secondary);
  margin: 0 0 auto;
  padding-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--blog-border);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--blog-text-muted);
}

.blog-card__meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.blog-card__meta-icon {
  width: 14px;
  height: 14px;
  opacity: 0.5;
}

.blog-card__link {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.blog-card__read-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--blog-accent);
  width: 0;
  transition: width 0.6s var(--blog-ease);
  border-radius: 0 3px 0 0;
}

.blog-card:hover .blog-card__read-indicator {
  width: 100%;
}

.blog-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 24px;
}

.blog-empty__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--blog-text-primary);
  margin: 0 0 8px;
}

.blog-empty__text {
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: var(--blog-text-secondary);
  margin: 0;
}

.blog-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.sidebar-block {
  background: var(--blog-glass-bg);
  backdrop-filter: blur(var(--blog-glass-blur));
  -webkit-backdrop-filter: blur(var(--blog-glass-blur));
  border: 1px solid var(--blog-glass-border);
  border-radius: var(--blog-radius-lg);
  padding: 28px;
  overflow: hidden;
}

.sidebar-block__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blog-text-primary);
  margin: 0 0 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-block__title::before {
  content: '';
  width: 3px;
  height: 16px;
  background: var(--blog-accent);
  border-radius: 2px;
}

.trending-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.trending-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.trending-item__rank {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blog-text-muted);
  line-height: 1;
  min-width: 28px;
  flex-shrink: 0;
}

.trending-item__content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.trending-item__title {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--blog-text-primary);
  line-height: 1.4;
  transition: color 0.2s ease;
}

.trending-item__title:hover {
  color: var(--blog-accent);
}

.trending-item__views {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--blog-text-muted);
}

.sidebar-service-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-service-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: var(--blog-radius-md);
  background: var(--blog-surface);
  border: 1px solid var(--blog-border);
  text-decoration: none;
  transition: all var(--blog-transition);
}

.sidebar-service-card:hover {
  background: var(--blog-surface-elevated);
  border-color: var(--blog-border-strong);
  transform: translateX(4px);
}

.sidebar-service-card__icon {
  width: 40px;
  height: 40px;
  border-radius: var(--blog-radius-sm);
  background: var(--blog-accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blog-accent);
}

.sidebar-service-card__icon svg {
  width: 20px;
  height: 20px;
}

.sidebar-service-card__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-service-card__name {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blog-text-primary);
}

.sidebar-service-card__desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--blog-text-muted);
}

.sidebar-archive {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.sidebar-archive__item {
  border-bottom: 1px solid var(--blog-border);
}

.sidebar-archive__item:last-child {
  border-bottom: none;
}

.sidebar-archive__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 12px 0;
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--blog-text-primary);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.sidebar-archive__trigger:hover {
  color: var(--blog-accent);
}

.sidebar-archive__trigger-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--blog-ease);
  color: var(--blog-text-muted);
}

.sidebar-archive__item.is-open .sidebar-archive__trigger-icon {
  transform: rotate(180deg);
}

.sidebar-archive__panel {
  display: none;
  padding: 0 0 12px;
}

.sidebar-archive__item.is-open .sidebar-archive__panel {
  display: block;
}

.sidebar-archive__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-archive__link {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  color: var(--blog-text-secondary);
  text-decoration: none;
  padding: 4px 0;
  padding-inline-start: 16px;
  border-inline-start: 2px solid var(--blog-border);
  transition: all 0.2s ease;
}

.sidebar-archive__link:hover {
  color: var(--blog-accent);
  border-inline-start-color: var(--blog-accent);
}

.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--blog-border, rgba(255, 255, 255, 0.07));
  background: var(--blog-surface, rgba(255, 255, 255, 0.03));
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--blog-text-secondary, rgba(255, 255, 255, 0.55));
  padding: 0;
}

.theme-toggle:hover {
  border-color: var(--blog-border-strong, rgba(255, 255, 255, 0.14));
  color: var(--blog-text-primary, #f0eeec);
  background: var(--blog-surface-elevated, rgba(255, 255, 255, 0.055));
}

.theme-toggle__icon--light {
  display: none;
}

html[data-theme="light"] .theme-toggle__icon--dark {
  display: none;
}

html[data-theme="light"] .theme-toggle__icon--light {
  display: block;
}

.blog-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--blog-border) 50%, transparent 100%);
  margin: 0;
  border: none;
}

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

  .blog-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

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

  .blog-card--featured {
    grid-column: span 2;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .blog-hero {
    padding: 120px 0 48px;
  }

  .blog-hero::before {
    background:
      linear-gradient(180deg, rgba(5, 6, 7, 0.84) 0%, rgba(5, 6, 7, 0.78) 34%, rgba(5, 6, 7, 0.9) 100%),
      linear-gradient(90deg, rgba(5, 6, 7, 0.98) 0%, rgba(5, 6, 7, 0.95) 48%, rgba(5, 6, 7, 0.54) 78%, rgba(5, 6, 7, 0.16) 100%);
  }

  html[dir="rtl"] .blog-hero::before {
    background:
      linear-gradient(180deg, rgba(5, 6, 7, 0.84) 0%, rgba(5, 6, 7, 0.78) 34%, rgba(5, 6, 7, 0.9) 100%),
      linear-gradient(270deg, rgba(5, 6, 7, 0.98) 0%, rgba(5, 6, 7, 0.95) 48%, rgba(5, 6, 7, 0.54) 78%, rgba(5, 6, 7, 0.16) 100%);
  }

  .blog-hero__grid {
    opacity: 0.18;
  }

  .blog-hero__blueprint-shell {
    right: -22%;
    width: 88vw;
    opacity: 1;
  }

  .blog-hero__blueprint {
    width: 100%;
    min-height: 420px;
    background-position: 59% 50%;
    opacity: 0.84;
    filter: saturate(0.74) brightness(0.56) contrast(1.05);
  }

  .blog-hero__blueprint::before {
    background:
      linear-gradient(270deg, rgba(5, 6, 7, 0.5) 0%, rgba(5, 6, 7, 0.22) 14%, rgba(5, 6, 7, 0) 28%),
      linear-gradient(90deg, rgba(5, 6, 7, 0.98) 0%, rgba(5, 6, 7, 0.9) 46%, rgba(5, 6, 7, 0.42) 74%, rgba(5, 6, 7, 0.07) 100%);
  }

  html[dir="rtl"] .blog-hero__blueprint::before {
    background:
      linear-gradient(270deg, rgba(5, 6, 7, 0.54) 0%, rgba(5, 6, 7, 0.24) 14%, rgba(5, 6, 7, 0) 28%),
      linear-gradient(270deg, rgba(5, 6, 7, 0.98) 0%, rgba(5, 6, 7, 0.9) 46%, rgba(5, 6, 7, 0.42) 74%, rgba(5, 6, 7, 0.07) 100%);
  }

  .blog-hero__blueprint-glow--primary {
    width: 22vw;
    height: 60vw;
    right: 0;
    top: 10%;
    opacity: 0.18;
  }

  .blog-hero__blueprint-glow--secondary {
    width: 28vw;
    height: 28vw;
    right: 12%;
    top: 34%;
    opacity: 0.08;
  }

  html[dir="rtl"] .blog-hero__blueprint-shell {
    left: -40%;
    right: auto;
    width: 84vw;
    justify-content: flex-start;
  }

  html[dir="rtl"] .blog-hero__blueprint {
    background-position: 39% 50%;
    opacity: 0.8;
  }

  html[dir="rtl"] .blog-hero__blueprint-glow--primary {
    right: -8%;
    opacity: 0.14;
  }

  html[dir="rtl"] .blog-hero__blueprint-glow--secondary {
    left: 4%;
    right: auto;
    opacity: 0.04;
  }

  .blog-hero__controls {
    flex-direction: column;
    align-items: stretch;
  }

  .blog-filters {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }

  .blog-search__input {
    width: 100%;
  }

  .blog-search__input:focus {
    width: 100%;
  }

  .blog-search {
    width: 100%;
  }

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

  .blog-card--featured {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
  }

  .blog-card--featured .blog-card__media {
    min-height: 220px;
    height: 220px;
  }

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

  .blog-content {
    padding: 40px 0 80px;
  }
}

@media (max-width: 480px) {
  .blog-hero__grid {
    background-size: 68px 68px, 68px 68px, 16px 16px, 16px 16px;
    opacity: 0.14;
  }

  .blog-hero__blueprint-shell {
    right: -44%;
    width: 104vw;
  }

  .blog-hero__blueprint {
    min-height: 360px;
    background-position: 64% 48%;
    opacity: 0.72;
  }

  .blog-hero__blueprint-glow--secondary {
    display: none;
  }

  html[dir="rtl"] .blog-hero__blueprint-shell {
    left: -52%;
    right: auto;
    width: 102vw;
  }

  html[dir="rtl"] .blog-hero__blueprint {
    background-position: 43% 50%;
  }

  .blog-hero__title {
    font-size: 2rem;
  }

  .blog-card__body {
    padding: 18px;
  }

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

  .sidebar-block {
    padding: 20px;
  }
}
