.audio-player {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;

	background: #ffffff;
	/* border: 1px solid rgba(0, 0, 0, 0.08); */
	border-radius: 0;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.play-btn {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	border: none;
	cursor: pointer;

	background: linear-gradient(135deg, #4baaff, #63a1ff);
	color: white;
	font-size: 18px;
	font-weight: bold;

	display: flex;
	justify-content: center;
	align-items: center;

	transition: transform 0.1s ease, box-shadow 0.2s ease;
}

.play-btn:hover {
	box-shadow: 0 4px 10px rgba(70, 130, 255, 0.4);
}

.play-btn:active {
	transform: scale(0.92);
}

.progress-bar {
	flex: 1;
	height: 6px;
	background: #e2e8f0;
	border-radius: 50px;
	cursor: pointer;
	position: relative;
	overflow: hidden;
}

.progress-fill {
	height: 100%;
	background: linear-gradient(135deg, #4baaff, #0a49a5);
	width: 0%;
	border-radius: inherit;
	transition: width 0.1s linear;
}

.time {
	width: 50px;
	font-size: 12px;
	color: #555;
	text-align: right;
}

.scroll-bottom-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #0a49a5, #4baaff);
  color: #fff;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(8px) scale(0.95);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  z-index: 50;
}

/* Коли кнопка відображається — легкий "поп" + пульс */
.scroll-bottom-btn.visible {
  transform: translateY(0) scale(1);
  animation: scroll-btn-pulse 1.8s ease-out infinite;
}

/* Hover-підсвітка */
.scroll-bottom-btn:hover {
  filter: brightness(1.1);
  box-shadow: 0 8px 22px rgba(0, 110, 255, 0.35);
}

/* Стрілка всередині — легкий bounce вниз */
.scroll-bottom-btn__icon {
  display: inline-block;
  animation: arrow-bounce 1s ease-in-out infinite;
}

/* Пульс кнопки */
@keyframes scroll-btn-pulse {
  0% {
    transform: translateY(0) scale(1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  }
  50% {
    transform: translateY(0) scale(1.06);
    box-shadow: 0 0 0 8px rgba(75, 170, 255, 0.25);
  }
  100% {
    transform: translateY(0) scale(1);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  }
}

/* Анімація стрілки вниз */
@keyframes arrow-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

/* Контейнер стрілок */
/* Контейнер для трьох стрілок */
.arrow-stack {
  position: relative;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* CSS-стрілка — чистий border-triangle */
.arrow {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;

  /* Робимо маленьку стилізовану стрілку */
  width: 0;
  height: 0;

  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid #ffffff; /* колір стрілки */

  /* Плавна анімація падіння */
  animation: arrowFlow 1.4s infinite cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* Каскадні затримки */
.arrow:nth-child(1) {
  animation-delay: 0s;
}
.arrow:nth-child(2) {
  animation-delay: 0.25s;
}
.arrow:nth-child(3) {
  animation-delay: 0.5s;
}

/* Плавний рух вниз + fade-out + scale */
@keyframes arrowFlow {
  0% {
    top: 10%;
    opacity: 0;
    transform: translateX(-50%) scale(0.7);
  }
  20% {
    top: 25%;
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
  50% {
    top: 55%;
    opacity: 1;
    transform: translateX(-50%) scale(1);
  }
  80% {
    top: 85%;
    opacity: 0.3;
    transform: translateX(-50%) scale(0.85);
  }
  100% {
    top: 115%;
    opacity: 0;
    transform: translateX(-50%) scale(0.55);
  }
}

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, menu, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
main, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, main, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

menu, ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote::before, blockquote::after,
q::before, q::after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  /* Темніший фон + легкий градієнт */
  background:
    linear-gradient(135deg, rgba(7, 12, 32, 0.96), rgba(10, 25, 61, 0.96));
  padding: 10px 16px;
  display: none;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

@media (max-width: 960px) {
  .main-header {
    display: flex;
  }
}

.left {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Якщо захочеш додати текст/лого */
.logo {
  font-weight: 700;
  font-size: 18px;
  color: #e5efff;
}

.right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* Кнопка Back – вторинна, але помітна */
.back-btn-header {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(15, 23, 42, 0.92);
  color: #e5e7eb;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.65);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.6);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.back-btn-header:hover {
  background: rgba(30, 64, 175, 0.95);
  box-shadow: 0 3px 10px rgba(37, 99, 235, 0.75);
  transform: translateY(-1px);
}

.arrow-header {
  font-size: 16px;
  line-height: 1;
}

/* Головна CTA-кнопка Channel Info */
.channel-info-btn2 {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #0a49a5, #4baaff);
  border-radius: 999px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;

  box-shadow:
    0 0 10px rgba(59, 130, 246, 0.7),
    0 0 18px rgba(56, 189, 248, 0.65);
  transition: transform 0.18s ease, box-shadow 0.25s ease;
}

.channel-info-btn2:hover {
  transform: scale(1.04);
  box-shadow:
    0 0 14px rgba(96, 165, 250, 0.95),
    0 0 26px rgba(56, 189, 248, 0.9);
}

/* Пульсуюча "аура" */
.channel-info-btn2::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.9);
  opacity: 0.6;
  animation: channelPulse 1.9s infinite ease-out;
  z-index: -1;
}

@keyframes channelPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.22);
    opacity: 0;
  }
}

/* Стрілка всередині кнопки */
.channel-info-btn2 .arrow-blink-btn {
  width: 13px;
  height: 13px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
  animation: arrowBlink 1.1s infinite;
}

@keyframes arrowBlink {
  0% {
    opacity: 1;
    transform: rotate(-45deg) translate(0, 0);
  }
  50% {
    opacity: 0.45;
    transform: rotate(-45deg) translate(3px, 3px);
  }
  100% {
    opacity: 1;
    transform: rotate(-45deg) translate(0, 0);
  }
}

/* Трохи піджати на дуже малих екранах */
@media (max-width: 480px) {
  .main-header {
    padding: 8px 10px;
  }

  .back-btn-header {
    padding: 4px 10px;
    font-size: 12px;
  }

  .channel-info-btn2 {
    padding: 6px 14px;
    font-size: 13px;
  }
}

.footer {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
}

.corp {
  color: #070708;
  text-align: center;
  font-family: Poppins;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  /* display: none; */
}
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 495px;
  margin: 0 auto;
  padding: 0 15px;
}

.title {
  margin: 0 auto;
  max-width: 403px;
  color: #070708;
  text-align: center;
  font-family: Roboto;
  font-size: 17px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px; /* 100% */
  letter-spacing: 0.18px;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .title {
    font-size: 17px;
  }
}

.subtitle {
  color: #070708;
  text-align: center;
  font-family: Roboto;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 22px; /* 157.143% */
  letter-spacing: 0.5px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
  text-transform: uppercase;
  margin-top: 8px;
}

@media (max-width: 768px) {
  .subtitle {
    font-size: 12px;
  }
}

.image {
  display: block;
  margin: 20px 0 28px;
  max-width: 495px;
  object-fit: contain;
  width: 100%;
  border-radius: 12px;
  max-height: 320px;
}

.video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  max-width: 495px; /* або 100% — якщо хочеш всю ширину контейнера */
  margin: 20px 0 28px;
  object-fit: contain;
}

.audio {
  width: 100%;
  max-width: 495px;
  margin: 0 0 20px;
}

.info-wrapper {
  width: 100%;
}

.info-inner {
  display: flex;
  align-items: center;
  /* justify-content: center; */
  gap: 16px;
  width: 100%;
}

.avatar {
  max-width: 70px;
  max-height: 70px;
  object-fit: cover;
  width: 100%;
  border-radius: 50%;
}

.wrap-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* min-width: max-content; */
  /* white-space: nowrap; */
  /* overflow: hidden; */
  text-overflow: ellipsis;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto; /* Додає дефіси там, де можливо */
}

.name {
  color: #070708;
  font-family: Roboto;
  font-size: 17px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px; /* 100% */
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto; /* Додає дефіси там, де можливо */
}

@media (max-width: 768px) {
  .name {
    font-size: 17px;
  }
}

.type {
  color: #070708;
  font-family: Roboto;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px; /* 150% */
  letter-spacing: 0.15px;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto; /* Додає дефіси там, де можливо */
}

/* @media (max-width: 768px) {
  .type {
    font-size: 14px;
  }
} */

.members  {
  color: #070708;
  font-family: Roboto;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
  letter-spacing: 0.25px;
}

@media (max-width: 768px) {
  .members {
    font-size: 12px;
  }
}

.description {
  max-width: 478px;
  margin: 0 auto;
  color: #070708;
  white-space: nowrap;
  font-family: Roboto;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
  letter-spacing: 0.5px;
  text-wrap: revert;
  padding: 12px 0 0;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto; /* Додає дефіси там, де можливо */
}

.link-button {
  display: block;
  font-family: Roboto ,sans-serif;
  font-size: 13px;
  margin: 20px 0 8px;
  color: #5b6166;
  text-decoration: none;

  &:hover {
    text-decoration: underline;
  }
}

/* @media (max-width: 768px) {
  .description {
    font-size: 14px;
  }
} */

.text {
  color: #070708;
  text-align: center;
  font-family: Poppins;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  max-width: 268px;
  padding: 10px 0 12px;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto; /* Додає дефіси там, де можливо */
}

/* @media (max-width: 768px) {
  .text {
    font-size: 12px;
  }
} */

.btn {
  display: flex;
  width: 190px;
  height: 51px;
  padding: 16px 32px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  border-radius: 14px;
  background: #0A49A5;
  text-decoration: none;
  border: none;
  outline: none;

  color: #FFF;
  text-align: center;
  font-family: Roboto;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 19px; /* 118.75% */
  cursor: pointer;
}

@media (max-width: 768px) {
  .btn {
    font-size: 14px;
    height: 39px;
    padding: 7px 32px;
  }
}

.avatar-text {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #070708;
  font-family: Roboto;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  text-transform: uppercase;
  background-color: #efe2ea;
  width: 70px;
  height: 70px;

  border-radius: 50%;
}

.app-opening-indicator {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  width: 100%;
  height: 100%;
  font-size: 16px;
  color: #a2a1a1;
  font-weight: 500;
  font-family: Roboto;
}

.dots::after {
  content: '';
  display: inline-block;
  width: 1em;
  text-align: left;
  animation: dots-appear 1s steps(4, end) infinite;
}

@keyframes dots-appear {
  0% {
    content: '';
  }
  25% {
    content: '.';
  }
  50% {
    content: '..';
  }
  75% {
    content: '...';
  }
  100% {
    content: '';
  }
}

.button-group {
  display: flex;
  gap: 8px;
}

.icon-button {
  border: none;
  max-width: 190px;
  max-height: 48px;
}

.icon-button:hover {
  background-color: #e0e0e0;
}

.icon-button img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* @media (max-width: 668px) {
  .button-group {
    flex-wrap: wrap;
    justify-content: center;
  }
} */

/* Загальне тло – світле */
.e-page {
  /* background: #f4f5f7; */
  color: #1a1a1a;
  font-family: Roboto ,sans-serif;
}

/* Щоб фоновий патерн не ламав верстку */
.e-main {
  position: relative;
}

.e-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-position: center;
  background-size: cover;
}

.e-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 24px 16px 0;
  display: flex;
  gap: 24px;
}

.e-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 2;
  min-width: 0;
}

.e-right-wrapper {
  flex: 1;
  min-width: 280px;
  border: none;
}

.e-input-wrap {
  width: 100%;
  border-radius: 16px;
}

/* Права колонка */
.e-right {
  flex: 1;
  min-width: 280px;
  transition: top 0.3s ease;
}

.e-right--open {
  top: 0;
}

@media (max-width: 960px) {
  .e-inner {
    flex-direction: column;
  }
  .e-right {
    order: -1;
    position: fixed;
    top: -330px;
  }
}

/* === КАРТОЧКА ПОСТА === */
.e-post-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);

  /* ⬇️ нове */
  flex-shrink: 0;       /* або flex: 0 0 auto; */
}

.e-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 15px 5px;
  font-family: Roboto ,sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 16px;
  background: linear-gradient(135deg, #63a1ff, #aed6fc);
}

/* Сітка з картинок */
.e-post-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  background: #eaeaea;
}

.e-post-image {
  position: relative;
  padding-bottom: 60%;
  overflow: hidden;
}

.e-post-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Контент */
.e-post-body {
  padding: 16px 18px 14px;
}

.e-post-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #111;
}

.e-post-text {
  font-size: 14px;
  line-height: 1.55;
  color: #333;
  opacity: 0.9;
  margin-bottom: 12px;
}

.e-post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: 0.8;
  color: #555;
}

.e-post-source {
  color: #2a62ff;
}

.e-post-reactions {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: #444;

  background: rgba(0, 0, 0, 0.04);       /* легкий фон */
  padding: 6px 10px;
  border-radius: 12px;                    /* капсула */
  backdrop-filter: blur(4px);             /* легкий блюр */
  border: 1px solid rgba(255,255,255,0.4);
  align-items: center;
}

.e-post-views {
  display: flex;
  align-items: center;
  gap: 4px;
}

.e-channel-search {
  position: sticky;
  top: 80px;

  width: 100%;
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);

  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.5);

  padding: 4px;
  z-index: 50;
}

/* Сам інпут */
.e-channel-input {
  width: 100%;
  padding: 12px 16px;

  font-size: 15px;
  color: #1a1a1a;

  border: none;
  border-radius: 12px;

  background: rgba(255, 255, 255, 0.9);

  outline: none;
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

/* Placeholder */
.e-channel-input::placeholder {
  color: #9da5b4;
  opacity: 0.8;
  font-weight: 400;
}

/* Фокус */
.e-channel-input:focus {
  background: #ffffff;
  box-shadow:
    0 0 0 2px rgba(66, 133, 244, 0.25),
    0 4px 16px rgba(66, 133, 244, 0.25);
}

/* === КАНАЛ СПРАВА === */
.e-channel-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 18px 16px 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 140px;
}

/* Хедер каналу */
.e-channel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.e-channel-avatar-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: #eef0f4;
}

.e-channel-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.e-channel-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.e-channel-title {
  font-size: 18px;
  font-weight: 700;
  color: #222;
}

.e-channel-username {
  font-size: 14px;
  color: #777;
}

/* Статистика */
.e-channel-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  row-gap: 10px;
  column-gap: 12px;
  margin-bottom: 14px;
}

.e-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.e-stat-value {
  font-weight: 600;
  font-size: 15px;
  color: #222;
}

.e-stat-label {
  font-size: 12px;
  color: #888;
}

/* Опис */
.e-channel-about {
  font-size: 13px;
  line-height: 1.5;
  color: #444;
  margin-bottom: 12px;
}

.e-channel-host {
  font-size: 12px;
  color: #777;
  margin-bottom: 16px;
}

/* Кнопка загрузки */
.e-download-btn {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #0A49A5, #4baaff);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  /* margin-bottom: 12px; */
  transition: transform 0.08s ease, box-shadow 0.15s ease, filter 0.15s ease;
  text-decoration: none;
  text-align: center;
}

.e-download-btn:hover {
  filter: brightness(1.07);
  box-shadow: 0 8px 18px rgba(0, 110, 255, 0.35);
}

.e-download-btn:active {
  transform: translateY(1px);
}

/* Футер */
.e-channel-footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: #666;
}

.e-channel-footer-links .e-link {
  color: inherit;
  text-decoration: none;
}

.e-channel-footer-links .e-link:hover {
  text-decoration: underline;
}

.e-post-media-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
}

.e-post-media video,
.e-post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Якщо захочеш, можна робити перший елемент (відео) більшим */
.e-post-media--video:first-child {
  grid-column: span 2;
}

.single {
  grid-template-columns: 1fr !important;
}

.e-post-media {
  position: relative;
  overflow: hidden;
  border-radius: 0;   /* прибрали повністю */
  background: #000;
}

.e-post-media--video {
  aspect-ratio: 16 / 9; /* тримаємо формат */
}

.e-right-toggle {
  display: none;
}

/* Мобільний режим */
@media (max-width: 960px) {
  .e-inner {
    flex-direction: column;
  }

  .e-right {
    /* прибираємо з flex-розкладки */
    flex: none;
    min-width: auto;

    /* робимо виїжджаючу панель */
    position: fixed;
    top: 72px;               /* під твій header */
    right: -100%;            /* схована за екраном */
    width: 90vw;
    max-width: 360px;
    z-index: 1000;
    transition: right 0.25s ease;
  }

  .e-right.e-right--open {
    display: flex;
    flex-direction: column;
    gap: 12px;
    right: 16px;             /* виїхала майже до краю */
  }

  /* щоб картка скролилась всередині */
  .e-channel-card {
    max-height: calc(100vh - 96px);
    overflow-y: auto;
  }

  /* маленька кнопка зліва */
  .e-right-toggle {
    position: fixed;
    left: 0;
    top: 80px;
    width: 15px;
    height: 50px;
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
    border: none;
    background: linear-gradient(135deg, #0a49a5, #4baaff);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
    z-index: 1100;
    cursor: pointer;

    animation: rightTogglePulse 2s infinite ease-in-out;
  }

  .e-right-toggle:hover {
    filter: brightness(1.1);
  }
}

/* ✨ Мʼякий, приємний імпульс */
@keyframes rightTogglePulse {
  0% {
    transform: scale(1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  }
  50% {
    transform: scale(1.12);
    box-shadow: 0 0 12px 6px rgba(75, 170, 255, 0.45);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  }
}

.e-image-modal {
	position: absolute;
	inset: 0;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	cursor: zoom-out;
	border-radius: inherit;
}

.e-image-modal::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	z-index: 0;
}

.e-image-modal__bg {
	position: absolute;
	inset: 0;
	background-position: center;
	background-size: cover;
	filter: blur(20px);
	transform: scale(1.1);
	z-index: -1;
}

.e-image-modal__content {
	position: relative;
	z-index: 1;
	max-width: 95%;
	max-height: 95%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.e-image-modal__content img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	border-radius: 12px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.e-image-modal__close {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: none;
	background: rgba(0, 0, 0, 0.7);
	color: #fff;
	font-size: 22px;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}

.e-date-separator {
  position: relative;
  padding: 6px 14px;
  width: max-content;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);

  font-size: 12px;
  font-weight: 600;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.07em;

  background: linear-gradient(135deg, #63a1ff, #aed6fc);

  border-radius: 10px;

  backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);

  user-select: none;
}

.e-header-logo {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.e-post-time {
  display: flex;
  align-items: center;
}


.e-header-link {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: inherit;
}
.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main {
  display: flex;
  align-items: center;
  flex-grow: 1;
  padding: 6px 0 22px;
  width: 100%;
}

@media (max-width: 768px) {
  .main {
    display: block;
  }
}

.not-found-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.not-found-img {
  max-width: 240px;
  object-fit: contain;
}

.not-found-text {
  text-align: center;
  font-family: Roboto;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 30px;
  color: #2c2c33;
}


/* @media (max-width: 768px) {
  .not-found-text {
    display: block;
  }
} */

.paragraph {
  margin: 0 auto;
  max-width: 478px;
  color: #070708;
  text-align: center;
  font-family: Roboto;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.18px;
  text-transform: uppercase;
}

