/* Список блога и страница записи (yoge-shell) */
.blog-yoge {
    color: #181a17;
    font-size: 1rem;
    line-height: 1.55;
    margin: 0 -4px;
    background: #e9f0ec;
    border-radius: 16px;
    padding: 1.25rem 0.75rem 2rem;
}

.blog-yoge-detail {
    background: #e9f0ec;
    border-radius: 16px;
    padding: 1.25rem 0.75rem 2rem;
    margin: 0 -4px;
    color: #181a17;
}

.blog-yoge__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .blog-yoge__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .blog-yoge__grid {
        grid-template-columns: 1fr;
    }
}

.blog-yoge__card {
    display: flex;
    flex-direction: column;
}

.blog-yoge__thumb-wrap {
    position: relative;
    margin-bottom: 1rem;
}

.blog-yoge__thumb {
    display: block;
    position: relative;
    border-radius: 18px 18px 18px 18px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #dfe8e3;
}

.blog-yoge__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.blog-yoge__card:hover .blog-yoge__thumb img {
    transform: scale(1.04);
}

.blog-yoge__cat-pill {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: #fff;
    color: #181a17;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    max-width: calc(100% - 56px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-yoge__fab {
    position: absolute;
    right: 10px;
    bottom: -18px;
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e5c466;
    color: #181a17;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    font-size: 1.05rem;
    transition: transform 0.2s ease, background 0.2s ease;
}

.blog-yoge__fab:hover {
    color: #181a17;
    transform: scale(1.06);
    background: #d4b45a;
}

.blog-yoge__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1.25rem;
    margin-bottom: 0.65rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #448C74;
}

.blog-yoge__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.blog-yoge__meta .la {
    font-size: 1rem;
}

.blog-yoge__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.blog-yoge__title a {
    color: #181a17;
    text-decoration: none;
}

.blog-yoge__title a:hover {
    color: #448C74;
}

.blog-yoge__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    color: #5a635e;
    background: #fff;
    border-radius: 16px;
    border: 1px dashed rgba(68, 140, 116, 0.35);
}

.blog-yoge__pager {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.blog-yoge__pager .pagination {
    margin-bottom: 0;
}

.blog-yoge__pager .page-link {
    color: #448C74;
    border-color: rgba(68, 140, 116, 0.35);
    border-radius: 10px !important;
    margin: 0 2px;
}

.blog-yoge__pager .page-item.active .page-link {
    background: #448C74;
    border-color: #448C74;
    color: #fff;
}

.blog-yoge__pager .page-link:hover {
    background: #e9f4ef;
    color: #181a17;
}

.blog-yoge__pager-caption {
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    color: #5a635e;
    margin-top: 0.75rem;
}

/* Страница записи */
.blog-yoge-detail__hero {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: #dfe8e3;
    max-height: 420px;
}

.blog-yoge-detail__hero img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.blog-yoge-detail__article {
    padding: 1.75rem 1.5rem 2rem;
}

.blog-yoge-detail__article .blog-yoge__meta {
    margin-bottom: 1rem;
}

.blog-yoge-detail__lead {
    font-size: 1.1rem;
    color: #3d4540;
    margin-bottom: 1.25rem;
}

.blog-yoge-detail__body {
    font-size: 1rem;
    line-height: 1.65;
}

.blog-yoge-detail__body p {
    margin-bottom: 1rem;
}

.blog-yoge-related {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(24, 26, 23, 0.08);
}

.blog-yoge-related__title {
    font-size: 1.25rem;
    font-weight: 800;
    margin: 0 0 1.25rem;
    letter-spacing: -0.02em;
    color: #181a17;
}

.blog-yoge-related .blog-yoge__grid {
    margin-bottom: 0;
}

/* ——— Детальная страница записи: сетка + сайдбар ——— */
.blog-yoge-detail-page {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: hidden;
    box-sizing: border-box;
}

@media (min-width: 576px) {
    .blog-yoge-detail-page {
        margin: 0 -4px;
    }
}

.blog-yoge-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2.5rem;
}

@media (max-width: 991px) {
    .blog-yoge-detail-layout {
        grid-template-columns: 1fr;
    }
}

.blog-yoge-detail-layout__main {
    min-width: 0;
}

.blog-yoge-detail__article--single {
    padding: 0;
    overflow: hidden;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 4px 20px rgba(68, 140, 116, 0.06);
    max-width: 100%;
}

.blog-yoge-detail__media {
    margin: -1px -1px 0;
    background: #dfe8e3;
}

.blog-yoge-detail__media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
}

.blog-yoge-detail__article--single .blog-yoge-detail__meta-bar,
.blog-yoge-detail__article--single .blog-yoge-detail__lead,
.blog-yoge-detail__article--single .blog-yoge-detail__body--article,
.blog-yoge-detail__article--single .blog-yoge-detail__tags,
.blog-yoge-detail__article--single .blog-yoge-detail__prev,
.blog-yoge-detail__article--single .blog-yoge-detail__author-box,
.blog-yoge-detail__article--single .blog-yoge-comments,
.blog-yoge-detail__article--single .blog-yoge-reply {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.blog-yoge-detail__article--single .blog-yoge-detail__meta-bar {
    padding-top: 1.25rem;
}

.blog-yoge-detail__meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
    margin-bottom: 1rem;
}

.blog-yoge-detail__cat-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(68, 140, 116, 0.12);
    color: #448C74;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
}

.blog-yoge-detail__cat-pill:hover {
    background: rgba(68, 140, 116, 0.22);
    color: #448C74;
}

.blog-yoge-detail__cat-pill--static {
    cursor: default;
}

.blog-yoge-detail__meta-sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #b8c4be;
}

.blog-yoge-detail__meta-item {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #448C74;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.blog-yoge-detail__by {
    font-weight: 600;
    opacity: 0.85;
    margin-right: 0.25rem;
    text-transform: lowercase;
}

.blog-yoge-detail__body--article {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #181a17;
    padding-bottom: 0.5rem;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.blog-yoge-detail__p {
    margin: 0 0 1.1rem;
}

.blog-yoge-detail__p--dropcap::first-letter {
    float: left;
    font-size: 3.75rem;
    line-height: 0.82;
    font-weight: 700;
    color: #448C74;
    margin: 0.08em 0.12em 0 0;
    font-family: Georgia, "Times New Roman", Times, serif;
}

.blog-yoge-detail__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem 0 1.25rem;
    border-top: 1px solid rgba(24, 26, 23, 0.08);
}

.blog-yoge-detail__tag {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(24, 26, 23, 0.12);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-decoration: none;
    color: #3d4540;
}

.blog-yoge-detail__tag:hover {
    border-color: #448C74;
    color: #448C74;
}

.blog-yoge-detail__prev {
    padding: 1.25rem 0;
    border-top: 1px solid rgba(24, 26, 23, 0.08);
    border-bottom: 1px solid rgba(24, 26, 23, 0.08);
}

.blog-yoge-detail__prev-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #448C74;
    margin-bottom: 0.35rem;
}

.blog-yoge-detail__prev-link {
    font-size: 1.05rem;
    font-weight: 700;
    color: #181a17;
    text-decoration: none;
    line-height: 1.35;
}

.blog-yoge-detail__prev-link:hover {
    color: #448C74;
}

.blog-yoge-detail__author-box {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin: 1.75rem 0 0;
    padding: 1.35rem 1.25rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #448C74 0%, #3d836b 100%);
    color: #fff;
}

.blog-yoge-detail__author-avatar {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 800;
}

.blog-yoge-detail__author-name {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.blog-yoge-detail__author-bio {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.95;
}

/* Комментарии */
.blog-yoge-comments {
    padding-top: 2rem;
    padding-bottom: 0.5rem;
}

.blog-yoge-comments__title {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.blog-yoge-comments__count {
    font-weight: 600;
    color: #448C74;
}

.blog-yoge-comments__notice {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: #e9f4ef;
    border: 1px solid rgba(68, 140, 116, 0.35);
    color: #448C74;
    margin-bottom: 1rem;
}

.blog-yoge-comments__empty {
    color: #5a635e;
    margin-bottom: 1.25rem;
}

.blog-yoge-comments__list {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
}

.blog-yoge-comment {
    margin-bottom: 1.25rem;
}

.blog-yoge-comment__inner {
    display: flex;
    gap: 0.85rem;
}

.blog-yoge-comment__avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e9f0ec;
    color: #448C74;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.blog-yoge-comment__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem 1rem;
    margin-bottom: 0.35rem;
}

.blog-yoge-comment__name {
    font-size: 0.95rem;
}

.blog-yoge-comment__date {
    font-size: 0.8rem;
    color: #6a756f;
}

.blog-yoge-comment__text {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #181a17;
}

.blog-yoge-comment__reply {
    font-size: 0.8rem;
    font-weight: 600;
    color: #448C74;
    text-decoration: none;
}

.blog-yoge-comment__reply:hover {
    text-decoration: underline;
}

.blog-yoge-comment__replies {
    list-style: none;
    margin: 0.85rem 0 0 0;
    padding: 0 0 0 2.5rem;
    border-left: 2px solid rgba(68, 140, 116, 0.25);
}

/* Форма комментария */
.blog-yoge-reply {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(24, 26, 23, 0.08);
}

.blog-yoge-reply__title {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 1rem;
}

.blog-yoge-reply__errors {
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    background: #fdecea;
    color: #7f2312;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.blog-yoge-reply__hint {
    font-size: 0.88rem;
    color: #5a635e;
    margin-bottom: 0.75rem;
}

.blog-yoge-reply__hint a {
    color: #448C74;
    font-weight: 600;
}

.blog-yoge-reply__field {
    margin-bottom: 1rem;
}

.blog-yoge-reply__field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: #3d4540;
}

.blog-yoge-reply__field textarea,
.blog-yoge-reply__field input[type="text"],
.blog-yoge-reply__field input[type="email"],
.blog-yoge-reply__field input[type="url"] {
    width: 100%;
    border: 1px solid #cfd8d3;
    border-radius: 10px;
    padding: 0.55rem 0.75rem;
    font-family: inherit;
    font-size: 0.95rem;
}

.blog-yoge-reply__field textarea:focus,
.blog-yoge-reply__field input:focus {
    outline: none;
    border-color: #448C74;
    box-shadow: 0 0 0 2px rgba(68, 140, 116, 0.15);
}

.blog-yoge-reply__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem 1rem;
}

@media (max-width: 768px) {
    .blog-yoge-reply__row {
        grid-template-columns: 1fr;
    }
}

.blog-yoge-reply__check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: #5a635e;
    margin-bottom: 1rem;
}

.blog-yoge-reply__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.5rem;
    border-radius: 999px;
    border: none;
    background: #448C74;
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
}

.blog-yoge-reply__submit:hover {
    background: #3d836b;
}

/* Сайдбар */
.blog-yoge-widget {
    background: #fff;
    border-radius: 16px;
    padding: 1.1rem 1.15rem 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 20px rgba(68, 140, 116, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.blog-yoge-widget--search {
    background: #448C74;
    border: none;
    padding: 1rem 1rem 1.1rem;
}

.blog-yoge-widget__search-row {
    display: flex;
    gap: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}

.blog-yoge-widget__search-row input {
    flex: 1;
    border: none;
    padding: 0.55rem 0.75rem;
    font-size: 0.9rem;
    min-width: 0;
}

.blog-yoge-widget__search-row input:focus {
    outline: none;
}

.blog-yoge-widget__search-row button {
    border: none;
    background: #fff;
    color: #448C74;
    padding: 0 0.85rem;
    cursor: pointer;
    font-size: 1.1rem;
}

.blog-yoge-widget__title {
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0 0 0.85rem;
    letter-spacing: -0.02em;
}

.blog-yoge-widget__list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.92rem;
}

.blog-yoge-widget__list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.blog-yoge-widget__list li:last-child {
    border-bottom: none;
}

.blog-yoge-widget__list a {
    color: #181a17;
    font-weight: 600;
    text-decoration: none;
}

.blog-yoge-widget__list a:hover {
    color: #448C74;
}

.blog-yoge-widget__count {
    color: #6a756f;
    font-size: 0.85rem;
}

.blog-yoge-widget__recent {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blog-yoge-widget__recent li {
    margin-bottom: 0.85rem;
}

.blog-yoge-widget__recent li:last-child {
    margin-bottom: 0;
}

.blog-yoge-widget__recent-link {
    display: flex;
    gap: 0.65rem;
    text-decoration: none;
    color: inherit;
    align-items: flex-start;
}

.blog-yoge-widget__recent-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    background: #e9f0ec;
}

.blog-yoge-widget__recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-yoge-widget__recent-title {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.35;
    color: #181a17;
    margin-bottom: 0.2rem;
}

.blog-yoge-widget__recent-link:hover .blog-yoge-widget__recent-title {
    color: #448C74;
}

.blog-yoge-widget__recent-date {
    font-size: 0.75rem;
    color: #6a756f;
}

.blog-yoge-widget--cta {
    background: linear-gradient(160deg, #448C74 0%, #3d836b 100%);
    color: #fff;
    text-align: center;
    border: none;
}

.blog-yoge-widget__cta-icon {
    font-size: 1.5rem;
    margin-bottom: 0.35rem;
    opacity: 0.9;
}

.blog-yoge-widget__cta-text {
    margin: 0 0 0.5rem;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.35;
}

.blog-yoge-widget__cta-phone {
    display: block;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.blog-yoge-widget__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.25rem;
    border-radius: 999px;
    background: #e5c466;
    color: #181a17;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
}

.blog-yoge-widget__cta-btn:hover {
    color: #181a17;
    background: #d4b45a;
}

.blog-yoge-widget__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.blog-yoge-widget__tag {
    display: inline-block;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    background: #f0f4f2;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #3d4540;
    text-decoration: none;
}

.blog-yoge-widget__tag:hover {
    background: #e0ebe5;
    color: #181a17;
}

.blog-yoge-related--below {
    margin-top: 0;
    padding: 2rem 0 0;
    border-top: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.blog-yoge-related--below .blog-yoge__grid {
    background: #e9f0ec;
    border-radius: 16px;
    padding: 1.25rem clamp(0.75rem, 3vw, 1.25rem) 1.75rem;
    box-sizing: border-box;
}

@media (max-width: 575px) {
    .blog-yoge-detail__article--single .blog-yoge-detail__meta-bar,
    .blog-yoge-detail__article--single .blog-yoge-detail__lead,
    .blog-yoge-detail__article--single .blog-yoge-detail__body--article,
    .blog-yoge-detail__article--single .blog-yoge-detail__tags,
    .blog-yoge-detail__article--single .blog-yoge-detail__prev,
    .blog-yoge-detail__article--single .blog-yoge-detail__author-box,
    .blog-yoge-detail__article--single .blog-yoge-comments,
    .blog-yoge-detail__article--single .blog-yoge-reply {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .blog-yoge-detail__author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .blog-yoge-comment__replies {
        padding-left: 1rem;
    }

    .blog-yoge-detail__p--dropcap::first-letter {
        font-size: 3rem;
    }

    .blog-yoge-comments__title {
        font-size: 1.05rem;
        overflow-wrap: anywhere;
    }
}
