/* ============================================================
   Кейс-статья — изолированные стили
   Префикс: cs- (всё под .cs-root)
   Токены, ресет и шрифт Inter заданы на .cs-root (НЕ глобально),
   чтобы страница безопасно встраивалась рядом с прод-шапкой/футером
   с другими шрифтами. Контейнер max-width 1327px − 2×15 = контент 1297px.
   Источник: src/app/cases/example (article.module.css + cases.module.css),
   embla+Fancybox-галерея переписана на ванильный scroll + лайтбокс.
   ============================================================ */

body { margin: 0; }

.cs-root {
  --cs-accent: #FE5D26;
  --cs-accent-hover: #D95427;
  --cs-black: #312D2B;
  --cs-text: #272F3D;
  --cs-bg: #F6F6F6;
  --cs-white: #FFFFFF;
  --cs-border: rgba(49, 45, 43, 0.1);
  --cs-card-shadow: 0 1px 4px 0 rgba(49, 45, 43, 0.08);
  --cs-card-bg: rgba(49, 45, 43, 0.05);
  --cs-transition: .25s ease;
  --cs-radius-sm: 10px;
  --cs-radius-md: 12px;
  --cs-radius-lg: 24px;

  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--cs-text);
  background-color: var(--cs-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.cs-root *,
.cs-root *::before,
.cs-root *::after {
  box-sizing: border-box;
}

.cs-root :where(h1, h2, h3, h4, p, ul, ol, li) { margin: 0; padding: 0; }
.cs-root :where(ul, ol) { list-style: none; }

.cs-root a {
  text-decoration: none;
  color: inherit;
}

.cs-root img {
  max-width: 100%;
  height: auto;
  display: block;
}

.cs-container {
  max-width: 1327px; /* как .container шапки → контент 1297px */
  margin: 0 auto;
  padding: 0 15px;
}

/* --- Hero --- */
.cs-hero {
  padding: 24px 0 32px;
}

.cs-hero-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.cs-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  color: var(--cs-text);
  opacity: 0.5;
}

.cs-meta-item svg {
  flex-shrink: 0;
  opacity: 0.6;
}

.cs-meta-dot {
  color: var(--cs-text);
  opacity: 0.25;
  font-size: 10px;
}

.cs-hero-title {
  font-size: 32px;
  font-weight: 500;
  line-height: 40px;
  color: var(--cs-black);
  margin-bottom: 16px;
  max-width: 900px;
}

.cs-hero-lead {
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
  color: var(--cs-text);
  opacity: 0.7;
  max-width: 800px;
}

/* --- Gallery (ванильный scroll + лайтбокс) --- */
.cs-gallery {
  position: relative;
  padding-bottom: 40px;
}

.cs-gallery-swiper {
  position: relative;
}

.cs-gallery-viewport {
  overflow-x: auto;
  border-radius: 16px 16px 0 0;
  scrollbar-width: none;
  cursor: grab;
}

.cs-gallery-viewport::-webkit-scrollbar { display: none; }

.cs-gallery-viewport.cs-grabbing { cursor: grabbing; }

.cs-gallery-container {
  display: flex;
  gap: 12px;
}

.cs-gallery-slide {
  flex: 0 0 auto;
  height: 380px;
  min-width: 0;
}

.cs-gallery-slide a {
  display: block;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.cs-gallery-slide img {
  height: 100%;
  width: auto;
  max-width: none;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
  pointer-events: none;
}

.cs-gallery-slide a:hover img {
  transform: scale(1.04);
}

.cs-gallery-slide a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(49, 45, 43, 0);
  transition: background 0.3s ease;
  pointer-events: none;
}

.cs-gallery-slide a:hover::after {
  background: rgba(49, 45, 43, 0.12);
}

/* Nav arrows */
.cs-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cs-white);
  box-shadow: 0 2px 8px rgba(49, 45, 43, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--cs-black);
  transition: all var(--cs-transition);
  opacity: 0;
}

.cs-gallery:hover .cs-gallery-nav { opacity: 1; }

.cs-gallery-nav:hover {
  background: var(--cs-accent);
  color: var(--cs-white);
  box-shadow: 0 4px 12px rgba(254, 93, 38, 0.25);
}

.cs-gallery-nav-prev { left: 12px; }
.cs-gallery-nav-next { right: 12px; }

.cs-gallery-nav--disabled {
  opacity: 0 !important;
  pointer-events: none;
}

/* Scrollbar */
.cs-gallery-scrollbar {
  margin-top: 14px;
  height: 3px;
  background: rgba(49, 45, 43, 0.08);
  border-radius: 3px;
  position: relative;
}

.cs-gallery-scrollbar-thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--cs-accent);
  border-radius: 3px;
  transition: left 0.1s ease-out;
}

/* Photo counter */
.cs-gallery-counter {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 400;
  line-height: 18px;
  color: var(--cs-text);
  opacity: 0.4;
}

.cs-gallery-counter svg { flex-shrink: 0; }

/* --- Info bar --- */
.cs-info {
  padding-bottom: 40px;
}

.cs-info-card {
  background: var(--cs-white);
  border-radius: var(--cs-radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
}

.cs-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 24px;
  border-right: 1px solid var(--cs-border);
  flex: 1;
}

.cs-info-item:first-child { padding-left: 0; }

.cs-info-item:last-child {
  border-right: none;
  padding-right: 0;
}

.cs-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(254, 93, 38, 0.08);
}

.cs-info-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cs-info-label {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: var(--cs-text);
  opacity: 0.5;
}

.cs-info-value {
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  color: var(--cs-black);
}

/* --- Equipment --- */
.cs-equipment {
  padding-bottom: 48px;
}

.cs-equipment-card {
  background: var(--cs-white);
  border-radius: var(--cs-radius-lg);
  padding: 32px;
  box-shadow: var(--cs-card-shadow);
}

.cs-equipment-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  color: var(--cs-black);
  margin-bottom: 20px;
}

.cs-equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.cs-equipment-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: var(--cs-bg);
  border-radius: 16px;
  transition: transform var(--cs-transition), background var(--cs-transition);
}

.cs-equipment-item:hover {
  transform: translateY(-2px);
  background: rgba(254, 93, 38, 0.06);
}

.cs-equipment-img-wrap {
  width: 56px;
  min-width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cs-bg);
}

/* Селектор усилен (.cs-equipment-img-wrap .cs-equipment-img), иначе ресет
   `.cs-root img { height: auto }` (специфичность выше одиночного класса)
   перебивает height:100% → object-fit не получает высоту, и широкие картинки
   категорий (Icon2) тянутся по ширине с пустотой сверху/снизу. С height:100%
   cover заполняет квадрат 56×56 и обрезает лишнее по ширине. */
.cs-equipment-img-wrap .cs-equipment-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cs-equipment-name {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--cs-black);
  flex: 1;
}

.cs-equipment-arrow {
  flex-shrink: 0;
  color: var(--cs-text);
  opacity: 0.25;
  transition: all var(--cs-transition);
}

.cs-equipment-item:hover .cs-equipment-arrow {
  color: var(--cs-accent);
  opacity: 1;
  transform: translateX(2px);
}

/* --- Body --- */
.cs-body {
  padding-bottom: 40px;
}

.cs-body-content {
  max-width: 705px;
  margin: 0 auto;
}

.cs-body-content h2 {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  color: var(--cs-black);
  margin-bottom: 16px;
  margin-top: 40px;
}

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

.cs-body-content h3 {
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  color: var(--cs-black);
  margin-bottom: 12px;
  margin-top: 32px;
}

.cs-body-content p {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: var(--cs-text);
  margin-bottom: 16px;
}

.cs-body-content ul,
.cs-body-content ol {
  padding-left: 24px;
  margin-bottom: 20px;
  list-style: revert;
}

.cs-body-content li {
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  color: var(--cs-text);
  margin-bottom: 6px;
}

.cs-body-content li::marker { color: var(--cs-accent); }

/* Ссылки внутри текста кейса (Задача/Решение) — фирменный оранжевый, без
   подчёркивания. Красим и потомков (a *) с !important: в контенте из WYSIWYG
   цвет текста часто зашит инлайн на вложенном <span>/<font> (давал синий текст
   при оранжевом подчёркивании на <a>). Скоуп только на прозу (p/li), чтобы не
   задеть пилюли-теги и иконки шаринга в том же .cs-body-content. */
.cs-body-content p a,
.cs-body-content p a *,
.cs-body-content li a,
.cs-body-content li a * {
  color: var(--cs-accent) !important;
  text-decoration: none;
  transition: color var(--cs-transition);
}

.cs-body-content p a:hover,
.cs-body-content p a:hover *,
.cs-body-content li a:hover,
.cs-body-content li a:hover * {
  color: var(--cs-accent-hover) !important;
}

/* --- Callout --- */
.cs-callout {
  background: rgba(254, 93, 38, 0.06);
  border-left: 3px solid var(--cs-accent);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 24px 0;
}

.cs-callout p {
  font-size: 15px;
  line-height: 24px;
  color: var(--cs-text);
  margin-bottom: 0;
}

.cs-callout strong { color: var(--cs-black); }

/* --- Tags --- */
.cs-tags {
  margin-top: 0;
  padding-top: 28px;
  border-top: 1px solid var(--cs-border);
}

.cs-tags-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  color: var(--cs-text);
  opacity: 0.4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.cs-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cs-tag {
  padding: 6px 14px;
  border-radius: 100px;
  background: rgba(49, 45, 43, 0.06);
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  color: var(--cs-text);
  transition: all var(--cs-transition);
}

.cs-tag:hover {
  background: var(--cs-accent);
  color: var(--cs-white);
}

/* --- Share --- */
.cs-share {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--cs-border);
}

.cs-share-label {
  font-size: 12px;
  font-weight: 600;
  line-height: 16px;
  color: var(--cs-text);
  opacity: 0.4;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.cs-share-links {
  display: flex;
  gap: 8px;
}

.cs-share-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(49, 45, 43, 0.06);
  color: var(--cs-text);
  transition: all var(--cs-transition);
}

.cs-share-link:hover {
  background: var(--cs-accent);
  color: var(--cs-white);
}

/* Кратковременное состояние «ссылка скопирована» (вешается из case-article.js).
   Фиолетовый из палитры проекта (конец градиента CTA), отличимый от серого
   дефолта и рыжего ховера. */
.cs-share-link--copied {
  background: #7B2FF2;
  color: var(--cs-white);
}

/* --- Тост «ссылка скопирована» (в стиле проекта) --- */
.cs-toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 24px);
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100vw - 32px);
  padding: 14px 18px;
  border-radius: var(--cs-radius-md);
  background: var(--cs-white);
  box-shadow: 0 8px 30px rgba(49, 45, 43, 0.18);
  border: 1px solid var(--cs-border);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--cs-transition), transform var(--cs-transition);
}

.cs-toast--show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.cs-toast__icon { display: flex; flex-shrink: 0; }

.cs-toast__text {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--cs-black);
}

/* --- CTA banner --- */
.cs-cta {
  padding-bottom: 56px;
}

.cs-cta-inner {
  /* фирменный градиент форм обратной связи (рыжий → фиолетовый) */
  background: linear-gradient(135deg, var(--cs-accent) 30%, #7B2FF2 120%);
  border-radius: var(--cs-radius-lg);
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cs-cta-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  margin-bottom: 8px;
  color: var(--cs-white);
}

.cs-cta-desc {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  opacity: 0.85;
  color: var(--cs-white);
}

.cs-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--cs-radius-md);
  background: var(--cs-white);
  color: var(--cs-accent);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  white-space: nowrap;
  transition: all var(--cs-transition);
}

.cs-cta-btn:hover {
  background: var(--cs-black);
  color: var(--cs-white);
}

/* --- Categories --- */
.cs-categories {
  padding-bottom: 56px;
}

.cs-categories-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  color: var(--cs-black);
  margin-bottom: 24px;
}

.cs-categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cs-category-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--cs-radius-lg);
  overflow: hidden;
  background: var(--cs-white);
  box-shadow: var(--cs-card-shadow);
  transition: transform var(--cs-transition), box-shadow var(--cs-transition);
}

.cs-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(49, 45, 43, 0.12);
}

.cs-category-img-wrap { padding: 8px; }

.cs-category-img {
  width: 100%;
  aspect-ratio: 420 / 260;
  object-fit: cover;
  border-radius: 16px;
}

.cs-category-name {
  padding: 4px 20px 18px;
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
  color: var(--cs-black);
  text-align: center;
}

/* --- Other cases --- */
.cs-other-cases {
  padding-bottom: 56px;
}

.cs-other-cases-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  color: var(--cs-black);
  margin-bottom: 24px;
}

.cs-other-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* --- Case card --- */
.cs-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--cs-radius-lg);
  background: var(--cs-white);
  box-shadow: var(--cs-card-shadow);
  overflow: hidden;
  transition: transform var(--cs-transition), box-shadow var(--cs-transition);
}

.cs-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(49, 45, 43, 0.1);
}

.cs-card-img {
  position: relative;
  padding: 8px;
  overflow: hidden;
}

.cs-card-img img {
  width: 100%;
  aspect-ratio: 800 / 528;
  object-fit: cover;
  border-radius: 16px;
}

.cs-card-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  line-height: 16px;
  z-index: 1;
}

.cs-tag-corporate {
  background: var(--cs-accent);
  color: var(--cs-white);
}

.cs-tag-festivals {
  background: #4454EB;
  color: var(--cs-white);
}

.cs-tag-exhibitions {
  background: #16A34A;
  color: var(--cs-white);
}

.cs-card-hover-icon {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cs-white);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.2s ease;
  z-index: 1;
}

.cs-card:hover .cs-card-hover-icon {
  top: 20px;
  right: 20px;
  opacity: 1;
}

.cs-card-content {
  padding: 8px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cs-card-title {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  color: var(--cs-black);
  margin-bottom: 8px;
}

.cs-card-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: var(--cs-black);
  opacity: 0.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.cs-card-metrics {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--cs-border);
  margin-top: auto;
}

.cs-card-metric {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 500;
  line-height: 18px;
  color: var(--cs-text);
  opacity: 0.55;
}

.cs-card-metric svg {
  flex-shrink: 0;
  opacity: 0.5;
}

/* --- Socials promo --- */
.cs-socials-promo {
  padding-bottom: 56px;
}

.cs-socials-promo-inner {
  background: var(--cs-white);
  border-radius: var(--cs-radius-lg);
  padding: 48px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cs-socials-promo-title {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  color: var(--cs-black);
  margin-bottom: 8px;
}

.cs-socials-promo-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  color: var(--cs-text);
  opacity: 0.6;
  margin-bottom: 28px;
  max-width: 480px;
}

.cs-socials-promo-icons {
  display: flex;
  gap: 12px;
}

.cs-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  transition: transform var(--cs-transition), box-shadow var(--cs-transition);
}

.cs-social-link:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.cs-social-vk { background: #0077FF; }
.cs-social-tg { background: #29A9EB; }
.cs-social-yt { background: #FF0000; }

/* --- Article nav --- */
.cs-article-nav {
  padding-bottom: 64px;
}

.cs-nav-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.cs-nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: var(--cs-radius-md);
  background: var(--cs-white);
  box-shadow: var(--cs-card-shadow);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--cs-text);
  transition: all var(--cs-transition);
}

.cs-nav-btn:hover {
  background: var(--cs-accent);
  color: var(--cs-white);
  box-shadow: 0 4px 12px rgba(254, 93, 38, 0.25);
}

.cs-nav-btn--center { font-weight: 500; }

/* --- Lightbox (замена Fancybox) --- */
.cs-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 18, 17, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: cs-fade 0.2s ease;
}

.cs-lightbox[hidden] { display: none; }

@keyframes cs-fade { from { opacity: 0; } to { opacity: 1; } }

.cs-lightbox-img {
  max-width: 90vw;
  max-height: 82vh;
  border-radius: 12px;
  object-fit: contain;
  display: block;
}

.cs-lightbox-caption {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 20px;
}

.cs-lightbox-close,
.cs-lightbox-arrow {
  position: absolute;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--cs-transition);
}

.cs-lightbox-close:hover,
.cs-lightbox-arrow:hover { background: rgba(255, 255, 255, 0.28); }

.cs-lightbox-close { top: 20px; right: 20px; }
.cs-lightbox-arrow svg { width: 22px; height: 22px; }
.cs-lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.cs-lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ========== Responsive ========== */

@media screen and (max-width: 991px) {
  .cs-categories-grid { grid-template-columns: repeat(2, 1fr); }
  .cs-cta-inner { padding: 36px 32px; }
  .cs-gallery-slide { height: 320px; }
  .cs-info-card { flex-wrap: wrap; gap: 24px; }
  .cs-info-item { flex: 1 1 calc(50% - 12px); padding: 0; border-right: none; }
  .cs-equipment-card { padding: 24px; }
  .cs-other-cases-grid { grid-template-columns: repeat(2, 1fr); }
}

@media screen and (max-width: 768px) {
  .cs-hero-title { font-size: 24px; line-height: 32px; }
  .cs-hero-lead { font-size: 16px; line-height: 24px; }
  .cs-gallery-slide { height: 280px; }
  .cs-gallery-nav { width: 36px; height: 36px; }
  .cs-body-content h2 { font-size: 20px; line-height: 28px; margin-top: 28px; }
  .cs-body-content h3 { font-size: 18px; line-height: 26px; }
  .cs-body-content p,
  .cs-body-content li { font-size: 15px; line-height: 24px; }
  .cs-categories-grid { grid-template-columns: repeat(2, 1fr); }
  .cs-categories-title,
  .cs-equipment-title,
  .cs-other-cases-title,
  .cs-socials-promo-title { font-size: 20px; line-height: 28px; }
  .cs-cta-inner { flex-direction: column; text-align: center; padding: 32px 24px; }
  .cs-cta-title { font-size: 20px; line-height: 28px; }
  .cs-socials-promo-inner { padding: 32px 24px; }
  .cs-share { flex-direction: column; align-items: flex-start; gap: 12px; }
  .cs-info-card { gap: 16px; padding: 20px 24px; }
  .cs-info-item { flex: 1 1 calc(50% - 8px); }
  .cs-equipment-card { padding: 20px; }
  .cs-equipment { padding-bottom: 32px; }
  .cs-other-cases-grid { grid-template-columns: 1fr; }
  .cs-article-nav { padding-bottom: 40px; }
  .cs-nav-btn { padding: 10px 14px; font-size: 13px; }
}

@media screen and (max-width: 480px) {
  .cs-categories-grid { grid-template-columns: 1fr 1fr; }
  .cs-cta-title,
  .cs-categories-title,
  .cs-equipment-title,
  .cs-other-cases-title,
  .cs-socials-promo-title { font-size: 18px; line-height: 26px; }
  .cs-gallery-slide { height: 220px; }
  .cs-gallery-nav { width: 32px; height: 32px; }
  .cs-gallery-nav svg { width: 14px; height: 14px; }
  .cs-social-link { width: 44px; height: 44px; }
  .cs-info-card { flex-direction: column; gap: 0; padding: 16px 20px; }
  .cs-info-item { flex: none; width: 100%; padding: 16px 0; border-right: none; border-bottom: 1px solid var(--cs-border); }
  .cs-info-item:first-child { padding-top: 0; }
  .cs-info-item:last-child { border-bottom: none; padding-bottom: 0; }
  .cs-equipment-card { padding: 16px; }
  .cs-equipment-item { padding: 10px; gap: 10px; }
  .cs-equipment-img-wrap { width: 44px; min-width: 44px; height: 44px; }
  .cs-equipment-name { font-size: 13px; }
}
