/* PAGES*/
.list__container,
.single-container,
.tags-page__container {
    padding: 10rem 2rem 5rem;
    min-height: 80vh;

    @media only screen and (max-width: 900px) {
        padding: 7rem 0 5rem;
    }
}

.list-section__container {
    width: 70%;
    margin: 0 auto;
    @media only screen and (max-width: 900px) {
        width: 90%;
    }
}

.list-section__container,
.tags-section__container {
    padding: 4rem 5rem 4rem;

    @media only screen and (max-width: 900px) {
        padding: 0 1rem 1rem;
    }
}

.list-section__title,
.tags-section__title {
    font-family: "Crimson Text";
    padding-bottom: 2rem;
    font-size: 3.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.1em;

    @media only screen and (max-width: 1200px) {
        margin-top: 3rem;
    }
}

.list-columns__container,
.tags-columns__container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 3rem;

    @media only screen and (max-width: 900px) {
        grid-template-columns: 1fr;
    }
}

.single-container {
    width: 70%;
    margin: 0 auto;

    @media only screen and (max-width: 600px) {
        width: 90%;
    }
}

.single-container h2 {
    width: 80%;
    margin: 0 auto;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-align: center;

    @media only screen and (max-width: 600px) {
        font-size: 1.5rem;
    }
}

.single-container h3 {
    width: 80%;
    margin: 0 auto;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    text-transform: uppercase;
    text-align: center;

    @media only screen and (max-width: 600px) {
        font-size: 1.5rem;
    }
}

.single-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin: 0 auto;
}

.single-page__meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.single-page__meta span {
    font-size: 1.5rem;
}

.single-page__meta .single-page__date {
    font-size: 1rem;
}

.article-intro {
    margin-bottom: 68px;
    padding: 20px 24px 22px;
    background: #1c1030;
    border-left: 3px solid #7c3aed;
    color: rgba(255, 255, 255, 0.82);
}

.article-content,
.page-content {
    margin-top: 3rem;
}

.article-content p,
.page-content p {
    font-family: "Roboto";
    line-height: 1.5;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.article-content p .text-big {
    font-size: 1.5rem;
    line-height: 1.2;
}

.article-content a,
article-content p a {
    font-family: "Crimson Text";
    color: #3b0764;
    text-decoration: underline;
    text-decoration-color: #3d6188;
    font-size: 1.1rem;
    word-break: break-all;
}

.article-content a:hover,
article-content p a:hover {
    color: var(--focus-color);
}

.article-intro__top {
    margin: 0 0 12px;
    font-family: "Roboto", sans-serif;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-decoration: none;
    color: #c4b5fd;
}
.article-intro p:not(.article-intro__top) {
    width: auto;
    margin: 0 0 0.8rem;
    padding: 0;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    line-height: 1.72;
    color: rgba(255, 255, 255, 0.82);
}
.article-intro p:not(.article-intro__top):last-child {
    margin-bottom: 0;
}
.article-intro strong {
    color: #fff;
    font-size: inherit;
}

.article-content ol,
.article-content ul,
.page-content ol {
    width: 80%;
    margin: 2rem auto;
}

.article-content figure {
    p {
        width: 100%;

        iframe {
            width: 100%;
        }
    }
}

.article-content p,
.article-content h2,
.article-content h3,
.page-content p,
.page-content h2 {
    width: 80%;
    margin: 0 auto 2rem;

    @media only screen and (max-width: 600px) {
        width: 90%;
        padding: 1rem;
    }
}

.page-content i {
    font-style: italic;
}

.page-content h3 {
    text-align: left;
    margin: 0 0 2rem 0;
}
.article-content h2,
.article-content h3,
.page-content h2,
.page-content h3 {
    margin-top: 2rem;
}

.article-content p + blockquote,
.article-content p + figure {
    margin-top: 2rem;
}

/* Attributed blockquote — synced with Claude Design (left purple border) */
.article-content blockquote {
    margin: 2rem 0;
    padding: 20px 24px;
    border-left: 3px solid #7c3aed;
    background: rgba(124, 58, 237, 0.04);
    text-align: left;
}

.article-content blockquote p {
    width: 100%;
    font-family: "Crimson Text", serif;
    font-size: 19px;
    font-weight: 600;
    font-style: italic;
    line-height: 1.5;
    color: #2a1e1e;
}

.article-content blockquote p span {
    font-size: 19px;
    font-family: "Crimson Text", serif;
}

.article-content figure.image img {
    width: 100%;
    height: auto;
}

.article-content figure.image figcaption {
    font-size: 0.9rem;
    text-align: center;
    width: 50%;
    margin: 1rem auto 3rem;
    color: #3b0764;
}

.article-content i {
    font-family: Roboto;
    font-style: italic;
    line-height: 1.5rem;
}

.article-content b,
.article-content strong {
    font-weight: bold;
    color: #3b0764;
    font-size: 1.3rem;
}

/* ───────── ARTICLE PAGE (redesigned single) ───────── */
.article-page {
    background: #f0ede8;
}
.article-page__backbar {
    padding: 14px 7rem;
    border-bottom: 1px solid rgba(26, 16, 21, 0.08);
}
.article-page__back {
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #6b5f5a;
    text-decoration: none;
}
.article-page__back:hover {
    opacity: 0.8;
}
.article-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
    background: #2a1520;
}
.article-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.article-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(250, 247, 244, 0.65) 0%,
        transparent 40%
    );
}
.article-page__inner {
    padding: 0 7rem;
}
.article-page__grid {
    display: grid;
    grid-template-columns: 1fr 288px;
    gap: 56px;
    padding: 36px 0 80px;
    align-items: start;
}

/* Article body */
.article-main__meta {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.article-main__chip {
    padding: 3px 8px;
    background: #7c3aed;
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}
.article-main__byline,
.article-main__date {
    font-family: "Roboto", sans-serif;
    font-size: 12px;
    color: #6b5f5a;
}
.article-main__title {
    margin: 0 0 18px;
    font-family: "Crimson Text", serif;
    font-size: 38px;
    font-weight: 900;
    line-height: 1.1;
    color: #1a1015;
}
.article-main__lead {
    margin: 0 0 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(26, 16, 21, 0.1);
    font-family: "Crimson Text", serif;
    font-size: 18px;
    font-style: italic;
    line-height: 1.62;
    color: #4a3f3a;
}
/* keep the redesigned body tight under the lead */
.article-main .article-content {
    margin-top: 0;
}

/* Sidebar */
.article-aside__block {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(26, 16, 21, 0.09);
}
.article-aside__heading {
    margin: 0 0 11px;
    font-family: "Roboto", sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #6b5f5a;
}
.article-aside__tags {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}
.article-aside__tag {
    padding: 4px 9px;
    background: rgba(124, 58, 237, 0.07);
    color: #3b0764;
    font-family: "Roboto", sans-serif;
    font-size: 11px;
    text-decoration: none;
}
.article-aside__tag:hover {
    opacity: 0.8;
}

.article-aside__similar-header {
    font-size: 9px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgb(107, 95, 90);
    font-family: "DM Sans", sans-serif;
    font-weight: 600;
    margin-bottom: 14px;
}

p.similar-category {
    font-size: 9px;
    color: rgb(59, 7, 100);
    font-family: "Roboto", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    display: block;
    margin-bottom: 3px;
}

.article-aside__similar-container {
    cursor: pointer;
    display: flex;
    gap: 11px;
    align-items: start;
    margin-bottom: 1.5rem;
}

.article-aside__similar-image-container {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: rgb(40, 32, 30);
    position: relative;
    overflow: hidden;
}

.article-aside__similar-title a {
    font-family: "Crimson Text", serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    color: rgb(26, 16, 21);
    text-decoration: none;
}

.article-aside__similar-title a:hover {
    color: rgb(59, 7, 100);
}

.article-hero__similar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media only screen and (max-width: 1000px) {
    .article-page__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}
@media only screen and (max-width: 1200px) {
    .article-page__backbar {
        padding: 14px 1.5rem;
    }
    .article-page__inner {
        padding: 0 1.5rem;
    }
}
@media only screen and (max-width: 760px) {
    .article-hero {
        height: 240px;
    }
    .article-main__title {
        font-size: 26px;
    }
}
