/* Styles for rich-text content produced by the Lexical editor and rendered via ArticleContentParser */

.lex-quote {
    border-left: 3px solid #14cf93;
    background: rgba(20, 207, 147, 0.04);
    margin: 0 0 2.5rem;
    padding: 1.75rem 1.75rem 1.75rem 2.25rem;
    font-style: italic;
}

.lex-quote p {
    font-size: 17px !important;
    line-height: 1.85 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0 !important;
    letter-spacing: 0.01em;
}

/* Ensure bold/strong always render inline regardless of inherited display */
b,
strong,
.lex-bold {
    display: inline;
    font-weight: 500;
}

.lex-italic {
    font-style: italic;
}

.lex-underline {
    text-decoration: underline;
}

.lex-superscript {
    font-size: 0.75em;
    vertical-align: super;
}

.lex-ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin: 0.5rem 0;
}

.lex-ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin: 0.5rem 0;
}

.lex-listitem {
    margin: 0.2rem 0;
}

.lex-nested-listitem {
    list-style-type: none;
}

/* Illustration card — rendered by ArticleContentParser for type=illustration */

.illustration-card {
    display: flex;
    flex-direction: column;
}

.illustration-card__image-wrap {
    overflow: hidden;
    flex-shrink: 0;
}

.illustration-card__image-wrap--landscape {
    aspect-ratio: 16 / 9;
}

.illustration-card__image-wrap--portrait {
    aspect-ratio: 9 / 16;
}

.illustration-card__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.illustration-card__body {
    padding-top: 1.25rem;
    flex: 1;
}

.illustration-card__title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--gold);
}

.illustration-card__description {
    font-size: 14px;
    line-height: 1.75;
    opacity: 0.8;
    margin: 0;
}
