/**
 * Lexoria — blog (list + article). Mobile first.
 */

.lx-blog, .lx-post { --b-navy: #0B1F3A; --b-navy2: #13325C; --b-gold: #C4913D; --b-gold2: #E5C079; --b-ink: #1F2A3C; --b-muted: #5B6880; --b-line: #E4E8EF; --b-bg: #F6F8FB; }

/* ---------- Hero (list + article) ---------- */
.lx .lx-bhero { background: radial-gradient(1200px 500px at 85% 0%, rgba(229,192,121,.18), transparent 60%), linear-gradient(135deg, #0B1F3A 0%, #13325C 100%); color: #fff; padding: 34px 0 40px; }
.lx .lx-bhero__crumbs { font-size: 13px; color: #A9B6CA; margin: 0 0 14px; }
.lx .lx-bhero__crumbs a { color: #E5C079; text-decoration: none; }
.lx .lx-bhero__kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid rgba(229,192,121,.55); border-radius: 999px; color: #E5C079; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.lx .lx-bhero__title { font-family: Montserrat, system-ui, sans-serif; font-weight: 800; font-size: 30px; line-height: 1.18; margin: 14px 0 12px; color: #fff; }
.lx .lx-bhero__lead { font-size: 16px; line-height: 1.6; color: #C9D3E2; margin: 0; max-width: 720px; }
.lx .lx-bhero__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 16px; font-size: 13px; color: #A9B6CA; }
.lx .lx-bhero__meta span::before { content: "•"; color: #E5C079; margin-right: 8px; }
.lx .lx-bhero__meta span:first-child::before { content: none; }
@media (min-width: 900px) {
	.lx .lx-bhero { padding: 54px 0 60px; }
	.lx .lx-bhero__title { font-size: 44px; }
	.lx .lx-bhero__lead { font-size: 18px; }
}

/* ---------- Blog list ---------- */
.lx .lx-blog__body { background: var(--b-bg); padding: 26px 0 60px; }
.lx .lx-blog__cats { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 18px; scrollbar-width: none; }
.lx .lx-blog__cats::-webkit-scrollbar { display: none; }
.lx .lx-blog__cat { flex: none; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--b-line); color: var(--b-ink); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.lx .lx-blog__cat:hover, .lx .lx-blog__cat.is-active { background: var(--b-navy); border-color: var(--b-navy); color: #fff; }
.lx .lx-blog__grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 680px) { .lx .lx-blog__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .lx .lx-blog__grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.lx .lx-bcard { display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--b-line); box-shadow: 0 6px 22px rgba(11,31,58,.06); transition: transform .2s ease, box-shadow .2s ease; text-decoration: none; color: inherit; }
.lx .lx-bcard:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(11,31,58,.12); }
.lx .lx-bcard__img { aspect-ratio: 1200 / 630; background: var(--b-navy); overflow: hidden; }
.lx .lx-bcard__img img { width: 100%; height: 100% !important; object-fit: cover; display: block; }
.lx .lx-bcard__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.lx .lx-bcard__cat { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--b-gold); }
.lx .lx-bcard__title { font-family: Montserrat, system-ui, sans-serif; font-size: 18px; line-height: 1.3; font-weight: 700; color: var(--b-navy); margin: 0; }
.lx .lx-bcard__excerpt { font-size: 14.5px; line-height: 1.55; color: var(--b-muted); margin: 0; }
.lx .lx-bcard__meta { margin-top: auto; font-size: 13px; color: #8391A6; }
.lx .lx-bcard--feature { grid-column: 1 / -1; }
@media (min-width: 900px) {
	.lx .lx-bcard--feature { flex-direction: row; }
	.lx .lx-bcard--feature .lx-bcard__img { flex: 0 0 56%; aspect-ratio: auto; }
	.lx .lx-bcard--feature .lx-bcard__body { padding: 34px; justify-content: center; }
	.lx .lx-bcard--feature .lx-bcard__title { font-size: 28px; }
	.lx .lx-bcard--feature .lx-bcard__excerpt { font-size: 16px; }
}
.lx .lx-blog__empty { padding: 40px; text-align: center; color: var(--b-muted); background: #fff; border-radius: 20px; }
.lx .lx-blog__pager { display: flex; justify-content: center; gap: 8px; margin-top: 30px; flex-wrap: wrap; }
.lx .lx-blog__pager a, .lx .lx-blog__pager span { min-width: 42px; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--b-line); text-align: center; color: var(--b-ink); text-decoration: none; font-weight: 600; }
.lx .lx-blog__pager .is-current { background: var(--b-navy); color: #fff; border-color: var(--b-navy); }

/* ---------- Article ---------- */
.lx .lx-post__cover { margin: -18px auto 0; position: relative; z-index: 2; max-width: 880px; }
.lx .lx-post__cover img { display: block; width: 100%; height: auto !important; border-radius: 18px; box-shadow: 0 18px 50px rgba(11,31,58,.25); }
.lx .lx-post__wrap { background: #fff; padding: 26px 0 40px; }
.lx .lx-post__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 32px; }
@media (min-width: 1080px) { .lx .lx-post__layout { grid-template-columns: minmax(0, 720px) 300px; justify-content: space-between; } }
.lx .lx-post__aside { display: none; }
@media (min-width: 1080px) { .lx .lx-post__aside { display: block; } .lx .lx-post__sticky { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 18px; } }
.lx .lx-toc { background: var(--b-bg); border-radius: 18px; padding: 18px 20px; }
.lx .lx-toc__title { font-family: Montserrat, system-ui, sans-serif; font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--b-navy); margin: 0 0 10px; }
.lx .lx-toc ol { margin: 0; padding: 0 0 0 18px; }
.lx .lx-toc li { margin: 6px 0; font-size: 14px; line-height: 1.4; }
.lx .lx-toc a { color: var(--b-muted); text-decoration: none; }
.lx .lx-toc a:hover, .lx .lx-toc a.is-active { color: var(--b-gold); }
.lx .lx-toc--mobile { margin: 0 0 24px; }
.lx .lx-toc--mobile summary { cursor: pointer; list-style: none; font-family: Montserrat, system-ui, sans-serif; font-weight: 700; color: var(--b-navy); }
.lx .lx-toc--mobile summary::-webkit-details-marker { display: none; }
.lx .lx-toc--mobile summary::after { content: "+"; float: right; color: var(--b-gold); font-size: 20px; line-height: 1; }
.lx .lx-toc--mobile[open] summary::after { content: "–"; }
.lx .lx-toc--mobile ol { margin-top: 12px; }
@media (min-width: 1080px) { .lx .lx-toc--mobile { display: none; } }
.lx .lx-asidecta { background: linear-gradient(135deg, #0B1F3A, #13325C); color: #fff; border-radius: 18px; padding: 22px; }
.lx .lx-asidecta__title { font-family: Montserrat, system-ui, sans-serif; font-weight: 700; font-size: 18px; margin: 0 0 8px; color: #fff; }
.lx .lx-asidecta__text { font-size: 14px; line-height: 1.5; color: #C9D3E2; margin: 0 0 16px; }

/* typography */
.lx .lx-post__content { font-size: 17px; line-height: 1.75; color: var(--b-ink); }
.lx .lx-post__content > * + * { margin-top: 18px; }
.lx .lx-post__content h2 { font-family: Montserrat, system-ui, sans-serif; font-weight: 800; font-size: 24px; line-height: 1.3; color: var(--b-navy); margin-top: 42px; scroll-margin-top: 90px; }
.lx .lx-post__content h3 { font-family: Montserrat, system-ui, sans-serif; font-weight: 700; font-size: 19px; line-height: 1.35; color: var(--b-navy); margin-top: 28px; scroll-margin-top: 90px; }
@media (min-width: 900px) { .lx .lx-post__content h2 { font-size: 28px; } .lx .lx-post__content h3 { font-size: 21px; } }
.lx .lx-post__content p { margin-bottom: 0; }
.lx .lx-post__content a { color: #9A6B1F; text-decoration: underline; text-decoration-color: rgba(196,145,61,.5); text-underline-offset: 3px; font-weight: 600; }
.lx .lx-post__content a:hover { color: var(--b-navy); }
.lx .lx-post__content ul, .lx .lx-post__content ol { padding-left: 22px; }
.lx .lx-post__content li { margin: 8px 0; }
.lx .lx-post__content li::marker { color: var(--b-gold); font-weight: 700; }
.lx .lx-post__content strong { color: var(--b-navy); }

/* blocks */
.lx .lx-post-tldr { background: linear-gradient(135deg, #FFF8EA, #FDF1D8); border: 1px solid #F0D9A8; border-radius: 18px; padding: 20px 22px; }
.lx .lx-post-tldr__title { font-family: Montserrat, system-ui, sans-serif; font-weight: 800; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #9A6B1F; margin: 0 0 8px !important; }
.lx .lx-post-tldr ul { margin: 0; }
.lx .lx-post-note { border-radius: 16px; padding: 16px 18px; border-left: 4px solid; }
.lx .lx-post-note p { margin: 0; }
.lx .lx-post-note--tip { background: #EEF8F3; border-color: #3F7D62; }
.lx .lx-post-note--info { background: #EEF4FB; border-color: #2F6DB5; }
.lx .lx-post-note--warn { background: #FFF4E8; border-color: #D9822B; }
.lx ol.lx-post-steps { list-style: none; padding: 0; counter-reset: step; }
.lx ol.lx-post-steps > li { position: relative; padding: 4px 0 18px 56px; margin: 0; counter-increment: step; }
.lx ol.lx-post-steps > li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--b-navy); color: #E5C079; font-weight: 800; display: flex; align-items: center; justify-content: center; font-family: Montserrat, system-ui, sans-serif; }
.lx ol.lx-post-steps > li::after { content: ""; position: absolute; left: 18px; top: 42px; bottom: 0; width: 2px; background: var(--b-line); }
.lx ol.lx-post-steps > li:last-child::after { display: none; }
.lx ul.lx-post-check { list-style: none; padding: 0; }
.lx ul.lx-post-check > li { position: relative; padding-left: 34px; }
.lx ul.lx-post-check > li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 7px; background: #3F7D62 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/16px no-repeat; }
.lx .lx-post-tablewrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--b-line); }
.lx .lx-post-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; min-width: 520px; }
.lx .lx-post-table th { background: var(--b-navy); color: #fff; text-align: left; padding: 12px 14px; font-weight: 700; }
.lx .lx-post-table td { padding: 11px 14px; border-top: 1px solid var(--b-line); vertical-align: top; }
.lx .lx-post-table tbody tr:nth-child(even) td { background: var(--b-bg); }
.lx .lx-post-dialog { background: var(--b-bg); border-radius: 16px; padding: 16px 18px; border: 1px dashed #C9D3E2; }
.lx .lx-post-dialog p { margin: 6px 0 !important; }

/* CTA card inside article */
.lx .lx-pcta { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: center; background: radial-gradient(600px 200px at 100% 0%, rgba(229,192,121,.25), transparent 60%), linear-gradient(135deg, #0B1F3A, #13325C); color: #fff; border-radius: 20px; padding: 22px; margin: 30px 0 !important; }
@media (min-width: 700px) { .lx .lx-pcta { grid-template-columns: 1fr auto; padding: 26px 28px; } }
.lx .lx-pcta__kicker { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #E5C079; margin: 0 0 6px !important; }
.lx .lx-pcta__title { font-family: Montserrat, system-ui, sans-serif; font-weight: 800; font-size: 20px; line-height: 1.3; color: #fff; margin: 0 0 6px !important; }
.lx .lx-pcta__text { font-size: 15px; line-height: 1.5; color: #C9D3E2; margin: 0 !important; }
.lx .lx-pcta__btn, .lx .lx-asidecta__btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 24px; border-radius: 999px; background: linear-gradient(135deg, #C4913D 0%, #E5C079 100%); color: #fff !important; font-weight: 700; font-size: 15px; text-decoration: none !important; white-space: nowrap; box-shadow: 0 10px 24px rgba(196,145,61,.35); }
.lx .lx-pcta__btn:hover, .lx .lx-asidecta__btn:hover { filter: brightness(1.06); }

/* FAQ */
.lx .lx-pfaq { margin-top: 44px; }
.lx .lx-pfaq__title { font-family: Montserrat, system-ui, sans-serif; font-weight: 800; font-size: 24px; color: var(--b-navy); margin: 0 0 14px; }
.lx .lx-pfaq details { border: 1px solid var(--b-line); border-radius: 14px; padding: 0 18px; margin: 10px 0; background: #fff; }
.lx .lx-pfaq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 700; color: var(--b-navy); position: relative; }
.lx .lx-pfaq summary::-webkit-details-marker { display: none; }
.lx .lx-pfaq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 24px; color: var(--b-gold); }
.lx .lx-pfaq details[open] summary::after { content: "–"; }
.lx .lx-pfaq details p { margin: 0 0 16px; color: var(--b-muted); line-height: 1.65; }

/* author / share / related */
.lx .lx-pauthor { display: flex; gap: 16px; align-items: center; margin-top: 40px; padding: 20px; background: var(--b-bg); border-radius: 18px; }
.lx .lx-pauthor__logo { flex: none; width: 56px; height: 56px; border-radius: 16px; background: #0B1F3A; display: flex; align-items: center; justify-content: center; color: #E5C079; font-family: Montserrat, system-ui, sans-serif; font-weight: 800; font-size: 22px; }
.lx .lx-pauthor__name { font-weight: 700; color: var(--b-navy); margin: 0; }
.lx .lx-pauthor__text { font-size: 14px; color: var(--b-muted); margin: 4px 0 0; line-height: 1.5; }
.lx .lx-pshare { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 22px; font-size: 14px; color: var(--b-muted); }
.lx .lx-pshare a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--b-line); color: var(--b-ink); text-decoration: none; font-weight: 600; }
.lx .lx-pshare a:hover { border-color: var(--b-gold); color: var(--b-gold); }
.lx .lx-prelated { background: var(--b-bg); padding: 44px 0 60px; }
.lx .lx-prelated__title { font-family: Montserrat, system-ui, sans-serif; font-weight: 800; font-size: 26px; color: var(--b-navy); margin: 0 0 20px; }

/* reading progress */
.lx-readbar { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, #C4913D, #E5C079); z-index: 10000; transition: width .1s linear; }

/* Georgian: theme forces smaller sizes for long words */
html[lang^="ka"] .lx .lx-bhero__title { font-size: 26px; }
@media (min-width: 900px) { html[lang^="ka"] .lx .lx-bhero__title { font-size: 36px; } }
html[lang^="ka"] .lx .lx-post__content h2 { font-size: 22px; }
