.content-page {
  background: #f5f7fa;
}

.content-shell {
  max-width: 1870px;
  margin: 0 auto;
  padding: 0 clamp(20px, 3vw, 56px);
}

.content-surface {
  background: #fff;
  border-radius: 24px;
  padding: clamp(28px, 4vw, 68px) clamp(20px, 7vw, 136px) clamp(40px, 6vw, 112px);
  color: #0f172b;
}

@media (max-width: 1440px) {
  .content-surface {
    padding: 40px 40px 56px;
  }
}

@media (max-width: 1280px) {
  .content-surface {
    padding: 30px 28px 42px;
  }
}

.content-hero {
  display: grid;
  gap: 28px;
  margin-bottom: 36px;
}

.content-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  width: fit-content;
}

.content-hero__eyebrow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #e6f9ef;
  color: #009e49;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.1;
  font-weight: 500;
}

.content-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: #727076;
  font-size: 15px;
  line-height: 1.2;
}

.content-hero__meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.content-hero__meta span::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: currentColor;
  opacity: 0.8;
}

.content-hero__meta span:nth-child(1)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5Zm0 2c-4.42 0-8 2.24-8 5v1h16v-1c0-2.76-3.58-5-8-5Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 12a5 5 0 1 0-5-5 5 5 0 0 0 5 5Zm0 2c-4.42 0-8 2.24-8 5v1h16v-1c0-2.76-3.58-5-8-5Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.content-hero__meta span:nth-child(2)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h2v2h6V2h2v2h3v18H4V4h3Zm11 8H6v10h12Zm-1-4H7v2h10Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 2h2v2h6V2h2v2h3v18H4V4h3Zm11 8H6v10h12Zm-1-4H7v2h10Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.content-hero__meta span:nth-child(3)::before {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 1.75A10.25 10.25 0 1 0 22.25 12 10.26 10.26 0 0 0 12 1.75Zm0 18.5A8.25 8.25 0 1 1 20.25 12 8.26 8.26 0 0 1 12 20.25Zm1-13.5h-2v6.16l4.78 2.87 1.03-1.72L13 11.84Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 1.75A10.25 10.25 0 1 0 22.25 12 10.26 10.26 0 0 0 12 1.75Zm0 18.5A8.25 8.25 0 1 1 20.25 12 8.26 8.26 0 0 1 12 20.25Zm1-13.5h-2v6.16l4.78 2.87 1.03-1.72L13 11.84Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.content-title {
  margin: 0;
  max-width: 1200px;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 56px);
  line-height: 1;
  font-weight: 500;
  color: #0f172b;
}

.content-subtitle {
  margin: 0 0 12px;
  max-width: 1040px;
  color: #4d5566;
  font-size: clamp(18px, 1.5vw, 26px);
  line-height: 1.35;
}

.content-cover {
  overflow: hidden;
  border-radius: 22px;
  background: #e5e7eb;
  aspect-ratio: 16 / 8.5;
}

.content-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}

.content-main {
  min-width: 0;
}

.content-sidebar {
  position: sticky;
  top: 110px;
}

.content-card {
  border-radius: 20px;
  background: #f5f7fa;
  padding: 24px;
}

.content-card + .content-card {
  margin-top: 20px;
}

.content-card h2,
.content-card h3 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1;
  font-weight: 500;
  color: #0f172b;
}

.content-toc {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.content-toc a {
  color: #009e49;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.35;
}

.content-toc a:hover {
  text-decoration: underline;
}

.content-body {
  color: #111827;
}

.content-body > :first-child {
  margin-top: 0 !important;
}

.content-body h2,
.content-body h3 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.05;
  color: #0f172b;
}

.content-body h2 {
  font-size: clamp(24px, 1.9vw, 34px);
}

.content-body h2:not(:first-child) {
  margin-top: 44px;
}

.content-body h3 {
  font-size: clamp(22px, 1.7vw, 30px);
}

.content-body h3:not(:first-child) {
  margin-top: 34px;
  margin-bottom: 16px;
}

.content-body p,
.content-body ul,
.content-body ol,
.content-body blockquote {
  margin: 0 0 24px;
  font-size: clamp(17px, 1.35vw, 23px);
  line-height: 1.45;
}

.content-body ul,
.content-body ol {
  padding-left: 1.4em;
}

.content-body ul li,
.content-body ol li {
  margin-bottom: 8px;
}

.content-body ul li:last-child,
.content-body ol li:last-child {
  margin-bottom: 0;
}

.content-body blockquote {
  padding: 18px 22px;
  border-left: 3px solid #b9d8f6;
  border-radius: 18px;
  background: #f7fbff;
  color: #324158;
}

.content-body hr {
  display: none;
}

.content-body img {
  max-width: 100%;
  border-radius: 18px;
  display: block;
  margin: 28px 0;
}

.content-body iframe,
.content-body video {
  width: 100%;
  min-height: 340px;
  border: 0;
  border-radius: 18px;
  margin: 28px 0;
}

.content-body table {
  width: min(100%, 760px);
  margin: 18px 0 40px;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #dbe7f5;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, #fbfdff 0%, #f4f8ff 100%);
  box-shadow: 0 18px 34px -30px rgba(53, 99, 152, 0.45);
}

.content-body table :is(th, td) > p {
  margin: 0;
  font: inherit;
  color: inherit;
}

.content-body thead th,
.content-body table > tr:first-of-type th {
  padding: 16px 20px;
  background: #eaf3ff;
  color: #356398;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  text-align: left;
}

.content-body tbody td,
.content-body table > tr:not(:first-of-type) td {
  padding: 16px 20px;
  font-size: 16px;
  line-height: 1.35;
  color: #324158;
  background: rgba(255, 255, 255, 0.88);
}

.content-body tbody tr:nth-child(even) td,
.content-body table > tr:nth-of-type(odd):not(:first-of-type) td {
  background: rgba(244, 248, 255, 0.92);
}

.content-body tbody tr + tr td,
.content-body table > tr + tr td {
  border-top: 1px solid #dde8f4;
}

.content-body tbody td:first-child,
.content-body table > tr:not(:first-of-type) td:first-child {
  font-weight: 500;
  color: #0f172b;
}

.content-body th:not(:first-child),
.content-body td:not(:first-child) {
  text-align: center;
}

.content-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 18px 0 36px;
}

.content-metric {
  border-radius: 20px;
  background: #eff6ff;
  padding: 20px;
}

.content-metric__value {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-size: clamp(26px, 2vw, 38px);
  line-height: 1;
  color: #356398;
}

.content-metric__label {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  color: #4b5563;
}

.content-metrics--offers {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.content-offer-pill {
  min-height: 108px;
  border-radius: 20px;
  background: #e6f9ef;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.content-offer-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border-radius: 14px;
  background: linear-gradient(180deg, #36c172 0%, #2ab466 100%);
  box-shadow: 0 12px 28px -14px rgba(0, 185, 86, 0.6);
  position: relative;
}

.content-offer-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 24px;
  height: 24px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.55 18.2 4.8 13.45l1.4-1.4 3.35 3.35 8.25-8.25 1.4 1.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9.55 18.2 4.8 13.45l1.4-1.4 3.35 3.35 8.25-8.25 1.4 1.4Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.content-offer-text {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(17px, 1.35vw, 19px);
  line-height: 1.2;
  color: #0f172b;
}

.content-offer-cta {
  min-height: 108px;
  width: 100%;
  border-radius: 20px;
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.35vw, 19px);
  line-height: 1.2;
  white-space: normal;
}

@media (max-width: 1360px) {
  .content-metrics--offers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-offer-cta {
    grid-column: 1 / -1;
  }

  .content-page--case .content-offer-cta {
    grid-column: auto;
  }
}

.content-gallery-block {
  overflow: hidden;
}

.content-gallery-shell {
  position: relative;
  margin-top: 24px;
}

.content-gallery,
.content-gallery-track {
  display: flex;
  gap: 0;
  align-items: flex-end;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.content-gallery::-webkit-scrollbar,
.content-gallery-track::-webkit-scrollbar {
  display: none;
}

.content-gallery-card {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 28px;
  background: transparent;
  height: 340px;
  width: fit-content;
  min-width: 220px;
  max-width: min(560px, 44vw);
  scroll-snap-align: start;
  cursor: pointer;
}

.content-gallery-card img {
  display: block;
  height: 100%;
  width: auto;
  max-width: none;
}

.content-gallery-card:focus-visible {
  outline: 3px solid rgba(53, 99, 152, 0.35);
  outline-offset: 4px;
}

.content-gallery-card figcaption {
  display: none;
}

.content-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 64px;
  height: 64px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #324158;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 20px 36px -24px rgba(15, 23, 43, 0.45);
  transform: translateY(-50%);
  cursor: pointer;
  transition: opacity var(--t-base), transform var(--t-base), background var(--t-base);
}

.content-gallery-nav:hover {
  transform: translateY(-50%) scale(1.03);
  background: #fff;
}

.content-gallery-nav[disabled] {
  opacity: 0;
  pointer-events: none;
}

.content-gallery-nav--prev {
  left: 12px;
}

.content-gallery-nav--next {
  right: 12px;
}

.content-gallery-shell.is-static .content-gallery-nav {
  display: none;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 29, 0.78);
  backdrop-filter: blur(10px);
}

.gallery-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 48px 112px;
}

.gallery-lightbox__figure {
  position: relative;
  margin: 0;
  max-width: min(1120px, 100%);
  width: 100%;
}

.gallery-lightbox__image {
  display: block;
  width: 100%;
  max-height: calc(100vh - 160px);
  object-fit: contain;
  border-radius: 28px;
  background: #111827;
}

.gallery-lightbox__caption {
  display: none;
}

.gallery-lightbox__close,
.gallery-lightbox__nav {
  position: absolute;
  z-index: 2;
  width: 64px;
  height: 64px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #0f172b;
  box-shadow: 0 20px 40px -28px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform var(--t-base), opacity var(--t-base), background var(--t-base);
}

.gallery-lightbox__close:hover,
.gallery-lightbox__nav:hover {
  transform: scale(1.04);
  background: #fff;
}

.gallery-lightbox__close {
  top: 24px;
  right: 24px;
  font-size: 34px;
  line-height: 1;
}

.gallery-lightbox__nav {
  top: 50%;
  font-size: 28px;
  line-height: 1;
  transform: translateY(-50%);
}

.gallery-lightbox__nav:hover {
  transform: translateY(-50%) scale(1.04);
}

.gallery-lightbox__nav[disabled] {
  opacity: 0.35;
  cursor: default;
}

.gallery-lightbox__nav--prev {
  left: 24px;
}

.gallery-lightbox__nav--next {
  right: 24px;
}

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

.listing-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.listing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.listing-card__image {
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  background: #e5e7eb;
}

.listing-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.listing-card__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  color: #356398;
  font-size: 14px;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.listing-card h2,
.listing-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 26px;
  line-height: 1.05;
  font-weight: 500;
  color: #0f172b;
}

.listing-card p {
  margin: 0;
  color: #4b5563;
  font-size: 16px;
  line-height: 1.45;
}

.listing-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: #727076;
  font-size: 14px;
  line-height: 1.25;
}

.listing-card__cta {
  margin-top: auto;
  color: #009e49;
  font-size: 15px;
  line-height: 1.2;
}

.empty-state {
  padding: 48px;
  border-radius: 24px;
  background: #fff;
  color: #4b5563;
  font-size: 18px;
  line-height: 1.4;
}

.related-block {
  margin-top: 56px;
}

.related-block h2 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(24px, 1.9vw, 34px);
  line-height: 1;
  font-weight: 500;
}

.content-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  background: #009e49;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  line-height: 1.2;
  transition: transform var(--t-base), box-shadow var(--t-base);
}

.content-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -20px rgba(0, 158, 73, 0.8);
}

.content-page--case .content-grid {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(20px, 2vw, 28px);
}

.content-page--case .content-body {
  color: #1d2738;
}

.content-page--case .content-body :is(h2, h3, p, ul, ol, blockquote, table) {
  margin-bottom: 0;
}

.content-page--case .content-body > * + * {
  margin-top: 20px;
}

.content-page--case .content-metrics--offers {
  margin: 24px 0 52px;
}

.content-page--case .content-body > h2 {
  margin-top: 52px;
}

.content-page--case .content-body > h3 {
  margin-top: 30px;
}

.content-page--case .content-body > :is(h2, h3) + * {
  margin-top: 14px;
}

.content-page--case .content-body h2,
.content-page--case .content-body h3,
.content-page--case .related-block h2,
.content-page--case .content-card h3 {
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.content-page--case .content-body h2 {
  max-width: none;
}

.content-page--case .content-body h3 {
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.12;
}

.content-page--case .content-body p,
.content-page--case .content-body ul,
.content-page--case .content-body ol,
.content-page--case .content-body blockquote {
  max-width: 74ch;
  font-size: clamp(17px, 1.18vw, 20px);
  line-height: 1.68;
}

.content-page--case .content-body p:empty {
  display: none;
}

.content-page--case .content-body ul,
.content-page--case .content-body ol {
  padding-left: 1.2em;
}

.content-page--case .content-body li + li {
  margin-top: 10px;
}

.content-page--case .content-body strong {
  color: #0f172b;
  font-weight: 600;
}

.content-page--case .content-body table {
  max-width: 74ch;
  margin-top: 8px;
}

.content-page--blog .content-grid {
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(20px, 2vw, 28px);
}

.content-page--blog .content-body {
  color: #1d2738;
}

.content-page--blog .content-body :is(h2, h3, p, ul, ol, blockquote, table) {
  margin-bottom: 0;
}

.content-page--blog .content-body > * + * {
  margin-top: 20px;
}

.content-page--blog .content-body > h2 {
  margin-top: 52px;
}

.content-page--blog .content-body > h3 {
  margin-top: 30px;
}

.content-page--blog .content-body > :is(h2, h3) + * {
  margin-top: 14px;
}

.content-page--blog .content-body h2,
.content-page--blog .content-body h3,
.content-page--blog .related-block h2,
.content-page--blog .content-card h3 {
  letter-spacing: -0.02em;
  text-wrap: pretty;
}

.content-page--blog .content-body h2 {
  max-width: none;
}

.content-page--blog .content-body h3 {
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.12;
}

.content-page--blog .content-body p,
.content-page--blog .content-body ul,
.content-page--blog .content-body ol,
.content-page--blog .content-body blockquote {
  max-width: 74ch;
  font-size: clamp(17px, 1.18vw, 20px);
  line-height: 1.68;
}

.content-page--blog .content-body p:empty {
  display: none;
}

.content-page--blog .content-body ul,
.content-page--blog .content-body ol {
  padding-left: 1.2em;
}

.content-page--blog .content-body li + li {
  margin-top: 10px;
}

.content-page--blog .content-body strong {
  color: #0f172b;
  font-weight: 600;
}

.content-page--blog .content-body table {
  width: min(100%, 780px);
  max-width: 78ch;
  margin-top: 16px;
  margin-bottom: 40px;
  table-layout: fixed;
}

.content-page--blog .content-body table colgroup col:nth-child(1) {
  width: 22%;
}

.content-page--blog .content-body table colgroup col:nth-child(2) {
  width: 36%;
}

.content-page--blog .content-body table colgroup col:nth-child(3) {
  width: 42%;
}

.content-page--blog .content-body table th,
.content-page--blog .content-body table td {
  text-align: left;
  vertical-align: top;
  padding-left: 18px;
  padding-right: 14px;
}

.content-page--blog .content-body table th {
  font-size: 11px;
  line-height: 1.12;
}

.content-page--blog .content-body table td {
  font-size: 12px;
  line-height: 1.02;
}

.content-page--blog .content-body table :is(th, td):not(:first-child) {
  text-align: left;
}

.content-page--blog .content-body table :is(th, td) > p {
  margin: 0;
  max-width: none;
  width: auto;
  line-height: inherit;
  text-align: inherit;
}

.content-page--blog .content-body table :is(th, td):first-child {
  padding-left: 20px;
}

.content-page--blog .content-body table > tr:first-of-type th,
.content-page--blog .content-body tbody tr:first-child th {
  padding-top: 14px;
  padding-bottom: 14px;
}

.content-page--blog .content-body table > tr:not(:first-of-type) td,
.content-page--blog .content-body tbody td {
  padding-top: 12px;
  padding-bottom: 12px;
}

.content-page--blog .content-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.content-page--blog .content-sidebar .content-card {
  width: calc(100% + 28px);
  margin-left: -28px;
}

.content-page--blog .content-sidebar .content-card + .content-card {
  margin-top: 0;
}

.content-page--case .content-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.content-page--case .content-sidebar .content-card {
  width: calc(100% + 28px);
  margin-left: -28px;
}

.content-page--case .content-sidebar .content-card + .content-card {
  margin-top: 0;
}

.content-share-card {
  align-items: center;
  background: #f5f7fa;
  border-radius: 20px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 30px;
}

.content-share-label {
  margin: 0;
  color: #000;
  font-size: 16px;
  line-height: 1.2;
}

.content-share-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.content-share-btn {
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--t-base), box-shadow var(--t-base), filter var(--t-base);
}

.content-share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -18px rgba(15, 23, 43, 0.45);
}

.content-share-btn__icon {
  display: block;
  background: #fff;
}

.content-share-btn__icon--telegram {
  width: 30px;
  height: 26px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M21.43 4.59 18.2 19.84c-.24 1.08-.88 1.35-1.78.84l-4.92-3.63-2.38 2.29c-.26.26-.48.48-.98.48l.35-5 9.1-8.23c.39-.35-.09-.55-.61-.2L5.73 13.5.89 11.99c-1.05-.33-1.07-1.05.22-1.55L20.04 3.1c.88-.32 1.64.2 1.39 1.49Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M21.43 4.59 18.2 19.84c-.24 1.08-.88 1.35-1.78.84l-4.92-3.63-2.38 2.29c-.26.26-.48.48-.98.48l.35-5 9.1-8.23c.39-.35-.09-.55-.61-.2L5.73 13.5.89 11.99c-1.05-.33-1.07-1.05.22-1.55L20.04 3.1c.88-.32 1.64.2 1.39 1.49Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.content-share-btn__icon--max {
  width: 32px;
  height: 32px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16.3438 31.4115C13.2034 31.4115 11.744 30.9655 9.20724 29.1812C7.60265 31.1885 2.5215 32.7572 2.2999 30.0734C2.2999 28.0587 1.84144 26.3563 1.32186 24.4977C0.702965 22.2079 0 19.658 0 15.9632C0 7.13877 7.44221 0.5 16.2597 0.5C25.0849 0.5 31.9999 7.46588 31.9999 16.045C32.0295 24.4914 25.0249 31.3665 16.3438 31.4115ZM16.4737 8.12751C12.1795 7.91194 8.83282 10.8039 8.09167 15.3387C7.48039 19.093 8.5654 23.6651 9.48993 23.903C9.93311 24.0071 11.0487 23.1298 11.744 22.4533C12.8937 23.2261 14.2326 23.6902 15.6256 23.7989C20.075 24.0071 23.8769 20.7114 24.1756 16.387C24.3496 12.0534 20.9238 8.38296 16.4737 8.13496V8.12751Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16.3438 31.4115C13.2034 31.4115 11.744 30.9655 9.20724 29.1812C7.60265 31.1885 2.5215 32.7572 2.2999 30.0734C2.2999 28.0587 1.84144 26.3563 1.32186 24.4977C0.702965 22.2079 0 19.658 0 15.9632C0 7.13877 7.44221 0.5 16.2597 0.5C25.0849 0.5 31.9999 7.46588 31.9999 16.045C32.0295 24.4914 25.0249 31.3665 16.3438 31.4115ZM16.4737 8.12751C12.1795 7.91194 8.83282 10.8039 8.09167 15.3387C7.48039 19.093 8.5654 23.6651 9.48993 23.903C9.93311 24.0071 11.0487 23.1298 11.744 22.4533C12.8937 23.2261 14.2326 23.6902 15.6256 23.7989C20.075 24.0071 23.8769 20.7114 24.1756 16.387C24.3496 12.0534 20.9238 8.38296 16.4737 8.13496V8.12751Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}

.content-share-btn__icon--link {
  width: 36px;
  height: 35px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10.59 13.41a1.996 1.996 0 0 1 0-2.82l3.59-3.59a2 2 0 1 1 2.83 2.83l-1.59 1.58 1.41 1.42 1.59-1.59a4 4 0 0 0-5.66-5.66l-3.59 3.59a4 4 0 0 0 0 5.66l.42.42 1.41-1.42-.42-.42Zm2.82-2.82-1.41 1.41 1.41 1.41 1.41-1.41-1.41-1.41Zm-4.24 7.83 3.59-3.59a4 4 0 0 0 0-5.66l-.42-.42-1.41 1.42.42.42a2 2 0 0 1 0 2.82l-3.59 3.59a2 2 0 1 1-2.83-2.83l1.59-1.58-1.41-1.42-1.59 1.59a4 4 0 1 0 5.66 5.66Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M10.59 13.41a1.996 1.996 0 0 1 0-2.82l3.59-3.59a2 2 0 1 1 2.83 2.83l-1.59 1.58 1.41 1.42 1.59-1.59a4 4 0 0 0-5.66-5.66l-3.59 3.59a4 4 0 0 0 0 5.66l.42.42 1.41-1.42-.42-.42Zm2.82-2.82-1.41 1.41 1.41 1.41 1.41-1.41-1.41-1.41Zm-4.24 7.83 3.59-3.59a4 4 0 0 0 0-5.66l-.42-.42-1.41 1.42.42.42a2 2 0 0 1 0 2.82l-3.59 3.59a2 2 0 1 1-2.83-2.83l1.59-1.58-1.41-1.42-1.59 1.59a4 4 0 1 0 5.66 5.66Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.content-share-btn--telegram {
  background: #2d95cd;
}

.content-share-btn--native {
  background: linear-gradient(180deg, #6f5dff 0%, #a11fcb 100%);
}

.content-share-btn--copy {
  background: #2e2f2e;
}

.content-share-btn[data-copied="1"] {
  filter: brightness(1.08);
}

.content-share-toast {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(6px);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 43, 0.92);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 14px 28px -18px rgba(15, 23, 43, 0.52);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-base), transform var(--t-base);
}

.content-share-toast::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(100% - 6px);
  width: 10px;
  height: 10px;
  background: rgba(15, 23, 43, 0.92);
  transform: translateX(-50%) rotate(45deg);
}

.content-share-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

.content-page--case .content-gallery-block {
  overflow: hidden;
}

.content-page--case .content-gallery-shell {
  margin-top: 24px;
}

.content-page--case .content-gallery-track {
  gap: 16px;
  align-items: flex-start;
}

.content-page--case .content-gallery-card {
  display: block;
  height: auto;
  width: auto;
  min-width: 0;
  max-width: none;
  background: transparent;
}

.content-page--case .content-gallery-card img {
  display: block;
  width: auto;
  height: 380px;
  max-width: none;
  border-radius: inherit;
}

.content-page--case .content-gallery-nav {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 28px -18px rgba(15, 23, 43, 0.42);
}

.content-page--blog .content-gallery-block {
  overflow: hidden;
}

.content-page--blog .content-gallery-shell {
  margin-top: 24px;
}

.content-page--blog .content-gallery-track {
  gap: 16px;
  align-items: flex-start;
}

.content-page--blog .content-gallery-card {
  display: block;
  height: auto;
  width: auto;
  min-width: 0;
  max-width: none;
  background: transparent;
}

.content-page--blog .content-gallery-card img {
  display: block;
  width: auto;
  height: 380px;
  max-width: none;
  border-radius: inherit;
}

.content-page--blog .content-gallery-nav {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 28px -18px rgba(15, 23, 43, 0.42);
}

.content-page--case .content-offer-cta {
  max-width: none;
  justify-self: stretch;
}

@media (max-width: 1080px) {
  .content-grid {
    grid-template-columns: 1fr;
  }

  .content-sidebar {
    position: static;
  }

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

  .content-gallery-card {
    height: 280px;
    min-width: 180px;
    max-width: min(420px, 62vw);
  }

  .content-page--case .content-grid {
    grid-template-columns: 1fr;
  }

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

  .content-page--case .content-body > * + * {
    margin-top: 18px;
  }

  .content-page--blog .content-body > * + * {
    margin-top: 18px;
  }

  .content-page--case .content-metrics--offers {
    margin: 18px 0 40px;
  }

  .content-page--case .content-body > h2 {
    margin-top: 44px;
  }

  .content-page--blog .content-body > h2 {
    margin-top: 44px;
  }

  .content-page--case .content-body > h3 {
    margin-top: 24px;
  }

  .content-page--blog .content-body > h3 {
    margin-top: 24px;
  }

  .content-page--case .content-sidebar .content-card {
    width: 100%;
    margin-left: 0;
  }

  .content-page--blog .content-sidebar .content-card {
    width: 100%;
    margin-left: 0;
  }

  .content-share-card {
    width: 100%;
    margin-left: 0;
  }

  .content-page--case .content-gallery-track {
    gap: 12px;
    align-items: flex-start;
  }

  .content-page--blog .content-gallery-track {
    gap: 12px;
    align-items: flex-start;
  }

  .content-page--case .content-gallery-card {
    display: block;
    height: auto;
    width: auto;
    max-width: none;
    min-width: 0;
  }

  .content-page--blog .content-gallery-card {
    display: block;
    height: auto;
    width: auto;
    max-width: none;
    min-width: 0;
  }

  .content-page--case .content-gallery-card img {
    height: 200px;
    width: auto;
    max-width: calc(100vw - 120px);
  }

  .content-page--blog .content-gallery-card img {
    height: 200px;
    width: auto;
    max-width: calc(100vw - 120px);
  }

  .content-page--case .content-gallery-nav {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .content-page--blog .content-gallery-nav {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
}

@media (max-width: 920px) {
  .listing-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .listing-card {
    gap: 16px;
  }

  .listing-card__image {
    aspect-ratio: 16 / 8.8;
  }
}

@media (max-width: 768px) {
  .content-hero {
    gap: 20px;
    margin-bottom: 24px;
  }

  .content-hero__eyebrow {
    gap: 6px;
  }

  .content-hero__eyebrow span {
    min-height: 40px;
    padding: 8px 14px;
    font-size: 14px;
  }

  .content-hero__meta {
    gap: 8px 14px;
    font-size: 13px;
  }

  .content-hero__meta span {
    gap: 6px;
  }

  .content-hero__meta span::before {
    width: 12px;
    height: 12px;
  }

  .content-title {
    font-size: clamp(28px, 7.8vw, 34px);
    line-height: 0.98;
    letter-spacing: -0.015em;
  }

  .content-subtitle {
    margin-bottom: 14px;
    font-size: 16px;
    line-height: 1.34;
  }

  .content-surface {
    border-radius: 24px;
    padding: 26px 20px 36px;
  }

  .content-cover {
    aspect-ratio: 16 / 11;
  }

  .content-grid {
    margin-top: 0;
  }

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

  .content-metrics {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 18px 0 32px;
  }

  .content-metric {
    padding: 18px;
  }

  .content-metric__value {
    margin-bottom: 6px;
    font-size: 28px;
  }

  .content-metric__label {
    font-size: 15px;
    line-height: 1.35;
  }

  .content-metrics--offers {
    grid-template-columns: 1fr;
  }

  .content-offer-pill,
  .content-offer-cta {
    min-height: 88px;
    border-radius: 18px;
  }

  .content-offer-pill {
    padding: 18px;
    gap: 14px;
  }

  .content-offer-icon {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    border-radius: 12px;
  }

  .content-offer-icon::before {
    width: 20px;
    height: 20px;
  }

  .content-offer-text,
  .content-offer-cta {
    font-size: 17px;
  }

  .content-card {
    padding: 20px;
  }

  .content-card h2,
  .content-card h3 {
    margin-bottom: 14px;
    font-size: 20px;
    line-height: 1.05;
  }

  .content-toc {
    gap: 8px;
  }

  .content-toc a {
    font-size: 15px;
    line-height: 1.35;
  }

  .content-share-card {
    padding: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .content-share-actions {
    width: 100%;
  }

  .content-share-btn {
    width: 56px;
    height: 56px;
  }

  .content-body h2 {
    font-size: clamp(24px, 6.2vw, 29px);
    line-height: 1.02;
    letter-spacing: -0.01em;
  }

  .content-body h3 {
    font-size: clamp(20px, 5.2vw, 24px);
    line-height: 1.08;
  }

  .content-body h2:not(:first-child) {
    margin-top: 36px;
    margin-bottom: 16px;
  }

  .content-body h3:not(:first-child) {
    margin-top: 28px;
    margin-bottom: 12px;
  }

  .content-body p,
  .content-body ul,
  .content-body ol,
  .content-body blockquote {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.38;
  }

  .content-body ul li,
  .content-body ol li {
    margin-bottom: 6px;
  }

  .content-body blockquote {
    padding: 18px 18px;
    margin-top: 4px;
    margin-bottom: 24px;
  }

  .content-body table {
    display: block;
    width: max-content;
    min-width: 100%;
    max-width: 100%;
    margin-top: 4px;
    margin-bottom: 32px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
  }

  .content-body table > thead,
  .content-body table > tbody,
  .content-body table > tr {
    width: max-content;
    min-width: 100%;
  }

  .content-body table::-webkit-scrollbar {
    height: 8px;
  }

  .content-body table::-webkit-scrollbar-thumb {
    background: rgba(53, 99, 152, 0.28);
    border-radius: 999px;
  }

  .content-body table::-webkit-scrollbar-track {
    background: rgba(234, 243, 255, 0.9);
  }

  .content-gallery-shell {
    margin-top: 24px;
  }

  .content-gallery-card {
    height: 240px;
    min-width: 160px;
    max-width: 82vw;
    border-radius: 22px;
  }

  .content-gallery-nav {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }

  .content-gallery-nav--prev {
    left: 12px;
  }

  .content-gallery-nav--next {
    right: 12px;
  }

  .content-gallery-card figcaption {
    left: 16px;
    right: 16px;
    bottom: 16px;
    font-size: 13px;
  }

  .gallery-lightbox__dialog {
    padding: 72px 20px 28px;
  }

  .gallery-lightbox__close {
    top: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
    font-size: 28px;
  }

  .gallery-lightbox__nav {
    width: 52px;
    height: 52px;
    font-size: 22px;
  }

  .gallery-lightbox__nav--prev {
    left: 12px;
  }

  .gallery-lightbox__nav--next {
    right: 12px;
  }

  .content-body thead th,
  .content-body tbody td,
  .content-body table > tr:first-of-type th,
  .content-body table > tr:not(:first-of-type) td {
    padding: 13px 14px;
  }

  .content-body thead th,
  .content-body table > tr:first-of-type th {
    font-size: 13px;
  }

  .content-body tbody td,
  .content-body table > tr:not(:first-of-type) td {
    font-size: 14px;
  }

  .listing-card {
    gap: 14px;
    padding: 18px;
  }

  .listing-card__image {
    border-radius: 14px;
  }

  .listing-card__eyebrow {
    gap: 6px 10px;
    font-size: 11px;
    line-height: 1.25;
    letter-spacing: 0.04em;
  }

  .listing-card__eyebrow span {
    position: relative;
    display: inline-flex;
    align-items: center;
  }

  .listing-card__eyebrow span + span::before {
    content: "";
    width: 4px;
    height: 4px;
    margin-right: 10px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.5;
    flex-shrink: 0;
  }

  .listing-card h2,
  .listing-card h3 {
    font-size: 20px;
    line-height: 1.1;
  }

  .listing-card p {
    font-size: 15px;
    line-height: 1.42;
  }

  .listing-card__meta {
    font-size: 13px;
    gap: 8px 14px;
  }

  .listing-card__cta {
    font-size: 14px;
  }

  .related-block {
    margin-top: 44px;
  }

  .related-block h2 {
    margin-bottom: 18px;
    font-size: clamp(24px, 6.2vw, 29px);
    line-height: 1.02;
  }

  .content-main > .content-body + .related-block,
  .content-main > .related-block + .related-block {
    margin-top: 48px;
  }
}
