/**
 * Landing page content — matches admin rich editor (.rich-editor-area) for WYSIWYG.
 */

.lp-content {
    width: 100%;
    max-width: 100%;
    padding: 1.15rem 1.3rem 1.25rem;
    font-size: .9375rem;
    line-height: 1.65;
    word-break: break-word;
    overflow-wrap: anywhere;
    color: #0f172a;
    animation: lp-fade-up 0.85s ease both;
}

.lp-content > *:first-child {
    margin-top: 0;
}

.lp-content > *:last-child {
    margin-bottom: 0;
}

/* Typography — same as admin rich editor */
.lp-content h1 {
    margin: 1rem 0 .75rem;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.2;
    color: #020617;
}

.lp-content h2 {
    margin: .95rem 0 .65rem;
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.25;
    color: #0f172a;
}

.lp-content h3 {
    margin: .85rem 0 .55rem;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.3;
    color: #0f172a;
}

.lp-content h4 {
    margin: .75rem 0 .5rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #1e293b;
}

.lp-content h5,
.lp-content h6 {
    margin: .65rem 0 .45rem;
    font-weight: 800;
    color: #1e293b;
}

.lp-content p {
    margin: 0 0 .75rem;
}

.lp-content ul,
.lp-content ol {
    margin: 0 0 .85rem;
    padding-inline-start: 1.35rem;
}

.lp-content ul {
    list-style: disc;
}

.lp-content ol {
    list-style: decimal;
}

.lp-content li {
    margin: 0 0 .35rem;
}

.lp-content blockquote {
    margin: .85rem 0;
    padding: .65rem .9rem;
    border-inline-start: 4px solid color-mix(in srgb, var(--brand-primary) 35%, #cbd5e1);
    border-radius: 0 .65rem .65rem 0;
    background: #f8fafc;
    color: #334155;
}

.lp-content pre {
    margin: .85rem 0;
    padding: .85rem 1rem;
    border-radius: .75rem;
    background: #0f172a;
    color: #e2e8f0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .8125rem;
    line-height: 1.55;
    overflow-x: auto;
}

.lp-content code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: .9em;
}

.lp-content a:not([style]) {
    color: var(--brand-primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lp-content a[style] {
    text-decoration: none;
}

.lp-content img {
    max-width: 100%;
    height: auto;
    border-radius: .65rem;
}

.lp-content video {
    max-width: 100%;
    height: auto;
    border-radius: .65rem;
}

.lp-content iframe {
    max-width: 100%;
    border: 0;
    border-radius: .65rem;
}

.lp-content table {
    width: 100%;
    border-collapse: collapse;
    margin: .85rem 0;
    font-size: .875rem;
}

.lp-content th,
.lp-content td {
    border: 1px solid #e2e8f0;
    padding: .55rem .65rem;
    text-align: inherit;
    vertical-align: top;
}

.lp-content th {
    background: #f8fafc;
    font-weight: 800;
    color: #334155;
}

.lp-content hr {
    margin: 1rem 0;
    border: 0;
    border-top: 1px solid #e2e8f0;
}

.lp-content i[class*="fa-"] {
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
}

.lp-content [style*="text-align: center"],
.lp-content [align="center"] {
    text-align: center !important;
}

.lp-content [style*="text-align: right"],
.lp-content [align="right"] {
    text-align: right !important;
}

.lp-content [style*="text-align: left"],
.lp-content [align="left"] {
    text-align: left !important;
}

.lp-content [style*="text-align: justify"] {
    text-align: justify !important;
}

@media (max-width: 640px) {
    .lp-content {
        padding: 1rem 1rem 1.15rem;
        font-size: .9rem;
    }
}
