/* ============================================================
   Новости, акции, блог — списки и детальные страницы.
   Единые компоненты: .post-featured (широкий блок первой записи),
   .post-card (карточка в сетке), .post-badges / .post-badge (плашки),
   .post-meta (дата · время чтения · просмотры), .post-detail (текст).
   Палитра и радиусы — как у карточки товара (product-card-redesign.css).
   ============================================================ */

:root {
    --post-font: 'Montserrat', 'Helvetica', Arial, sans-serif;
    --post-accent: #9067a8;
    --post-accent-dark: #7a569a;
    --post-accent-text: #80549b;
    --post-accent-soft: #f0e6f7;
    --post-accent-hover: #f5eff8;
    --post-border: #e0d4ed;
    --post-ink: #2b2238;
    --post-text: #4a4152;
    --post-muted: #6b5180;
    --post-image-bg: #f5f0fa;
    --post-radius: 16px;
    --post-shadow: 0 2px 16px rgba(144, 103, 168, .10);
    --post-shadow-hover: 0 6px 28px rgba(144, 103, 168, .22);
}

.posts {
    font-family: var(--post-font);
}

/* ------------------------------------------------------------
   Плашки
   ------------------------------------------------------------ */
.post-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.post-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 26px;
    padding: 0 12px;
    border-radius: 999px;
    font-family: var(--post-font);
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.post-badge__icon {
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
}

/* рубрика: новость / акция / блог */
.post-badge_news,
.post-badge_blog {
    background-color: var(--post-accent-soft);
    color: var(--post-accent-text);
}

.post-badge_promo {
    background-color: #fde8e8;
    color: #b73b47;
}

/* «Выбор редакции» */
.post-badge_choice {
    background-color: #fff3c4;
    color: #8a6a00;
}

/* на фото плашки полупрозрачные светлые — читаются на любом снимке */
.post-card__image .post-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
}

.post-card__image .post-badge_news,
.post-card__image .post-badge_blog {
    background-color: rgba(255, 255, 255, .92);
    color: var(--post-accent-text);
}

/* ------------------------------------------------------------
   Мета-строка
   ------------------------------------------------------------ */
.post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    font-family: var(--post-font);
    font-size: 13px;
    line-height: 1;
    color: var(--post-muted);
}

.post-meta__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.post-meta__icon {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    color: var(--post-accent);
}

/* ------------------------------------------------------------
   Широкий блок первой записи
   ------------------------------------------------------------ */
.post-featured {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    margin: 0 0 20px;
    border-radius: var(--post-radius);
    background-color: #f7f2fb;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .3s ease;
}

.post-featured:hover {
    box-shadow: var(--post-shadow-hover);
    text-decoration: none;
}

.post-featured__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    padding: 40px 48px;
    min-width: 0;
}

.post-featured__title {
    display: block;
    font-size: 28px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--post-ink);
    transition: color .2s ease;
}

.post-featured:hover .post-featured__title {
    color: var(--post-accent-text);
}

.post-featured__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.6;
    color: var(--post-text);
}

.post-featured__image {
    display: block;
    min-height: 340px;
    background-color: var(--post-image-bg);
    overflow: hidden;
}

.post-featured__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.post-featured:hover .post-featured__image img {
    transform: scale(1.04);
}

/* ------------------------------------------------------------
   Сетка карточек: 3 в ряд по 380px, зазор 20px
   ------------------------------------------------------------ */
.posts__grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 8px;
}

.post-card {
    display: flex;
    flex-direction: column;
    flex: 0 0 380px;
    width: 380px;
    max-width: 100%;
    border-radius: var(--post-radius);
    background-color: #fff;
    box-shadow: var(--post-shadow);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow .3s ease, transform .3s ease;
}

.post-card:hover {
    box-shadow: var(--post-shadow-hover);
    transform: translateY(-2px);
    text-decoration: none;
}

.post-card__image {
    position: relative;
    display: block;
    height: 220px;
    background-color: var(--post-image-bg);
    overflow: hidden;
}

.post-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.post-card:hover .post-card__image img {
    transform: scale(1.05);
}

.post-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 10px;
    padding: 20px 20px 18px;
}

.post-card__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--post-ink);
    transition: color .2s ease;
}

.post-card:hover .post-card__title {
    color: var(--post-accent-text);
}

.post-card__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.55;
    color: var(--post-text);
}

.post-card__body .post-meta {
    margin-top: auto;
    padding-top: 6px;
    font-size: 12px;
}

/* ------------------------------------------------------------
   Слайдер «Новости и акции» на других страницах — скругление и
   ховер как у карточек (тема давала чёрно-белый фильтр и вуаль)
   ------------------------------------------------------------ */
.action-slider .action-item {
    border-radius: var(--post-radius) !important;
    overflow: hidden;
}

.action-slider .action-item .action-item__image img {
    transition: transform .4s ease;
}

.action-slider .action-item:hover .action-item__image img,
.action-item__image img:hover {
    filter: none !important;
    transform: scale(1.04);
}

.action-item:hover .action-item__image::before,
.action-item__image:hover::before {
    opacity: .3 !important;
}

/* ------------------------------------------------------------
   Детальная страница новости / статьи
   ------------------------------------------------------------ */
.article-inner {
    gap: 40px;
    align-items: flex-start;
}

.article-inner__content {
    padding: 0 0 40px !important;
}

.article-inner__content--wide .text-page {
    max-width: 820px;
}

.post-detail {
    font-family: var(--post-font);
}

.post-detail > .post-badges {
    margin-bottom: 16px;
}

.post-detail > .post-meta {
    margin: 0 0 28px;
}

.text-page .post-detail h1,
.article-inner__content .text-page h1 {
    margin: 0 0 16px;
    font-family: var(--post-font);
    font-size: 32px !important;
    font-weight: 400;
    line-height: 1.25;
    text-align: left;
    color: var(--post-ink);
}

/* типографика текста записи — одинаковая на новостях и в блоге */
.post-detail__text,
.post-detail__text p,
.post-detail__text li {
    font-family: var(--post-font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--post-text);
}

.post-detail__text p {
    margin: 0 0 16px;
}

.post-detail__text h2,
.post-detail__text h3,
.post-detail__text h4 {
    margin: 32px 0 14px;
    font-family: var(--post-font);
    font-weight: 500;
    line-height: 1.3;
    color: var(--post-ink);
    text-align: left;
}

.post-detail__text h2 {
    font-size: 24px !important;
}

.post-detail__text h3 {
    font-size: 20px !important;
}

.post-detail__text h4 {
    font-size: 17px !important;
}

/* списки: тема красит маркеры в прозрачный синий и не двигает счётчик
   нумерации — перебиваем с запасом по специфичности */
.text-page .post-detail__text ul,
.text-page .post-detail__text ol {
    margin: 0 0 18px !important;
    padding-left: 0 !important;
    list-style: none !important;
}

.text-page .post-detail__text ul > li,
.text-page .post-detail__text ol > li {
    position: relative;
    margin: 0 0 8px !important;
    padding-left: 30px !important;
    font-size: 16px;
    line-height: 1.7;
    color: var(--post-text);
}

.text-page .post-detail__text ul > li::before {
    content: '' !important;
    position: absolute !important;
    top: 11px !important;
    left: 6px !important;
    width: 7px !important;
    height: 7px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--post-accent) !important;
    opacity: 1 !important;
}

.text-page .post-detail__text ol {
    counter-reset: post-ol !important;
}

.text-page .post-detail__text ol > li {
    counter-increment: post-ol !important;
}

.text-page .post-detail__text ol > li::before {
    content: counter(post-ol) !important;
    position: absolute !important;
    top: 3px !important;
    left: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 22px !important;
    height: 22px !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: var(--post-accent-soft) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    color: var(--post-accent-text) !important;
    opacity: 1 !important;
}

.post-detail__text a {
    color: var(--post-accent-text);
    text-decoration: underline;
    text-decoration-color: rgba(144, 103, 168, .4);
}

.post-detail__text a:hover {
    color: var(--post-accent-dark);
}

.post-detail__text blockquote {
    margin: 24px 0;
    padding: 18px 24px;
    border-left: 3px solid var(--post-accent);
    border-radius: 0 12px 12px 0;
    background-color: #f7f2fb;
    color: var(--post-ink);
}

.post-detail__text img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 24px 0;
    border-radius: var(--post-radius);
}

.post-detail__text table {
    width: 100%;
    margin: 0 0 20px;
    border-collapse: collapse;
    font-size: 15px;
}

.post-detail__text th,
.post-detail__text td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--post-border);
    text-align: left;
}

.post-detail__text th {
    background-color: #f7f2fb;
    font-weight: 600;
    color: var(--post-ink);
}

/* фотографии новости — по одной в ряд, во всю ширину колонки */
.post-photos {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 28px 0 8px;
}

.post-photos__item {
    border-radius: var(--post-radius);
    background-color: var(--post-image-bg);
    overflow: hidden;
}

.post-photos__item img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--post-radius);
}

/* блок «поделиться» — отбить от текста */
.article-inner__share {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--post-accent-soft);
}

/* --- Боковой блок «Читайте также» --- */
.article-inner__side .side-menu {
    position: sticky;
    top: 20px;
    padding: 8px !important;
    border: 1px solid var(--post-border) !important;
    border-radius: var(--post-radius) !important;
    background-color: #fff;
    box-shadow: var(--post-shadow) !important;
    overflow: hidden;
}

.article-inner__side .side-menu__title {
    display: block;
    padding: 12px 16px 10px;
    font-family: var(--post-font);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--post-accent-text);
}

.article-inner__side .side-menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-inner__side .side-menu li {
    height: auto !important;
    margin: 0;
}

.article-inner__side .side-menu li + li {
    border-top: 1px solid var(--post-accent-soft);
}

.article-inner__side .side-menu li a {
    position: relative;
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 12px 34px 12px 16px !important;
    border-radius: 10px;
    font-family: var(--post-font);
    font-size: 14px !important;
    line-height: 1.4 !important;
    color: var(--post-ink) !important;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

.article-inner__side .side-menu li a:hover {
    background-color: var(--post-accent-hover);
    color: var(--post-accent-text) !important;
}

.article-inner__side .side-menu li a .icon {
    position: absolute;
    top: 50%;
    right: 12px;
    width: 12px;
    height: 12px;
    margin: 0 !important;
    transform: translateY(-50%);
    color: var(--post-accent);
    fill: currentColor;
}

/* ------------------------------------------------------------
   Адаптив
   ------------------------------------------------------------ */
@media (max-width: 1279px) {
    .post-card {
        flex: 1 1 calc((100% - 40px) / 3);
        width: calc((100% - 40px) / 3);
    }
}

@media (max-width: 1023px) {
    .post-card {
        flex: 1 1 calc((100% - 20px) / 2);
        width: calc((100% - 20px) / 2);
    }

    .post-featured__body {
        padding: 28px 32px;
    }

    .post-featured__title {
        font-size: 24px;
    }

    .article-inner {
        flex-direction: column;
        gap: 24px;
    }

    .article-inner__content,
    .article-inner__side {
        width: 100% !important;
    }

    .article-inner__side .side-menu {
        position: static;
    }

    /* тема прячет боковой блок на мобильном — возвращаем:
       сезонные товары и «Читайте также» нужны и там */
    .article-inner__side {
        display: block !important;
    }

    .article-inner__side .side-menu {
        max-width: 420px;
    }
}

@media (max-width: 767px) {
    .post-featured {
        grid-template-columns: minmax(0, 1fr);
    }

    /* на мобильном фото сверху */
    .post-featured__image {
        order: -1;
        min-height: 0;
        height: 220px;
    }

    .post-featured__body {
        padding: 22px 20px 24px;
        gap: 12px;
    }

    .post-featured__title {
        font-size: 20px;
    }
}

@media (max-width: 575px) {
    .posts__grid {
        gap: 14px;
    }

    .post-card {
        flex: 1 1 100%;
        width: 100%;
    }

    .post-card__image {
        height: 200px;
    }

    .article-inner__content {
        padding: 0 0 24px !important;
    }

    .text-page .post-detail h1,
    .article-inner__content .text-page h1 {
        font-size: 26px !important;
    }

    .post-detail__text h2 {
        font-size: 21px !important;
    }

    .post-detail__text h3 {
        font-size: 18px !important;
    }
}

/* ------------------------------------------------------------
   Карточка внутри слайдеров («Новости и акции», «Другие статьи»):
   ширину задаёт слайд, а не фиксированные 380px.
   ------------------------------------------------------------ */
.owl-carousel .item .post-card,
.action-slider .item .post-card,
.news-slider .item .post-card {
    flex: 1 1 auto;
    width: 100%;
    margin: 0;
}

/* у слайдера свои отступы между слайдами — общий gap не нужен */
.action-slider .owl-carousel,
.news-slider .owl-carousel {
    gap: 0;
}

/* карточки в слайдере — одной высоты */
.action-slider .owl-stage,
.news-slider .owl-stage {
    display: flex;
    align-items: stretch;
}

.action-slider .owl-item,
.news-slider .owl-item,
.action-slider .owl-item > .item,
.news-slider .owl-item > .item {
    display: flex;
    height: auto;
}

.action-slider .owl-item .post-card,
.news-slider .owl-item .post-card {
    height: auto;
}

/* ------------------------------------------------------------
   Слайдер сезонных товаров в боковом блоке (над «Читайте также»)
   ------------------------------------------------------------ */
.article-inner__side .season-slider {
    margin-bottom: 20px;
    padding: 8px 8px 12px;
    border: 1px solid var(--post-border);
    border-radius: var(--post-radius);
    background-color: #fff;
    box-shadow: var(--post-shadow);
    overflow: hidden;
}

/* базовый шаблон кладёт блок сайдбара внутрь .side-menu — там слайдер
   идёт первой секцией общей карточки, без второй рамки */
.article-inner__side .side-menu .season-slider {
    margin: 0 0 8px;
    padding: 0 0 12px;
    border: 0;
    border-bottom: 1px solid var(--post-accent-soft);
    border-radius: 0;
    box-shadow: none;
}

.season-slider__title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 12px 10px;
    font-family: var(--post-font);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--post-accent-text);
    text-decoration: none;
}

.season-slider__title:hover {
    color: var(--post-accent-dark);
    text-decoration: none;
}

.season-slider__title .icon {
    width: 9px;
    height: 14px;
    flex: 0 0 auto;
    fill: currentColor;
}

.season-slider__item {
    display: block;
    text-decoration: none;
    color: inherit;
}

.season-slider__item:hover {
    text-decoration: none;
}

.season-slider__image {
    position: relative;
    display: block;
    border-radius: 12px;
    background-color: var(--post-image-bg);
    overflow: hidden;
}

.season-slider__image img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform .4s ease;
}

.season-slider__item:hover .season-slider__image img {
    transform: scale(1.04);
}

.season-slider__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 10px;
    border-radius: 999px;
    background-color: #dcefdc;
    font-family: var(--post-font);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #4f7a54;
}

.season-slider__info {
    display: block;
    padding: 12px 12px 4px;
}

.season-slider__name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-family: var(--post-font);
    font-size: 14px;
    line-height: 1.35;
    color: var(--post-ink);
    transition: color .2s ease;
}

.season-slider__item:hover .season-slider__name {
    color: var(--post-accent-text);
}

.season-slider__prices {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px;
    margin-top: 8px;
}

.season-slider__price {
    font-family: var(--post-font);
    font-size: 16px;
    font-weight: 600;
    color: var(--post-ink);
}

.season-slider__old-price {
    font-family: var(--post-font);
    font-size: 12px;
    color: var(--post-muted);
    text-decoration: line-through;
}

/* точки слайдера */
.season-slider .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

.season-slider .owl-dot span {
    display: block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--post-border);
    transition: background-color .2s ease, width .2s ease;
}

.season-slider .owl-dot.active span {
    width: 18px;
    border-radius: 999px;
    background-color: var(--post-accent);
}

@media (max-width: 1023px) {
    /* на планшете и телефоне боковой блок уходит вниз — слайдер шире */
    .article-inner__side .season-slider {
        max-width: 420px;
    }
}

/* ------------------------------------------------------------
   Рубрики блога: табы над списком
   ------------------------------------------------------------ */
.post-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
}

.post-tab {
    display: inline-flex;
    align-items: center;
    height: 36px;
    padding: 0 16px;
    border: 1px solid var(--post-border);
    border-radius: 999px;
    background-color: #fff;
    font-family: var(--post-font);
    font-size: 14px;
    line-height: 1;
    color: var(--post-muted);
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.post-tab:hover {
    border-color: var(--post-accent);
    background-color: var(--post-accent-hover);
    color: var(--post-accent-text);
    text-decoration: none;
}

.post-tab_active,
.post-tab_active:hover {
    border-color: var(--post-accent);
    background-color: var(--post-accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(144, 103, 168, .25);
}

.posts__empty {
    padding: 32px 0;
    font-family: var(--post-font);
    color: var(--post-muted);
}

.posts__subtitle {
    margin: 32px 0 20px;
    font-family: var(--post-font);
    font-size: 24px !important;
    font-weight: 500;
    color: var(--post-ink);
}

a.post-badge:hover {
    filter: brightness(.95);
    text-decoration: none;
}

/* ------------------------------------------------------------
   Автор
   ------------------------------------------------------------ */
.post-author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--post-font);
    font-size: 13px;
    color: var(--post-muted);
    text-decoration: none;
}

.post-author__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--post-accent-soft);
    overflow: hidden;
}

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

.post-author__initials {
    font-size: 11px;
    font-weight: 600;
    color: var(--post-accent-text);
}

.post-author__name {
    font-weight: 500;
    color: var(--post-ink);
}

.post-detail__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    margin: 0 0 28px;
}

.post-detail__head .post-meta {
    margin: 0;
}

.post-detail .post-author_full {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding: 18px 20px;
    border: 1px solid var(--post-border);
    border-radius: var(--post-radius);
    background-color: #f7f2fb;
    transition: box-shadow .2s ease;
}

.post-detail .post-author_full:hover {
    box-shadow: var(--post-shadow);
    text-decoration: none;
}

.post-author_full .post-author__avatar {
    width: 56px;
    height: 56px;
}

.post-author_full .post-author__initials {
    font-size: 18px;
}

.post-author__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.post-author__label {
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--post-accent-text);
}

.post-author_full .post-author__name {
    font-size: 16px;
}

.post-author__role {
    font-size: 13px;
    color: var(--post-muted);
}

.post-author__more {
    font-size: 13px;
    font-weight: 500;
    color: var(--post-accent-text);
    white-space: nowrap;
}

/* ------------------------------------------------------------
   Страница автора
   ------------------------------------------------------------ */
.author-card {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 28px;
    align-items: center;
    padding: 32px;
    border-radius: var(--post-radius);
    background-color: #f7f2fb;
    font-family: var(--post-font);
}

.author-card__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: var(--post-shadow);
    overflow: hidden;
}

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

.author-card__initials {
    font-size: 36px;
    font-weight: 600;
    color: var(--post-accent-text);
}

.author-card__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.author-card__label {
    font-size: 12px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--post-accent-text);
}

.author-card h1.author-card__name {
    margin: 0;
    font-family: var(--post-font);
    font-size: 30px !important;
    font-weight: 500;
    line-height: 1.2;
    text-align: left;
    color: var(--post-ink);
}

.author-card__role {
    font-size: 15px;
    color: var(--post-muted);
}

.author-card__bio {
    margin: 8px 0 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--post-text);
}

.author-card__count {
    margin-top: 6px;
    font-size: 13px;
    color: var(--post-muted);
}

@media (max-width: 575px) {
    .post-tab {
        height: 32px;
        padding: 0 12px;
        font-size: 13px;
    }

    .post-detail .post-author_full {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .post-author__more {
        grid-column: 1 / -1;
    }

    .author-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        padding: 22px 18px;
        text-align: center;
    }

    .author-card__avatar {
        margin: 0 auto;
    }

    .author-card h1.author-card__name {
        font-size: 24px !important;
        text-align: center;
    }
}
