/*
 * LibraMed Cabinet Core v0.5.30
 * Premium Article Framework — SAFE TEST
 * CSS only, no JS, no external fonts/libraries.
 */
body.libramed-premium-article {
    --lm-pa-navy:#071a3d;
    --lm-pa-text:#17233a;
    --lm-pa-muted:#6b7789;
    --lm-pa-line:#e3eaf0;
    --lm-pa-accent:#16b8b2;
    --lm-pa-soft:#f3fbfb;
}

body.libramed-premium-article .lm-premium-article-shell {
    width:min(1440px, calc(100% - 48px));
    margin:48px auto 72px;
    display:grid;
    grid-template-columns:minmax(0,1fr) 300px;
    gap:44px;
    align-items:start;
}

body.libramed-premium-article .lm-premium-article {
    min-width:0;
}

body.libramed-premium-article .lm-premium-article__hero {
    margin:0 0 36px;
    overflow:hidden;
    background:#eef3f6;
}

body.libramed-premium-article .lm-premium-article__hero-image {
    display:block;
    width:100%;
    height:auto;
    max-height:620px;
    object-fit:cover;
}

body.libramed-premium-article .lm-premium-article__title {
    max-width:1080px;
    margin:0 0 20px;
    color:var(--lm-pa-navy);
    font-size:clamp(40px,4vw,58px);
    line-height:1.07;
    letter-spacing:-.03em;
    font-weight:760;
    text-wrap:balance;
}

body.libramed-premium-article .lm-premium-article__meta {
    display:flex;
    flex-wrap:wrap;
    gap:10px 24px;
    padding-bottom:18px;
    margin-bottom:28px;
    border-bottom:1px solid var(--lm-pa-line);
    color:#2b3a53;
    font-size:16px;
}

body.libramed-premium-article .lm-premium-article__meta-item {
    color:inherit;
    text-decoration:none;
}

body.libramed-premium-article .lm-premium-article__category:hover {
    color:var(--lm-pa-accent);
}

body.libramed-premium-article .lm-premium-article__content {
    max-width:1000px;
    color:var(--lm-pa-text);
    font-size:19px;
    line-height:1.66;
    letter-spacing:-.005em;
}

body.libramed-premium-article .lm-premium-article__content > p:first-child {
    font-size:21px;
    line-height:1.58;
    color:#24344e;
}

body.libramed-premium-article .lm-premium-article__content p {
    margin:0 0 24px;
}

body.libramed-premium-article .lm-premium-article__content h2 {
    position:relative;
    margin:46px 0 20px;
    padding-bottom:14px;
    color:var(--lm-pa-navy);
    font-size:31px;
    line-height:1.2;
    letter-spacing:-.02em;
    font-weight:750;
    text-align:left !important;
}

body.libramed-premium-article .lm-premium-article__content h2::after {
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:54px;
    height:3px;
    border-radius:99px;
    background:var(--lm-pa-accent);
}

body.libramed-premium-article .lm-premium-article__content h3 {
    margin:34px 0 14px;
    color:var(--lm-pa-navy);
    font-size:24px;
    line-height:1.28;
    font-weight:700;
    text-align:left !important;
}

body.libramed-premium-article .lm-premium-article__content ul,
body.libramed-premium-article .lm-premium-article__content ol {
    margin:14px 0 28px 1.35em;
}

body.libramed-premium-article .lm-premium-article__content li {
    margin-bottom:10px;
}

body.libramed-premium-article .lm-premium-article__content blockquote {
    margin:34px 0;
    padding:22px 26px;
    border-left:4px solid var(--lm-pa-accent);
    background:var(--lm-pa-soft);
    color:#17314a;
    font-size:20px;
    line-height:1.55;
}

body.libramed-premium-article .lm-premium-article__content table {
    width:100%;
    margin:30px 0;
    border-collapse:collapse;
    font-size:17px;
}

body.libramed-premium-article .lm-premium-article__content th,
body.libramed-premium-article .lm-premium-article__content td {
    padding:12px 14px;
    border:1px solid var(--lm-pa-line);
    text-align:left;
    vertical-align:top;
}

body.libramed-premium-article .lm-premium-article__content th {
    background:#f5f8fa;
    color:var(--lm-pa-navy);
    font-weight:700;
}

body.libramed-premium-article .lm-premium-article__content img {
    max-width:100%;
    height:auto;
}

body.libramed-premium-article .lm-premium-article__content figure {
    margin:34px 0;
}

body.libramed-premium-article .lm-premium-article__content figcaption {
    margin-top:9px;
    color:var(--lm-pa-muted);
    font-size:13px;
    line-height:1.45;
}

body.libramed-premium-article .lm-premium-article__footer {
    max-width:1000px;
    margin-top:42px;
    padding-top:22px;
    border-top:1px solid var(--lm-pa-line);
}

body.libramed-premium-article .lm-premium-article__tags {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

body.libramed-premium-article .lm-premium-article__tags a {
    padding:7px 11px;
    border:1px solid #cfd9e2;
    border-radius:3px;
    color:#24344e;
    text-decoration:none;
    font-size:14px;
}

body.libramed-premium-article .lm-premium-article__sidebar {
    position:sticky;
    top:110px;
    min-width:0;
}

body.libramed-premium-article .lm-premium-article__sidebar .widget {
    margin-bottom:28px;
    padding:22px;
    background:#f7f9fa;
}

@media (max-width:900px) {
    body.libramed-premium-article .lm-premium-article-shell {
        width:min(100% - 32px,920px);
        grid-template-columns:1fr;
        margin-top:32px;
    }
    body.libramed-premium-article .lm-premium-article__sidebar {
        position:static;
    }
}

@media (max-width:767px) {
    body.libramed-premium-article .lm-premium-article-shell {
        width:min(100% - 24px,720px);
        margin-top:22px;
    }
    body.libramed-premium-article .lm-premium-article__title {
        font-size:34px;
        line-height:1.1;
    }
    body.libramed-premium-article .lm-premium-article__content,
    body.libramed-premium-article .lm-premium-article__content > p:first-child {
        font-size:18px;
        line-height:1.58;
    }
    body.libramed-premium-article .lm-premium-article__content h2 {
        margin-top:36px;
        font-size:26px;
    }
    body.libramed-premium-article .lm-premium-article__content h3 {
        font-size:22px;
    }
}
