/* lithuaniandualcitizenship.com — shared content components (TOC, key-facts box, tables, FAQ, figures).
   Brand: gold #efad4a, dark green #2f4f4f, gray #f4f4f4, cream #fdf3e3, text #67687a, headings #131313. */

:root { --ldc-gold: #efad4a; --ldc-green: #2f4f4f; --ldc-gray: #f4f4f4; --ldc-cream: #fdf3e3; --ldc-text: #67687a; --ldc-head: #131313; --ldc-line: #e6ebf0; }

/* Table of contents */
.ldc-toc { background: var(--ldc-gray); border-left: 5px solid var(--ldc-gold); border-radius: 14px; padding: 22px 26px; margin: 28px 0 34px; }
.ldc-toc__title { font-weight: 800; color: var(--ldc-head); font-size: 17px; margin: 0 0 10px; letter-spacing: .02em; }
.ldc-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 34px; }
.ldc-toc li { margin: 0 0 7px; break-inside: avoid; color: var(--ldc-gold); font-weight: 700; }
.ldc-toc a { color: var(--ldc-green); font-weight: 600; text-decoration: none; }
.ldc-toc a:hover { text-decoration: underline; }
@media (max-width: 767px) { .ldc-toc ol { columns: 1; } }

/* Key facts / "In short" box */
.ldc-keybox { background: var(--ldc-cream); border-radius: 16px; border-left: 5px solid var(--ldc-gold); padding: 24px 28px; margin: 26px 0 32px; }
.ldc-keybox__title { font-weight: 800; color: var(--ldc-head); font-size: 18px; margin: 0 0 10px; }
.ldc-keybox ul { margin: 0; padding: 0; list-style: none; }
.ldc-keybox li { position: relative; padding-left: 28px; margin: 0 0 9px; color: #3d3e4a; line-height: 1.6; }
.ldc-keybox li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border-radius: 50%; background: var(--ldc-gold); box-shadow: inset 0 0 0 4px #fff3; }

/* Tables (articles and pages) */
.ldc-table-wrap { overflow-x: auto; margin: 26px 0 32px; border-radius: 14px; box-shadow: 0 12px 40px rgba(19, 19, 19, .06); }
.ldc-table, .tp-postbox-details-article table, .tp-postbox-details-article table { width: 100%; border-collapse: collapse; background: #fff; font-size: 15px; line-height: 1.55; }
.ldc-table th, .tp-postbox-details-article table th, .tp-postbox-details-article table th { background: var(--ldc-green); color: #fff; text-align: left; padding: 14px 16px; font-weight: 700; }
.ldc-table td, .tp-postbox-details-article table td, .tp-postbox-details-article table td { padding: 13px 16px; border-bottom: 1px solid var(--ldc-line); color: #3d3e4a; vertical-align: top; }
.ldc-table tr:nth-child(even) td, .tp-postbox-details-article table tr:nth-child(even) td { background: #fafbfc; }
.ldc-table td:first-child { font-weight: 700; color: var(--ldc-head); }

/* Figures / infographics */
.ldc-figure { margin: 30px 0 34px; }
.ldc-figure img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 12px 40px rgba(19, 19, 19, .08); }
.ldc-figure figcaption { font-size: 14px; color: var(--ldc-text); margin-top: 10px; text-align: center; }

/* FAQ cards (wrapped by the content filter) */
.ldc-faq { margin: 10px 0 30px; }
.ldc-faq__item { background: #fff; border: 1px solid var(--ldc-line); border-left: 4px solid var(--ldc-gold); border-radius: 12px; padding: 18px 22px 8px; margin: 0 0 14px; box-shadow: 0 8px 26px rgba(19, 19, 19, .04); }
.ldc-faq__item h3 { font-size: 19px !important; margin: 0 0 8px !important; color: var(--ldc-head); }

/* Article headings anchor offset under sticky header */
.tp-postbox-details-article h2[id], .ldc-anchor { scroll-margin-top: 110px; }

/* CTA box at the end of articles */
.ldc-cta { background: var(--ldc-green); border-radius: 18px; padding: 30px 32px; margin: 34px 0 10px; color: #d5dbe7; }
.ldc-cta__title { color: #fff; font-size: 22px; font-weight: 800; margin: 0 0 8px; }
.ldc-cta p { color: #d5dbe7; margin: 0 0 16px; }
.ldc-cta a.ldc-btn { display: inline-block; background: var(--ldc-gold); color: #fff !important; font-weight: 700; padding: 13px 26px; border-radius: 8px; text-decoration: none; }

/* theme overrides: centred cells and normal-weight <p> titles */
.ldc-table th, .ldc-table td, .tp-postbox-details-article table th, .tp-postbox-details-article table td { text-align: left !important; }
.ldc-toc__title, .ldc-keybox__title, .ldc-cta__title { font-weight: 800 !important; }
.ldc-cta__title { color: #fff !important; font-size: 22px !important; }


/* Related guides (internal linking block at the end of articles) */
.ldc-related { border: 1px solid var(--ldc-line); border-top: 5px solid var(--ldc-gold); border-radius: 16px; padding: 24px 28px; margin: 40px 0 10px; background: #fff; }
.ldc-related__title { font-weight: 800; color: var(--ldc-head); font-size: 19px; margin: 0 0 14px; }
.ldc-related__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.ldc-related__list li { position: relative; padding-left: 22px; line-height: 1.45; }
.ldc-related__list li::before { content: "→"; position: absolute; left: 0; color: var(--ldc-gold); font-weight: 800; }
.ldc-related a { color: var(--ldc-green); font-weight: 600; text-decoration: none; }
.ldc-related a:hover { text-decoration: underline; }
.ldc-related__hub { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid var(--ldc-line); font-size: 15px; color: var(--ldc-text); }
@media (max-width: 767px) { .ldc-related { padding: 20px 18px; } .ldc-related__list { grid-template-columns: 1fr; } }
