.blog-inner {
    display: flex;
    flex-direction: column; /* вертикальный стек */
    align-items: center;    /* центрируем всё внутри */
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

/* Пагинатор сверху, горизонтально */
.pagination {
    width: var(--myPostWidth);      /* та же ширина, что у постов */
    margin: 0 auto 20px auto;       /* центрируем сам блок */
    
    display: flex;
    justify-content: flex-end;      /* стрелки справа */
    align-items: center;
    gap: 12px;
}

.pagination button {
    font-size: var(--myMainFontSize);
    padding: 6px 14px;
    cursor: pointer;
    border: none;
    background: rgb(19, 19, 19);
    color: #b6755d;
}

.pagination button:disabled {
    opacity: 0.4;
    cursor: default;
}

/* Контейнер с постами вертикально */
#postContainer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center; /* центрируем сами посты */
    width: 100%;
}

/* Каждый пост занимает всю ширину контейнера */
.post {
    width: var(--myPostWidth);
    background: rgb(19, 19, 19);
    font-family: "Source Code Pro", monospace;
    color: #b6755d;
    text-decoration: none;
    font-weight: 400;
    padding: 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Заголовок */
.post-title {
    font-size: var(--myPostTitleFontSize);
    font-weight: 600;
}

/* Дата */
.post-date {
    font-size: var(--myPostDateFontSize);
    opacity: 0.8;
}

/* Тело поста */
.post-text {
    font-size: var(--myPostTextFontSize);
    line-height: 1.5;
    white-space: pre-line;
}

.page-info {
    font-family: "Source Code Pro", monospace;
    color: #b6755d;
    text-decoration: none;
    font-weight: 400;
    font-size: var(--myMainFontSize);
    min-width: 40px;
    text-align: center;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-image {
    width: 100%;
    max-width: 100%;
    margin-top: 10px;
    border-radius: 6px;
}

.post-video {
    width: 100%;             /* ширина под контейнер поста */
    aspect-ratio: 16 / 9;    /* фиксированное соотношение сторон */
    margin-top: 10px;
    border-radius: 6px;
    object-fit: cover;       /* чтобы видео красиво вписывалось */
}

.post-embed {
    width: 100%;
    aspect-ratio: 16 / 9;  /* фиксированное соотношение 16:9 */
    border: none;
    margin-top: 10px;
    border-radius: 6px;
}

.post-link {
  color: #44a5e6;
  text-decoration: underline;
}


