/* 26-single-post.css — Single post & related interviews
   Scope: /stigma/single.php + /stigma/stigma-related-interviews.php */

/* =========================================================
   SINGLE PAGE STRUCTURE
========================================================= */

.sp-content > .stigma-single-banner,
.sp-content > .stigma-single-article,
.sp-content > .stigma-related-block{
    width:100%;
    max-width:100%;
    box-sizing:border-box;
}

/* =========================================================
   BANNERS — outside article/related blocks
========================================================= */

.stigma-single-banner{
    display:block;
    width:100%;
    margin:0;
    line-height:0;
}

.stigma-single-banner:empty{
    display:none;
}

.stigma-single-banner--top{
    margin-bottom:22px;
}

.stigma-single-banner--after-interview{
    margin:24px 0 28px;
}

.stigma-single-banner--last{
    margin:0 0 28px;
}

.stigma-single-banner img,
.stigma-single-banner iframe,
.stigma-single-banner .stigma-banner img,
.stigma-single-banner .stigma-banner a{
    display:block;
    max-width:100%;
}

.stigma-single-banner img,
.stigma-single-banner .stigma-banner img{
    width:100%;
    height:auto;
    border-radius:12px;
}

/* =========================================================
   INTERVIEW / SINGLE ARTICLE BLOCK
========================================================= */

.stigma-single-article{
    background:#fff;
    border:1px solid var(--bd, #e5e0d8);
    border-radius:18px;
    padding:0;
    overflow:hidden;
    box-shadow:0 14px 35px rgba(17,17,16,.06);
}

/* prehead is inside the article block */
.stigma-single-prehead{
    display:flex;
    align-items:center;
    gap:8px;
    margin:0;
    padding:22px 28px 16px;
    background:#fff;
    border:0;
    box-shadow:none;
    line-height:1.2;
}

.stigma-single-prehead-label,
.stigma-single-heading-date{
    font-family:'Montserrat',Arial,sans-serif;
    font-size:12px;
    font-weight:900;
    letter-spacing:2px;
    text-transform:uppercase;
    color:var(--sc-dark, #111110);
}

.stigma-single-prehead-label{
    position:relative;
    padding-left:10px;
}

.stigma-single-prehead-label::before{
    content:'';
    position:absolute;
    left:0;
    top:50%;
    width:3px;
    height:14px;
    transform:translateY(-50%);
    background:var(--acc, #f07c00);
    border-radius:3px;
}

/* FEATURED IMAGE — no radius */
.stigma-single-featured-image{
    width:100%;
    margin:0 0 28px;
    border-radius:0;
    overflow:hidden;
    line-height:0;
    background:#e8e4de;
}

.stigma-single-featured-image img{
    display:block;
    width:100%;
    height:auto;
    border-radius:0;
}

/* ARTICLE HEADER */
.stigma-single-header{
    margin:0;
    padding:0 28px;
    box-sizing:border-box;
}

.stigma-single-title,
.stigma-article-title{
    font-family:'Playfair Display',Georgia,serif;
    font-size:32px;
    font-weight:700;
    line-height:1.3;
    color:var(--sc-dark, #111110);
    letter-spacing:0;
    word-spacing:normal;
    margin:0 0 18px;
    max-width:100%;
}

/* INTERVIEW PERSON */
.stigma-interview-person{
    margin:0 0 14px;
    padding:12px 0;
    border-top:1px solid var(--bd, #e5e0d8);
    border-bottom:1px solid var(--bd, #e5e0d8);
}

.stigma-interview-person-name{
    font-size:16px;
    font-weight:700;
    color:var(--sc-dark, #111110);
    line-height:1.3;
}

.stigma-interview-person-position{
    font-size:13px;
    color:var(--sc-muted, #6f6f6f);
    margin-top:3px;
}

/* SOUNDCLOUD EMBED */
.stigma-interview-soundcloud{
    margin:14px 0;
}

.stigma-interview-soundcloud iframe{
    display:block;
    width:100%;
    border:0;
}

/* POST TAGS */
.stigma-post-tags,
.stigma-article-tags{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    margin:14px 0 0;
}

.stigma-post-tags a,
.stigma-article-tags a{
    display:inline-block;
    font-size:12px;
    font-weight:700;
    color:var(--acc, #f07c00);
    background:rgba(240,124,0,.08);
    border:1px solid rgba(240,124,0,.22);
    padding:3px 9px;
    border-radius:3px;
    text-decoration:none;
    transition:.15s;
}

.stigma-post-tags a:hover,
.stigma-article-tags a:hover{
    background:var(--acc, #f07c00);
    color:#fff;
}

/* ARTICLE CONTENT */
.stigma-single-content,
.stigma-article-content{
    padding:0 28px 30px;
    box-sizing:border-box;
    font-size:16px;
    line-height:1.75;
    color:var(--sc-dark, #111110);
}

.stigma-single-content p,
.stigma-article-content p{
    margin:0 0 1.4em;
}

.stigma-single-content h2,
.stigma-article-content h2{
    font-size:22px;
    font-weight:700;
    margin:1.8em 0 .7em;
    letter-spacing:0;
}

.stigma-single-content h3,
.stigma-article-content h3{
    font-size:18px;
    font-weight:700;
    margin:1.5em 0 .6em;
    letter-spacing:0;
}

.stigma-single-content a,
.stigma-article-content a{
    color:var(--acc, #f07c00);
    text-decoration:underline;
    text-underline-offset:2px;
}

/* =========================================================
   RELATED INTERVIEWS — own block, outside article
========================================================= */

.stigma-related-block{
    margin:0 0 28px;
    background:#fff;
    border:1px solid var(--bd, #e5e0d8);
    border-radius:18px;
    padding:28px;
    box-shadow:0 14px 35px rgba(17,17,16,.06);
}

.stigma-related-block:empty{
    display:none;
}

.stigma-related-block .stigma-related-section,
.stigma-related-block .stigma-related-posts{
    margin:0;
    padding:0;
    border-top:0;
}

.stigma-related-section,
.stigma-related-posts{
    margin:40px 0 0;
    padding:28px 0 0;
    border-top:2px solid var(--bd, #e5e0d8);
}

.stigma-related-section h3,
.stigma-related-block .stigma-related-section h3{
    font-family:'Montserrat',Arial,sans-serif;
    font-size:18px;
    font-weight:900;
    letter-spacing:2px;
    text-transform:uppercase;
    line-height:1.2;
    color:var(--sc-dark, #111110);
    margin:0 0 20px;
    padding:0 0 0 10px;
    border-left:4px solid var(--acc, #f07c00);
}

.stigma-related-grid,
.stigma-grid--related{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
}

.stigma-related-card{
    display:flex;
    flex-direction:column;
    text-decoration:none;
    color:inherit;
    background:#fff;
    border:1px solid var(--bd, #e5e0d8);
    border-radius:8px;
    overflow:hidden;
    transition:.18s;
}

.stigma-related-card:hover{
    transform:translateY(-3px);
    box-shadow:0 8px 24px rgba(0,0,0,.1);
}

.stigma-related-thumb{
    width:100%;
    aspect-ratio:16/9;
    overflow:hidden;
    background:#e8e4de;
}

.stigma-related-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .3s;
}

.stigma-related-card:hover .stigma-related-thumb img{
    transform:scale(1.04);
}

.stigma-related-info{
    padding:12px 14px;
    flex:1;
    display:flex;
    flex-direction:column;
    gap:5px;
}

.stigma-related-info h4{
    font-family:'Montserrat',sans-serif;
    font-size:14px;
    font-weight:700;
    color:var(--sc-dark, #111110);
    line-height:1.4;
    margin:0;
    letter-spacing:0;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

.stigma-related-person{
    font-size:12px;
    font-weight:600;
    color:var(--acc, #f07c00);
    margin-top:auto;
}

.stigma-related-date{
    font-size:11px;
    color:var(--sc-muted, #6f6f6f);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:900px){
    .stigma-single-prehead,
    .stigma-single-header,
    .stigma-single-content,
    .stigma-article-content{
        padding-left:20px;
        padding-right:20px;
    }

    .stigma-related-block{
        padding:20px;
        border-radius:14px;
    }

    .stigma-single-banner img,
    .stigma-single-banner .stigma-banner img{
        border-radius:10px;
    }

    .stigma-related-grid,
    .stigma-grid--related{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .stigma-single-title,
    .stigma-article-title{
        font-size:26px;
    }
}

@media(max-width:540px){
    .stigma-single-prehead,
    .stigma-single-header,
    .stigma-single-content,
    .stigma-article-content{
        padding-left:16px;
        padding-right:16px;
    }

    .stigma-related-block{
        padding:16px;
        border-radius:12px;
    }

    .stigma-related-grid,
    .stigma-grid--related{
        grid-template-columns:1fr;
    }

    .stigma-single-title,
    .stigma-article-title{
        font-size:22px;
    }
}
