.twsc-single {
    --twsc-blue: #1f476f;
    --twsc-blue-soft: #4c6c8c;
    --twsc-gold: #edbb5f;
    --twsc-body: #666;
    --twsc-muted: #747570;
    --twsc-ink: #222127;
    --twsc-soft: #f9f9f9;
    --twsc-single-content-width: var(--content-width, calc(100% - 120px));
    --twsc-single-content-max-width: var(--content-max-width, 1332px);
    background: #fff;
    color: var(--twsc-body);
    font-family: "Poppins", sans-serif;
}

.twsc-single *,
.twsc-single *::before,
.twsc-single *::after {
    box-sizing: border-box;
}

.twsc-single__article {
    margin: 0;
}

.twsc-single__header {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding: 14px 0 0;
}

.twsc-single__breadcrumb {
    align-items: center;
    color: var(--twsc-muted);
    display: flex;
    font-size: 18px;
    justify-content: space-between;
    line-height: 1.5;
    margin: 0 auto;
    max-width: var(--twsc-single-content-max-width);
    padding: 0;
    width: var(--twsc-single-content-width);
}

.twsc-single__breadcrumb-main {
    align-items: center;
    display: flex;
    gap: 10px;
    min-width: 0;
    max-width: 100%;
}

.twsc-single__back {
    color: var(--twsc-muted);
    font-weight: 300;
    text-decoration: none;
    white-space: nowrap;
}

.twsc-single__back span {
    margin-right: 8px;
}

.twsc-single__back:hover,
.twsc-single__back:focus-visible {
    color: var(--twsc-blue);
}

.twsc-single__breadcrumb-separator {
    font-family: "Quicksand", "Poppins", sans-serif;
    font-size: 13px;
}

.twsc-single__breadcrumb-title {
    font-style: italic;
    font-weight: 300;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.twsc-single__breadcrumb-date {
    font-family: "Quicksand", "Poppins", sans-serif;
    font-weight: 400;
    white-space: nowrap;
}

.twsc-single__title {
    color: var(--twsc-blue);
    font-family: "Playfair Display", serif;
    font-size: 52px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.32;
    margin: 0 auto;
    max-width: var(--twsc-single-content-max-width);
    padding: 0;
    text-align: center;
    width: var(--twsc-single-content-width);
}

.twsc-single__hero-image {
    align-items: center;
    background: var(--twsc-soft);
    display: flex;
    height: 500px;
    justify-content: center;
    margin: 0 auto;
    max-width: var(--twsc-single-content-max-width);
    overflow: hidden;
    width: var(--twsc-single-content-width);
}

.twsc-single__hero-image img {
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.twsc-single__hero-image--fallback img {
    height: 180px;
    object-fit: contain;
    width: 180px;
}

.twsc-single__meta-row {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    max-width: var(--twsc-single-content-max-width);
    padding: 0;
    width: var(--twsc-single-content-width);
}

.twsc-single__meta,
.twsc-single__date,
.twsc-single__share {
    align-items: center;
    display: flex;
}

.twsc-single__meta {
    gap: 50px;
}

.twsc-single__author-avatar {
    align-items: center;
    background: var(--twsc-blue-soft);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-size: 12px;
    font-weight: 600;
    height: 47px;
    justify-content: center;
    letter-spacing: 1.08px;
    text-transform: uppercase;
    width: 47px;
}

.twsc-single__author-name,
.twsc-single__date {
    color: var(--twsc-body);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 4.68px;
    line-height: 1.5;
    text-transform: uppercase;
}

.twsc-single__author-name {
    margin-left: -40px;
}

.twsc-single__date {
    gap: 10px;
}

.twsc-single__clock {
    border: 1.5px solid var(--twsc-blue-soft);
    border-radius: 50%;
    height: 15px;
    position: relative;
    width: 15px;
}

.twsc-single__clock::before,
.twsc-single__clock::after {
    background: var(--twsc-blue-soft);
    content: "";
    left: 6px;
    position: absolute;
    top: 3px;
    transform-origin: bottom center;
    width: 1.5px;
}

.twsc-single__clock::before {
    height: 5px;
}

.twsc-single__clock::after {
    height: 4px;
    transform: rotate(90deg);
}

.twsc-single__share {
    color: var(--twsc-ink);
    gap: 20px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.9;
}

.twsc-single__share-link {
    align-items: center;
    border: 1px solid #ececec;
    border-radius: 50%;
    color: var(--twsc-blue);
    display: inline-flex;
    font-size: 13px;
    font-weight: 600;
    height: 40px;
    justify-content: center;
    text-decoration: none;
    width: 40px;
}

.twsc-single__share-link:hover,
.twsc-single__share-link:focus-visible {
    background: var(--twsc-blue);
    border-color: var(--twsc-blue);
    color: #fff;
}

.twsc-single__content {
    color: var(--twsc-body);
    font-size: 24px;
    line-height: 1.42;
    margin: 0 auto;
    max-width: var(--twsc-single-content-max-width);
    padding: 80px 0 60px;
    width: var(--twsc-single-content-width);
}

.twsc-single__content > * {
    margin-bottom: 30px;
}

.twsc-single__content > *:last-child {
    margin-bottom: 0;
}

.twsc-single__content p {
    line-height: 34px;
}

.twsc-single__content h2,
.twsc-single__content h3,
.twsc-single__content h4 {
    color: var(--twsc-blue);
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    line-height: 1.35;
}

.twsc-single__content h2 {
    font-size: 30px;
}

.twsc-single__content h3 {
    font-size: 26px;
}

.twsc-single__content blockquote {
    border: 0;
    color: var(--twsc-body);
    font-size: 34px;
    font-style: italic;
    font-weight: 300;
    line-height: 1.35;
    margin: 50px 0;
    padding: 44px 0 0;
    position: relative;
}

.twsc-single__content blockquote::before {
    content: "''";
    font-size: 44px;
    font-style: italic;
    font-weight: 800;
    left: 0;
    line-height: 34px;
    position: absolute;
    top: 0;
}

.twsc-single__content a {
    color: var(--twsc-blue);
}

.twsc-single__content img {
    height: auto;
    max-width: 100%;
}

.twsc-single__page-links {
    color: var(--twsc-blue);
    font-size: 16px;
    font-weight: 600;
}

.twsc-single-related {
    background: var(--twsc-soft);
    padding: 0 0 30px;
}

.twsc-single-related__header {
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 70px 24px 60px;
    text-align: center;
}

.twsc-single-related__header h2 {
    color: var(--twsc-blue);
    font-family: "Playfair Display", serif;
    font-size: 72px;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.15;
    margin: 0;
}

.twsc-single-related__grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 auto;
    max-width: var(--twsc-single-content-max-width);
    padding: 0 0 30px;
    width: var(--twsc-single-content-width);
}

.twsc-single-related .twsc-blog-card {
    background: #fff;
}

@media (max-width: 980px) {
    .twsc-single {
        --twsc-single-content-width: var(--content-width, calc(100% - 80px));
    }

    .twsc-single__header {
        gap: 48px;
    }

    .twsc-single__breadcrumb {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .twsc-single__breadcrumb-main {
        width: 100%;
    }

    .twsc-single__title {
        font-size: 44px;
    }

    .twsc-single__meta-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 28px;
    }

    .twsc-single__content {
        font-size: 20px;
        padding: 48px 0 44px;
    }

    .twsc-single__content .wp-block-paragraph,
    .twsc-single__content p {
        font-size: 20px;
        line-height: 1.6;
    }

    .twsc-single__content > * {
        margin-bottom: 26px;
    }

    .twsc-single__content blockquote {
        font-size: 28px;
    }

}

@media (max-width: 780px) {
    .twsc-single__hero-image {
        height: 340px;
    }

    .twsc-single__meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .twsc-single__author-name {
        margin-left: 0;
    }

    .twsc-single__share {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .twsc-single-related__header h2 {
        font-size: 48px;
    }

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

@media (max-width: 520px) {
    .twsc-single {
        --twsc-single-content-width: var(--content-width, calc(100% - 40px));
    }

    .twsc-single__title {
        font-size: 36px;
    }

    .twsc-single__header {
        gap: 36px;
    }

    .twsc-single__hero-image {
        height: 280px;
    }

    .twsc-single__hero-image--fallback img {
        height: 140px;
        width: 140px;
    }

    .twsc-single__content {
        font-size: 18px;
        padding: 36px 0 34px;
    }

    .twsc-single__content .wp-block-paragraph,
    .twsc-single__content p {
        font-size: 17px;
        line-height: 1.65;
    }

    .twsc-single__content > * {
        margin-bottom: 22px;
    }

    .twsc-single__content h2 {
        font-size: 25px;
    }
}
