/* ========================================
   STC Multilingual Single Post
======================================== */

.stcsp {
    --stcsp-gold: #d7b476;
    --stcsp-gold-light: #efd39d;
    --stcsp-bg: #090909;
    --stcsp-card: #11110f;
    --stcsp-text: rgba(255, 255, 255, 0.78);
    --stcsp-muted: rgba(255, 255, 255, 0.52);
    --stcsp-border: rgba(215, 180, 118, 0.2);

    width: 100%;
    overflow: hidden;
    color: var(--stcsp-text);
    background: var(--stcsp-bg);
    font-family: inherit;
}

.stcsp,
.stcsp * {
    box-sizing: border-box;
}

.stcsp-container {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.stcsp-progress {
    position: fixed;
    z-index: 9998;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    pointer-events: none;
}

.admin-bar .stcsp-progress {
    top: 32px;
}

.stcsp-progress__bar {
    display: block;
    width: 0;
    height: 100%;
    background: var(--stcsp-gold, #d7b476);
    transition: width 0.08s linear;
}

/* Hero */
.stcsp-hero {
    position: relative;
    padding: 92px 0 62px;
    background:
        radial-gradient(circle at 85% 12%, rgba(215, 180, 118, 0.11), transparent 31%),
        radial-gradient(circle at 10% 100%, rgba(215, 180, 118, 0.06), transparent 26%),
        #0b0b0a;
    border-bottom: 1px solid rgba(215, 180, 118, 0.12);
}

.stcsp[dir="ltr"] .stcsp-hero {
    background:
        radial-gradient(circle at 15% 12%, rgba(215, 180, 118, 0.11), transparent 31%),
        radial-gradient(circle at 90% 100%, rgba(215, 180, 118, 0.06), transparent 26%),
        #0b0b0a;
}

.stcsp-hero__inner {
    max-width: 980px;
}

.stcsp-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.38);
    font-size: 12px;
    line-height: 1.7;
}

.stcsp-breadcrumbs a {
    color: rgba(255, 255, 255, 0.58) !important;
    text-decoration: none !important;
}

.stcsp-breadcrumbs a:hover {
    color: var(--stcsp-gold) !important;
}

.stcsp-category {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 7px 12px;
    color: var(--stcsp-gold) !important;
    background: rgba(215, 180, 118, 0.06);
    border: 1px solid rgba(215, 180, 118, 0.25);
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
}

.stcsp-title {
    max-width: 950px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(35px, 4.3vw, 56px) !important;
    font-weight: 800 !important;
    line-height: 1.35;
    letter-spacing: -0.015em;
}

.stcsp-intro {
    max-width: 820px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: 17px;
    line-height: 1.9;
}

.stcsp-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 13px;
}

.stcsp-meta__divider {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--stcsp-gold);
}

/* Featured image */
.stcsp-featured-wrap {
    position: relative;
    z-index: 2;
    margin-top: -1px;
    padding-top: 34px;
}

.stcsp-featured {
    overflow: hidden;
    margin: 0;
    aspect-ratio: 16 / 8.2;
    background: #11110f;
    border: 1px solid rgba(215, 180, 118, 0.18);
    border-radius: 12px;
}

.stcsp-featured__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Reading layout */
.stcsp-reading-layout {
    display: grid;
    grid-template-columns: minmax(0, 240px) minmax(0, 780px);
    justify-content: center;
    gap: 58px;
    padding-top: 68px;
    padding-bottom: 88px;
}

.stcsp-sidebar__sticky {
    position: sticky;
    top: 110px;
}

.stcsp-toc,
.stcsp-share {
    padding: 0 0 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stcsp-share {
    margin-top: 26px;
}

.stcsp-sidebar__title {
    margin: 0 0 15px;
    color: #ffffff;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.5;
}

.stcsp-toc__list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: stcsp-toc;
}

.stcsp-toc__item {
    counter-increment: stcsp-toc;
}

.stcsp-toc__item a {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 8px;
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 12px;
    line-height: 1.7;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.stcsp-toc__item a::before {
    content: counter(stcsp-toc, decimal-leading-zero);
    color: rgba(215, 180, 118, 0.55);
    font-size: 10px;
    font-weight: 800;
}

.stcsp-toc__item--h3 {
    padding-inline-start: 13px;
}

.stcsp-toc__item a:hover,
.stcsp-toc__item a.is-active {
    color: var(--stcsp-gold) !important;
}

.stcsp-share__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.stcsp-share__links a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    color: var(--stcsp-gold) !important;
    background: rgba(215, 180, 118, 0.055);
    border: 1px solid rgba(215, 180, 118, 0.2);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none !important;
    text-transform: lowercase;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.stcsp-share__links a:hover {
    transform: translateY(-2px);
    background: rgba(215, 180, 118, 0.12);
}

/* Article typography */
.stcsp-content {
    color: rgba(255, 255, 255, 0.76);
    font-size: 17px;
    line-height: 2;
}

.stcsp-content > *:first-child {
    margin-top: 0 !important;
}

.stcsp-content p {
    margin: 0 0 25px;
}

.stcsp-content h2 {
    scroll-margin-top: 115px;
    margin: 54px 0 20px;
    color: #ffffff;
    font-size: clamp(25px, 2.6vw, 32px) !important;
    font-weight: 750 !important;
    line-height: 1.5;
}

.stcsp-content h2::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 0.9em;
    margin-inline-end: 12px;
    vertical-align: -0.05em;
    background: var(--stcsp-gold);
    border-radius: 2px;
}

.stcsp-content h3 {
    scroll-margin-top: 115px;
    margin: 38px 0 16px;
    color: #ffffff;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.55;
}

.stcsp-content h4 {
    margin: 30px 0 14px;
    color: #ffffff;
    font-size: 19px !important;
    font-weight: 700 !important;
}

.stcsp-content ul,
.stcsp-content ol {
    display: grid;
    gap: 10px;
    margin: 0 0 28px;
    padding-inline-start: 25px;
}

.stcsp-content li {
    padding-inline-start: 4px;
}

.stcsp-content li::marker {
    color: var(--stcsp-gold);
}

.stcsp-content a {
    color: var(--stcsp-gold-light) !important;
    text-decoration: underline;
    text-decoration-color: rgba(215, 180, 118, 0.4);
    text-underline-offset: 4px;
}

.stcsp-content a:hover {
    color: #ffffff !important;
}

.stcsp-content strong {
    color: #ffffff;
    font-weight: 750;
}

.stcsp-content blockquote {
    position: relative;
    margin: 38px 0;
    padding: 26px 28px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(215, 180, 118, 0.05);
    border-inline-start: 3px solid var(--stcsp-gold);
    border-radius: 6px;
    font-size: 18px;
    line-height: 1.9;
}

.stcsp-content blockquote p:last-child {
    margin-bottom: 0;
}

.stcsp-content figure {
    margin: 38px 0;
}

.stcsp-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.stcsp-content figcaption,
.stcsp-content .wp-element-caption {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    line-height: 1.7;
    text-align: center;
}

.stcsp-content table {
    width: 100%;
    margin: 34px 0;
    border-collapse: collapse;
    font-size: 14px;
}

.stcsp-content th,
.stcsp-content td {
    padding: 13px 14px;
    border: 1px solid rgba(215, 180, 118, 0.18);
    text-align: start;
}

.stcsp-content th {
    color: #ffffff;
    background: rgba(215, 180, 118, 0.08);
}

.stcsp-content hr {
    margin: 45px 0;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

/* CTA */
.stcsp-cta {
    margin-top: 60px;
    padding: 34px 32px;
    background:
        linear-gradient(140deg, rgba(215, 180, 118, 0.09), transparent 60%),
        #11110f;
    border: 1px solid rgba(215, 180, 118, 0.24);
    border-radius: 10px;
}

.stcsp-cta__eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--stcsp-gold);
    font-size: 12px;
    font-weight: 800;
}

.stcsp-cta h2 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: 26px !important;
    font-weight: 750 !important;
    line-height: 1.45;
}

.stcsp-cta p {
    max-width: 660px;
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 14px;
    line-height: 1.85;
}

.stcsp-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.stcsp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 11px 20px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform 0.22s ease, background-color 0.22s ease;
}

.stcsp-button:hover {
    transform: translateY(-2px);
}

.stcsp-button--primary {
    color: #090909 !important;
    background: var(--stcsp-gold);
    border: 1px solid var(--stcsp-gold);
}

.stcsp-button--primary:hover {
    background: var(--stcsp-gold-light);
}

.stcsp-button--secondary {
    color: var(--stcsp-gold) !important;
    background: transparent;
    border: 1px solid rgba(215, 180, 118, 0.35);
}

.stcsp-button--secondary:hover {
    background: rgba(215, 180, 118, 0.07);
}

/* Related posts */
.stcsp-related {
    padding: 78px 0 90px;
    background: #0d0d0c;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.stcsp-section-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
}

.stcsp-section-heading > span {
    width: 34px;
    height: 1px;
    background: var(--stcsp-gold);
}

.stcsp-section-heading h2 {
    margin: 0;
    color: #ffffff;
    font-size: 28px !important;
    font-weight: 750 !important;
}

.stcsp-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.stcsp-related-card {
    overflow: hidden;
    background: #11110f;
    border: 1px solid rgba(215, 180, 118, 0.16);
    border-radius: 9px;
}

.stcsp-related-card__image {
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #171714;
}

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

.stcsp-related-card:hover .stcsp-related-card__image img {
    transform: scale(1.035);
}

.stcsp-related-card__placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 80% 20%, rgba(215, 180, 118, 0.15), transparent 36%),
        #151512;
}

.stcsp-related-card__content {
    padding: 22px 20px 23px;
}

.stcsp-related-card__content time {
    color: rgba(255, 255, 255, 0.38);
    font-size: 11px;
}

.stcsp-related-card h3 {
    margin: 10px 0 16px;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.65;
}

.stcsp-related-card h3 a {
    color: #ffffff !important;
    text-decoration: none !important;
}

.stcsp-related-card__link {
    color: var(--stcsp-gold) !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none !important;
}

.stcsp-comments {
    padding-top: 60px;
    padding-bottom: 70px;
}

/* Tablet */
@media (max-width: 1024px) {
    .stcsp-reading-layout {
        grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
        gap: 38px;
    }

    .stcsp-title {
        font-size: 43px !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .admin-bar .stcsp-progress {
        top: 46px;
    }

    .stcsp-container {
        width: calc(100% - 32px);
    }

    .stcsp-hero {
        padding: 66px 0 45px;
    }

    .stcsp-breadcrumbs {
        margin-bottom: 22px;
    }

    .stcsp-title {
        font-size: 32px !important;
        line-height: 1.42;
    }

    .stcsp-intro {
        font-size: 15px;
    }

    .stcsp-featured-wrap {
        padding-top: 20px;
    }

    .stcsp-featured {
        aspect-ratio: 4 / 3;
        border-radius: 8px;
    }

    .stcsp-reading-layout {
        display: flex;
        flex-direction: column;
        gap: 38px;
        padding-top: 44px;
        padding-bottom: 65px;
    }

    .stcsp-sidebar__sticky {
        position: static;
    }

    .stcsp-toc {
        padding: 20px;
        background: #11110f;
        border: 1px solid rgba(215, 180, 118, 0.16);
        border-radius: 8px;
    }

    .stcsp-share {
        margin-top: 18px;
        padding-bottom: 0;
        border-bottom: 0;
    }

    .stcsp-content {
        font-size: 16px;
        line-height: 1.95;
    }

    .stcsp-content h2 {
        margin-top: 44px;
        font-size: 26px !important;
    }

    .stcsp-content h3 {
        font-size: 21px !important;
    }

    .stcsp-cta {
        margin-top: 48px;
        padding: 28px 22px;
    }

    .stcsp-cta h2 {
        font-size: 23px !important;
    }

    .stcsp-cta__actions {
        flex-direction: column;
    }

    .stcsp-button {
        width: 100%;
    }

    .stcsp-related {
        padding: 60px 0 70px;
    }

    .stcsp-related__grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .stcsp-progress__bar,
    .stcsp-share__links a,
    .stcsp-button,
    .stcsp-related-card__image img {
        transition: none;
    }
}
