/* =============================================
   Qscreen-ai — Single Post (Press Release) Layout
   Brand color: #923DB6
   ============================================= */

/* ---- Outer wrap ---- */
.qscreen-single-wrap {
    background: #f9f7fc;
    min-height: 100vh;
    padding: 40px 20px 80px;
}

@media (min-width: 1199px) {
    .qscreen-single-wrap {
        padding-top: 170px;
        padding-bottom: 150px;
    }
}

.qscreen-single-inner {
    max-width: 780px;
    margin: 0 auto;
}

/* ---- Breadcrumb ---- */
.qscreen-single-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    color: #888;
    margin-bottom: 32px;
}

.qscreen-single-breadcrumb a {
    color: #923DB6;
    text-decoration: none;
    transition: opacity 0.2s;
}

.qscreen-single-breadcrumb a:hover {
    opacity: 0.75;
}

.qscreen-single-breadcrumb__sep {
    color: #ccc;
    font-size: 0.75rem;
}

.qscreen-single-breadcrumb span[aria-current] {
    color: #555;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 240px;
}

/* ---- Header ---- */
.qscreen-single-header {
    margin-bottom: 40px;
}

/* Category badges */
.qscreen-single-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.qscreen-single-cat-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #923DB6;
    background: rgba(146, 61, 182, 0.09);
    border-radius: 100px;
    padding: 4px 14px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.qscreen-single-cat-badge:hover {
    background: #923DB6;
    color: #fff;
}

/* Title */
.qscreen-single-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.2;
    margin: 0 0 20px;
    letter-spacing: -0.02em;
}

/* Meta row (date + author) */
.qscreen-single-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 28px;
}

.qscreen-single-meta__date,
.qscreen-single-meta__author {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.qscreen-single-meta__author {
    text-decoration: none;
    color: #555;
    transition: color 0.2s ease;
}

.qscreen-single-meta__author:hover {
    color: #923DB6;
}

.qscreen-single-meta__sep {
    color: #ccc;
}

/* Featured image */
.qscreen-single-thumbnail {
    width: 100%;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 32px;
    box-shadow: 0 8px 32px rgba(146, 61, 182, 0.12);
}

.qscreen-single-thumbnail__img {
    width: 100%;
    height: auto;
    display: block;
}

/* Divider */
.qscreen-single-divider {
    height: 3px;
    background: linear-gradient(90deg, #923DB6, rgba(146, 61, 182, 0.1));
    border-radius: 4px;
    margin-bottom: 40px;
}

/* ---- Content body ---- */
.qscreen-single-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #2d2d2d;
}

.qscreen-single-content h2,
.qscreen-single-content h3,
.qscreen-single-content h4 {
    color: #1a1a2e;
    font-weight: 700;
    line-height: 1.3;
    margin: 2em 0 0.75em;
}

.qscreen-single-content h2 {
    font-size: 1.5rem;
}

.qscreen-single-content h3 {
    font-size: 1.25rem;
}

.qscreen-single-content h4 {
    font-size: 1.1rem;
}

.qscreen-single-content a {
    color: #923DB6;
    text-decoration: underline;
    text-decoration-color: rgba(146, 61, 182, 0.35);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s ease;
}

.qscreen-single-content a:hover {
    text-decoration-color: #923DB6;
}

.qscreen-single-content blockquote {
    border-left: 4px solid #923DB6;
    margin: 2em 0;
    padding: 12px 24px;
    background: rgba(146, 61, 182, 0.05);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #444;
}

.qscreen-single-content ul,
.qscreen-single-content ol {
    padding-left: 1.5em;
    margin: 0 0 1.5em;
}

.qscreen-single-content li {
    margin-bottom: 0.5em;
}

.qscreen-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ---- Tags ---- */
.qscreen-single-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid rgba(146, 61, 182, 0.12);
    font-size: 0.85rem;
}

.qscreen-single-tags__label {
    color: #888;
    font-weight: 600;
}

.qscreen-single-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    border: 1px solid rgba(146, 61, 182, 0.25);
    color: #923DB6;
    font-size: 0.8rem;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.qscreen-single-tag:hover {
    background: #923DB6;
    color: #fff;
    border-color: #923DB6;
}

/* ---- Share buttons ---- */
.qscreen-single-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding: 24px 28px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(146, 61, 182, 0.1);
    box-shadow: 0 2px 12px rgba(146, 61, 182, 0.06);
}

.qscreen-single-share__label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #555;
}

.qscreen-single-share__icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.qscreen-single-share__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    color: #fff;
}

.qscreen-single-share__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.qscreen-single-share__btn--facebook {
    background: #1877f2;
}

.qscreen-single-share__btn--twitter {
    background: #000;
}

.qscreen-single-share__btn--linkedin {
    background: #0077b5;
}

.qscreen-single-share__btn--instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* ---- Back link ---- */
.qscreen-single-back {
    margin-top: 40px;
}

.qscreen-single-back__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #923DB6;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.qscreen-single-back__link:hover {
    border-color: #923DB6;
}

/* ---- Responsive ---- */
@media (max-width: 600px) {
    .qscreen-single-wrap {
        padding: 24px 16px 60px;
    }

    .qscreen-single-share {
        flex-direction: column;
        align-items: flex-start;
    }
}