/* =========================================================
   WORKSERVER — SINGLE BLOG POST
   Isolated styling for standard WordPress article pages.
   ========================================================= */

.ws-blog-single-page {
    padding-bottom: 70px;
}

.ws-blog-article {
    color: #fff;
}

.ws-blog-featured {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid transparent;
    background-image:
        linear-gradient(#000, #000),
        linear-gradient(90deg, var(--purple) 0%, var(--blue) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.ws-blog-featured img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    object-position: center center;
}

.ws-blog-article-header {
    margin-top: 24px;
}

.ws-blog-article-title {
    margin: 0 0 14px;
    color: #fff;
    font: 700 26px/1.25 var(--pri-font);
}

/* Длинные автоматические заголовки не должны ломать сетку. */
body.single-post .banner-heading h1,
.ws-blog-article-title {
    overflow-wrap: anywhere;
    word-break: normal;
}


.ws-blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    color: rgba(255,255,255,.72);
    font: 400 13px/1.4 var(--pri-font);
}

.ws-blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.ws-blog-meta i {
    color: var(--blue);
}

.ws-blog-content {
    margin-top: 24px;
    color: rgba(255,255,255,.92);
    font: 400 15px/1.75 var(--pri-font);
}

.ws-blog-content h2,
.ws-blog-content h3,
.ws-blog-content h4 {
    color: #fff;
    margin-top: 30px;
    margin-bottom: 14px;
}

.ws-blog-content a {
    color: var(--blue);
}

.ws-blog-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.ws-blog-share-row,
.ws-blog-categories,
.ws-blog-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    color: rgba(255,255,255,.82);
    font: 500 13px/1.4 var(--pri-font);
}

.ws-blog-share-label,
.ws-blog-categories > span,
.ws-blog-tags > span {
    color: #fff;
    font-weight: 700;
}

.ws-blog-share-row a {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    border: 1px solid rgba(32,212,255,.55);
    transition: .2s ease;
}

.ws-blog-share-row a:hover {
    color: #fff;
    background: rgba(32,212,255,.12);
    box-shadow: 0 0 12px rgba(32,212,255,.25);
}

.ws-blog-categories a,
.ws-blog-tags a {
    color: var(--blue);
}

.ws-blog-sidebar-column {
    align-self: flex-start;
}

.ws-blog-sidebar .widget {
    margin-bottom: 28px !important;
}

.ws-blog-sidebar .widget-title {
    text-transform: none;
}

.ws-blog-search-form {
    display: flex;
    width: 100%;
    border: 1px solid transparent;
    border-radius: 999px;
    overflow: hidden;
    background-image:
        linear-gradient(#03040a, #03040a),
        linear-gradient(90deg, var(--purple) 0%, var(--blue) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.ws-blog-search-form input[type="search"] {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    padding: 12px 16px;
    font: 400 13px/20px var(--pri-font);
}

.ws-blog-search-form input[type="search"]::placeholder {
    color: rgba(255,255,255,.62);
}

.ws-blog-search-form button {
    flex: 0 0 auto;
    border: 0;
    padding: 0 22px;
    color: #fff;
    cursor: pointer;
    background: linear-gradient(90deg, var(--purple) 0%, var(--blue) 100%);
    font: 600 13px/1 var(--pri-font);
}

.ws-blog-recent-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ws-blog-recent-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,.10);
}

.ws-blog-recent-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.ws-blog-recent-thumb {
    width: 72px;
    height: 54px;
    flex: 0 0 72px;
    overflow: hidden;
    border-radius: 8px;
}

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

.ws-blog-recent-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ws-blog-recent-title {
    color: #fff;
    font: 600 13px/1.35 var(--pri-font);
}

.ws-blog-recent-date {
    color: rgba(255,255,255,.55);
    font: 400 11px/1.2 var(--pri-font);
}

.ws-blog-comments {
    margin-top: 42px;
    padding: 30px;
    border-radius: 22px;
    border: 1px solid transparent;
    background-image:
        linear-gradient(#000, #000),
        linear-gradient(90deg, var(--purple) 0%, var(--blue) 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.ws-blog-comments-title,
.ws-blog-comments .comment-reply-title {
    margin: 0 0 18px;
    color: #fff;
    font: 700 23px/1.3 var(--pri-font);
    text-transform: none;
}

.ws-blog-comments .comment-notes,
.ws-blog-comments .logged-in-as {
    color: rgba(255,255,255,.66);
    font-size: 13px;
}

.ws-blog-comments label {
    display: block;
    margin-bottom: 7px;
    color: #fff;
    font: 600 13px/1.3 var(--pri-font);
}

.ws-blog-comments input[type="text"],
.ws-blog-comments input[type="email"],
.ws-blog-comments input[type="url"],
.ws-blog-comments textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 10px;
    outline: 0;
    background: #03050a;
    color: #fff;
    padding: 11px 13px;
}

.ws-blog-comments input:focus,
.ws-blog-comments textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 2px rgba(32,212,255,.08);
}

.ws-blog-comments .submit {
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 11px 24px;
    color: #fff;
    cursor: pointer;
    background:
        linear-gradient(#03040a, #03040a) padding-box,
        linear-gradient(90deg, var(--purple), var(--blue)) border-box;
    font: 600 13px/1.2 var(--pri-font);
}

.ws-blog-comment-list {
    margin: 0 0 28px;
    padding: 0;
}

.ws-blog-comment-list li {
    list-style: none;
}

.ws-blog-comment-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin: 18px 0 26px;
}

.ws-blog-comment-nav a {
    color: var(--blue);
}

.ws-blog-post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 34px;
}

.ws-blog-post-nav > div:empty {
    display: none;
}

.ws-blog-post-nav a {
    min-height: 86px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(32,212,255,.42);
    color: #fff;
    background: #02040a;
}

.ws-blog-post-nav a:hover {
    border-color: var(--blue);
    box-shadow: 0 0 14px rgba(32,212,255,.18);
}

.ws-blog-post-nav-next {
    text-align: right;
}

.ws-blog-nav-caption {
    color: var(--blue);
    font: 600 12px/1.2 var(--pri-font);
}

.ws-blog-nav-title {
    color: #fff;
    font: 600 14px/1.35 var(--pri-font);
}

@media (max-width: 991px) {
    .ws-blog-sidebar-column {
        margin-top: 22px;
    }
}

@media (max-width: 575px) {
    .ws-blog-featured {
        border-radius: 18px;
    }

    .ws-blog-article-title {
        font-size: 22px;
    }

    .ws-blog-comments {
        padding: 22px 18px;
    }

    .ws-blog-post-nav {
        grid-template-columns: 1fr;
    }

    .ws-blog-post-nav-next {
        text-align: left;
    }
}
