:root {
  --social-ink: #0f172a;
  --social-muted: #64748b;
  --social-soft: #fdf2f8;
  --social-warm: #fff7ed;
  --social-line: #f5d0e6;
  --social-accent: #d946ef;
  --social-accent-strong: #a21caf;
  --social-fire: #fb923c;
  --social-telegram: #229ed9;
  --social-youtube: #ff0033;
  --social-instagram: #e1306c;
  --social-shadow: 0 22px 70px rgba(162, 28, 175, 0.12);
}

.social-page {
  color: var(--social-ink);
}

.social-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.social-hero,
.social-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 48px;
  background:
    linear-gradient(135deg, rgba(253, 242, 248, 0.94), rgba(255, 247, 237, 0.9)),
    linear-gradient(90deg, rgba(217, 70, 239, 0.08), rgba(251, 146, 60, 0.08));
  border-bottom: 1px solid rgba(245, 208, 230, 0.9);
}

.social-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 42px;
  align-items: end;
}

.social-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 26px;
  color: var(--social-muted);
  font-size: 13px;
  font-weight: 700;
}

.social-breadcrumb a {
  color: var(--social-accent-strong);
  text-decoration: none;
}

.social-eyebrow {
  margin: 0 0 14px;
  color: var(--social-accent-strong);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.social-hero h1,
.social-detail-hero h1 {
  max-width: 850px;
  margin: 0;
  color: var(--social-ink);
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: 0;
}

.social-hero__lead,
.social-detail-hero__lead {
  max-width: 760px;
  margin: 24px 0 0;
  color: #475569;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.social-channel-strip {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 18px;
  align-items: start;
  padding: 24px;
  border: 1px solid rgba(245, 208, 230, 0.95);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--social-shadow);
  backdrop-filter: blur(14px);
}

.social-channel-strip__icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--social-telegram), #6dd5ff);
  box-shadow: 0 14px 30px rgba(34, 158, 217, 0.26);
}

.social-channel-strip svg,
.social-platform-badge svg,
.social-empty-state svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.social-channel-strip__label {
  margin: 0 0 6px;
  color: var(--social-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.social-channel-strip h2 {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 900;
}

.social-channel-strip p {
  margin: 0 0 14px;
  color: var(--social-muted);
  font-size: 14px;
  line-height: 1.5;
}

.social-channel-strip a,
.social-source-link,
.social-side-panel a,
.social-original-box a,
.social-link-block a {
  color: var(--social-accent-strong);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.social-filterbar {
  position: sticky;
  top: 73px;
  z-index: 40;
  border-bottom: 1px solid rgba(245, 208, 230, 0.9);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(16px);
}

.social-filterbar__inner {
  display: flex;
  gap: 18px;
  align-items: center;
  padding-top: 14px;
  padding-bottom: 14px;
  overflow-x: auto;
}

.social-filterbar__group {
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 0 0 auto;
}

.social-filterbar__group span {
  color: var(--social-muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-filterbar a {
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 9px 14px;
  color: #475569;
  background: #fff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.social-filterbar a:hover {
  border-color: var(--social-accent);
  color: var(--social-accent-strong);
  transform: translateY(-1px);
}

.social-filterbar a.is-active {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--social-accent), var(--social-fire));
  box-shadow: 0 12px 28px rgba(217, 70, 239, 0.22);
}

.social-catalog {
  padding-top: 54px;
  padding-bottom: 78px;
}

.social-catalog__header {
  display: flex;
  gap: 20px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 26px;
}

.social-catalog__header h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.05;
}

.social-catalog__header > p {
  margin: 0;
  color: var(--social-muted);
  font-size: 14px;
  font-weight: 800;
}

.social-post-grid {
  column-count: 3;
  column-gap: 22px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.social-post-grid > li {
  display: inline-block;
  width: 100%;
  margin: 0 0 22px;
  break-inside: avoid;
}

.social-post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(245, 208, 230, 0.95);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 45px rgba(162, 28, 175, 0.09);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.social-post-card--text {
  border-radius: 26px;
}

.social-post-card:hover {
  border-color: rgba(217, 70, 239, 0.45);
  box-shadow: var(--social-shadow);
  transform: translateY(-4px);
}

.social-post-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, var(--social-soft), var(--social-warm));
}

.social-post-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(1.04);
  transition: transform .35s ease;
}

.social-post-card:hover .social-post-card__media img {
  transform: scale(1.035);
}

.social-platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 8px 11px;
  color: #fff;
  background: linear-gradient(135deg, var(--social-telegram), #57c7f7);
  box-shadow: 0 10px 20px rgba(34, 158, 217, 0.25);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.social-platform-badge--youtube {
  background: linear-gradient(135deg, var(--social-youtube), #fb7185);
}

.social-platform-badge--instagram {
  background: linear-gradient(135deg, var(--social-instagram), var(--social-fire));
}

.social-post-card__media .social-platform-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
}

.social-post-card__body {
  flex: 1;
  padding: 22px 22px 16px;
}

.social-post-card__meta,
.social-detail-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
  color: var(--social-muted);
  font-size: 12px;
  font-weight: 800;
}

.social-post-card__meta span,
.social-detail-hero__badges > span:not(.social-platform-badge) {
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 7px 10px;
  background: #fff;
}

.social-post-card__platform {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  color: var(--social-telegram);
}

.social-post-card__platform svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.social-post-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.16;
}

.social-post-card h3 a {
  color: var(--social-ink);
  text-decoration: none;
}

.social-post-card h3 a:hover {
  color: var(--social-accent-strong);
}

.social-post-card p {
  margin: 0 0 16px;
  color: #475569;
  font-size: 15px;
  line-height: 1.62;
}

.social-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.social-tags a {
  border-radius: 999px;
  padding: 7px 10px;
  color: var(--social-accent-strong);
  background: #fae8ff;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.social-tags a:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--social-accent), var(--social-fire));
  transform: translateY(-1px);
}

.social-post-card__footer {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px 20px;
  border-top: 1px solid rgba(245, 208, 230, 0.8);
}

.social-author {
  display: inline-flex;
  min-width: 0;
  gap: 10px;
  align-items: center;
  color: var(--social-ink);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.social-author img,
.social-author__initial {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 999px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--social-accent), var(--social-fire));
  color: #fff;
}

.social-author__initial {
  display: grid;
  place-items: center;
}

.social-author span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-empty-state {
  display: grid;
  place-items: center;
  gap: 12px;
  min-height: 260px;
  border: 1px solid rgba(245, 208, 230, 0.95);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--social-muted);
  font-weight: 800;
}

.social-empty-state div {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--social-telegram), #57c7f7);
}

.social-detail-hero {
  padding-bottom: 38px;
}

.social-detail-hero__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 34px;
  align-items: end;
}

.social-detail-hero h1 {
  max-width: 900px;
  font-size: clamp(36px, 5.3vw, 62px);
}

.social-source-button {
  display: block;
  border-radius: 26px;
  padding: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--social-telegram), #60a5fa);
  box-shadow: 0 18px 40px rgba(34, 158, 217, 0.24);
  text-decoration: none;
}

.social-source-button span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.social-source-button strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.16;
}

.social-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 28px;
  color: var(--social-muted);
  font-size: 14px;
  font-weight: 800;
}

.social-author--large img,
.social-author__initial--large {
  width: 46px;
  height: 46px;
}

.social-author--large span {
  display: grid;
  gap: 3px;
}

.social-author--large small,
.social-detail-channel small {
  color: var(--social-muted);
  font-size: 12px;
  font-weight: 700;
}

.social-detail-meta__divider {
  width: 1px;
  height: 28px;
  background: #e2e8f0;
}

.social-detail-channel {
  display: grid;
  gap: 2px;
  color: var(--social-ink);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.social-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  gap: 52px;
  align-items: start;
  padding-top: 52px;
  padding-bottom: 68px;
}

.social-article-body {
  min-width: 0;
}

.social-video-block,
.social-image-block {
  margin: 0 0 34px;
}

.social-video-block__frame {
  overflow: hidden;
  border: 1px solid rgba(245, 208, 230, 0.95);
  border-radius: 28px;
  aspect-ratio: 16 / 9;
  background: #020617;
  box-shadow: var(--social-shadow);
}

.social-video-block iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.social-image-block img {
  width: 100%;
  display: block;
  border: 1px solid rgba(245, 208, 230, 0.95);
  border-radius: 28px;
  box-shadow: var(--social-shadow);
}

.social-video-block figcaption,
.social-image-block figcaption {
  margin-top: 10px;
  color: var(--social-muted);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.social-article-section {
  margin: 0 0 32px;
}

.social-article-section h2,
.social-original-box h2,
.social-side-panel h2,
.social-callout h2 {
  margin: 0 0 12px;
  color: var(--social-ink);
  font-size: 25px;
  font-weight: 900;
  line-height: 1.16;
}

.social-article-section p {
  margin: 0 0 14px;
  color: #475569;
  font-size: 18px;
  line-height: 1.78;
}

.social-article-body blockquote {
  margin: 0 0 34px;
  border-left: 5px solid var(--social-accent);
  border-radius: 0 22px 22px 0;
  padding: 22px 24px;
  color: var(--social-ink);
  background: linear-gradient(135deg, #fdf4ff, #fff7ed);
  font-size: 20px;
  font-weight: 900;
  line-height: 1.55;
}

.social-callout {
  margin: 0 0 34px;
  padding: 24px;
  border: 1px solid rgba(245, 208, 230, 0.95);
  border-radius: 28px;
  background: linear-gradient(135deg, #fdf4ff, #fff7ed);
  color: #475569;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.65;
}

.social-link-block {
  margin: 0 0 28px;
}

.social-original-box {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  margin: 42px 0 24px;
  padding: 24px;
  border: 1px solid rgba(245, 208, 230, 0.95);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(162, 28, 175, 0.08);
}

.social-original-box p {
  margin: 0 0 5px;
  color: var(--social-muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.social-original-box h2 {
  margin: 0;
  font-size: 22px;
}

.social-tags--detail {
  margin-top: 20px;
}

.social-side-rail {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 16px;
  max-height: calc(100vh - 124px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: 2px;
  scrollbar-width: thin;
}

.social-side-panel {
  border: 1px solid rgba(245, 208, 230, 0.95);
  border-radius: 26px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(162, 28, 175, 0.07);
}

.social-side-panel h2 {
  font-size: 17px;
}

.social-side-panel p {
  margin: 0 0 12px;
  color: #475569;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.social-side-panel--accent {
  background: linear-gradient(135deg, #fdf4ff, #fff7ed);
}

.social-side-panel dl,
.social-side-panel dd {
  margin: 0;
}

.social-side-panel dl {
  display: grid;
  gap: 14px;
}

.social-side-panel dt {
  margin-bottom: 4px;
  color: var(--social-accent-strong);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.social-side-panel dd {
  color: #475569;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
}

.social-side-rail .lead-form-section--compact {
  border-radius: 26px;
  box-shadow: 0 18px 44px rgba(162, 28, 175, 0.11);
}

.social-side-rail .lead-form-section--compact > div:first-child {
  padding: 14px 18px !important;
}

.social-side-rail .lead-form-section--compact > div:last-child {
  padding: 14px 18px 16px !important;
}

.social-side-rail .lead-form-section--compact h2 {
  margin: 0;
  font-size: 18px !important;
  line-height: 1.15;
  letter-spacing: 0;
}

.social-side-rail .lead-form-section--compact > div:first-child p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px !important;
  font-weight: 800;
  line-height: 1.35;
}

.social-side-rail .lead-form-section--compact form {
  display: grid;
  gap: 8px !important;
}

.social-side-rail .lead-form-section--compact .space-y-4 > :not([hidden]) ~ :not([hidden]) {
  margin-top: 0;
}

.social-side-rail .lead-form-section--compact label {
  margin-bottom: 3px !important;
  font-size: 11px !important;
  line-height: 1.2;
}

.social-side-rail .lead-form-section--compact input,
.social-side-rail .lead-form-section--compact select,
.social-side-rail .lead-form-section--compact textarea {
  min-width: 0;
  min-height: 39px;
  padding: 8px 11px !important;
  font-size: 12px !important;
  line-height: 1.35;
}

.social-side-rail .lead-form-section--compact textarea {
  min-height: 48px;
}

.social-side-rail .lead-form-section--compact button {
  margin-top: 1px !important;
  padding: 11px 14px !important;
  line-height: 1.2;
  white-space: normal;
}

.social-related {
  padding-bottom: 78px;
}

.social-related__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.social-related-card {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(245, 208, 230, 0.95);
  border-radius: 24px;
  padding: 22px;
  color: var(--social-ink);
  background: #fff;
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(162, 28, 175, 0.07);
}

.social-related-card span {
  color: var(--social-muted);
  font-size: 12px;
  font-weight: 900;
}

.social-related-card strong {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

@media (max-width: 960px) {
  .social-hero__grid,
  .social-detail-hero__header,
  .social-detail-layout {
    grid-template-columns: 1fr;
  }

  .social-post-grid {
    column-count: 2;
  }

  .social-side-rail {
    position: static;
    max-height: none;
    overflow: visible;
    overscroll-behavior: auto;
  }
}

@media (max-width: 680px) {
  .social-container {
    padding: 0 18px;
  }

  .social-hero,
  .social-detail-hero {
    padding: 42px 0 34px;
  }

  .social-filterbar {
    top: 65px;
  }

  .social-filterbar__inner {
    align-items: flex-start;
  }

  .social-filterbar__group {
    flex-direction: column;
    align-items: flex-start;
  }

  .social-catalog__header,
  .social-original-box {
    align-items: flex-start;
    flex-direction: column;
  }

  .social-post-grid {
    column-count: 1;
  }

  .social-related__grid {
    grid-template-columns: 1fr;
  }

  .social-post-card__footer,
  .social-detail-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .social-detail-meta__divider {
    display: none;
  }

  .social-article-section p {
    font-size: 16px;
  }
}
