/*
 * Journal article, approved layouts A, B and C (study "Articol de jurnal", Avelle). The same article, table of
 * contents, recommendations, sharing and comments in all three; a layout changes the composition only:
 * A, the sidebar on the left; B, the title and introduction beside the photograph, the sidebar on the right;
 * C, the photograph beside the text, the sidebar on the right. Photographs keep their rounded corners.
 * Colours read the version's look tokens (the design value is the fallback); sizes follow the look's text scale.
 * A version written on its own reference (data-article-structure, Avelle v2) keeps square controls and boxes.
 */
.c4-article {
  --a-ink: var(--look-fg-171717, #171717);
  --a-muted: var(--look-fg-666666, #666666);
  --a-line: var(--look-bd-e3e3e3, #e4e4e4);
  --a-accent: var(--look-fg-c0283c, #c0283c);
  --a-control: calc(8px * var(--look-radius, 1));
  --a-box: calc(16px * var(--look-radius, 1));
}
.c4-article[data-article-structure] { --a-control: 0px; --a-box: 0px; }
/* The layout brings its own spacing and breadcrumb inside the version's page frame. */
main.c4-article-main { padding: 0; margin: 0; }
.c4-article :is(h1, h2, h3, p, a, span, strong, small, label) { letter-spacing:var(--look-heading-tracking, inherit); text-transform: none; }
.c4-article h1, .c4-article h2 { font-family: var(--look-font-heading, var(--look-font-body, Poppins, sans-serif)); color: var(--look-fg-171717, var(--a-ink)); }
/* Only the layout that shows it has the split heading (B). */
.c4-article:not([data-article-layout=b]) .a-split-head { display: none; }
.c4-article .a-reading img { max-width: 100%; height: auto; border-radius: calc(12px * var(--look-radius, 1)); }
/* The published comments above the form (the add-on's own list, in the block's type). */
.c4-article .a-comment-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 14px; }
.c4-article .a-comment-list li { padding: 0 0 14px; border-bottom: 1px solid var(--look-bd-e4e4e4, var(--a-line)); font-size: calc(14px * var(--look-text, 1)); color: var(--look-fg-444444, #424242); }
.c4-article .a-comment-list li p { margin: 0; }
.c4-article .a-comment-list ol { list-style: none; margin: 12px 0 0 20px; padding: 0 0 0 16px; border-left: 2px solid var(--look-bd-e4e4e4, var(--a-line)); }
.c4-article .a-comment-list ol li { border-bottom: 0; padding-bottom: 0; }
.c4-article .a-comment-meta { font-size: calc(12px * var(--look-text, 1)); color: var(--look-fg-666666, var(--a-muted)); margin: 0 0 6px !important; }
.c4-article .a-status-error { color: var(--look-fg-a91c30, #ac1530); }

.c4-article{color:var(--look-onbg-ffffff-171717, var(--a-ink));background:var(--look-bg-ffffff, var(--look-bg-ffffff, #fff));font-family:var(--look-font-body, Poppins, sans-serif);line-height:1.7;padding:28px 0 70px}
.c4-article *{box-sizing:border-box}
.c4-article button,.c4-article input,.c4-article textarea{font:inherit}
.c4-article button,.c4-article a{cursor:pointer}
.c4-article a{color:inherit}
.c4-article button{color:inherit;user-select:none;letter-spacing:normal;text-transform:none}
.c4-article button:focus-visible,.c4-article a:focus-visible,.c4-article input:focus-visible,.c4-article textarea:focus-visible{outline:2px solid var(--look-bd-c0283c, var(--a-accent));outline-offset:3px}
.c4-article svg{width:20px;height:20px;flex:none}
.c4-article .a-icon{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.c4-article .a-wrap{width:calc(100% - 64px);max-width:var(--look-container, 1740px);margin:0 auto}
.c4-article .a-inner{max-width:var(--look-container, 1360px);margin:0 auto}
.c4-article .a-breadcrumb{display:flex;align-items:center;gap:10px;font-size:calc(12px * var(--look-text, 1));color:var(--look-fg-666666, var(--a-muted));margin-bottom:30px;min-height:28px}
.c4-article .a-breadcrumb a{text-decoration:none}
.c4-article .a-breadcrumb span[aria-hidden]{color:var(--look-fg-9a9a9a, #9a9a9a)}
.c4-article .a-grid{display:grid;grid-template-columns:236px minmax(0,1fr);gap:48px;align-items:start}
.c4-article .a-post{min-width:0}
.c4-article h1{font-size:clamp(calc(28px * var(--look-text, 1)),2.6vw,calc(38px * var(--look-text, 1)));font-weight:var(--look-heading-weight, 600);line-height:1.25;margin:0 0 16px;letter-spacing:var(--look-heading-tracking, -.025em);max-width:28ch}
.c4-article .a-meta{display:flex;align-items:center;flex-wrap:wrap;gap:6px 18px;margin:0 0 24px;color:var(--look-fg-666666, var(--a-muted));font-size:calc(12px * var(--look-text, 1))}
.c4-article .a-meta a{text-underline-offset:4px}
.c4-article .a-meta a:first-child{text-decoration:none}
.c4-article .a-cover{min-width:0;margin:0 0 32px}
.c4-article .a-cover img{display:block;width:100%;height:clamp(340px,34vw,460px);object-fit:cover;object-position:50% 0%;border-radius:calc(16px * var(--look-radius, 1))}
.c4-article .a-reading{max-width:74ch;font-size:calc(16px * var(--look-text, 1));line-height:1.9}
.c4-article .a-lead{font-size:calc(18px * var(--look-text, 1));line-height:1.8;margin:0 0 32px;color:var(--look-fg-333333, #333);max-width:66ch}
.c4-article .a-section{margin:0 0 30px;scroll-margin-top:120px}
.c4-article .a-section h2{font-size:calc(24px * var(--look-text, 1));line-height:1.35;font-weight:var(--look-heading-weight, 600);letter-spacing:var(--look-heading-tracking, -.015em);margin:0 0 14px}
.c4-article .a-section p{margin:0;color:var(--look-fg-444444, #424242)}
.c4-article .a-conclusion{margin:0 0 32px;padding-top:8px;color:var(--look-fg-444444, #424242)}
.c4-article .a-widget{margin:0 0 30px;padding-bottom:26px;border-bottom:1px solid var(--look-bd-e4e4e4, var(--a-line))}
.c4-article .a-widget:last-child{border-bottom:0}
.c4-article .a-widget h2{font-size:calc(14px * var(--look-text, 1));line-height:1.5;font-weight:var(--look-heading-weight, 600);margin:0 0 14px}
.c4-article .a-categories{display:grid;gap:5px}
.c4-article .a-category{display:flex;align-items:center;min-height:40px;text-decoration:none;font-size:calc(13px * var(--look-text, 1));border:1px solid transparent;border-radius:calc(var(--a-control) * var(--look-radius, 1));padding:7px 10px;margin-left:-10px}
.c4-article .a-category[aria-current=page]{background:var(--look-bg-f5f5f5, #f5f5f5);border-color:var(--look-bd-e8e8e8, #e8e8e8);font-weight:500}
.c4-article .a-category:hover{background:var(--look-bg-f7f7f7, #f7f7f7)}
.c4-article .a-toc{display:grid;gap:8px}
.c4-article .a-toc a{font-size:calc(12px * var(--look-text, 1));line-height:1.6;text-decoration:none;min-height:26px;padding:3px 0}
.c4-article .a-toc a[aria-current=location]{font-weight:600;text-decoration:underline;text-underline-offset:4px}
.c4-article .a-mini{display:grid;grid-template-columns:68px minmax(0,1fr);gap:12px;margin-bottom:16px;text-decoration:none;align-items:start;min-width:0}
.c4-article .a-mini:last-child{margin-bottom:0}
.c4-article .a-mini img{display:block;width:68px;height:78px;object-fit:cover;object-position:50% 20%;border-radius:calc(10px * var(--look-radius, 1));background:var(--look-bg-f4f4f4, #f4f4f4)}
.c4-article .a-mini.a-product img{object-fit:contain}
.c4-article .a-mini strong{display:block;font-size:calc(12px * var(--look-text, 1));line-height:1.6;font-weight:500}
.c4-article .a-mini small{display:block;font-size:calc(11px * var(--look-text, 1));color:var(--look-fg-666666, var(--a-muted));line-height:1.5;margin-top:5px}
.c4-article .a-open-sidebar{display:none;align-items:center;gap:8px;background:var(--look-bg-ffffff, #fff);border:1px solid var(--look-bd-d9d9d9, #d9d9d9);border-radius:calc(var(--a-control) * var(--look-radius, 1));min-height:44px;padding:8px 12px;font-size:calc(12px * var(--look-text, 1));margin:0 0 24px}
.c4-article .a-side-head{display:none}
.c4-article .a-overlay{display:none}
.c4-article .a-share{display:flex;align-items:center;flex-wrap:wrap;gap:8px;border-block:1px solid var(--look-bd-e4e4e4, var(--a-line));padding:20px 0;margin:38px 0 0;max-width:100%}
.c4-article .a-share-label{font-size:calc(12px * var(--look-text, 1));margin-right:8px;color:var(--look-fg-666666, var(--a-muted))}
.c4-article .a-share-control{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--look-bd-dedede, #dedede);border-radius:calc(var(--a-control) * var(--look-radius, 1));color:var(--look-fg-444444, #3f3f3f);text-decoration:none;background:var(--look-bg-ffffff, #fff);padding:0}
.c4-article .a-share-control:hover{background:var(--look-bg-171717, #171717);color:var(--look-onbg-171717-ffffff, #fff);border-color:var(--look-bd-171717, #171717)}
.c4-article .a-status{font-size:calc(12px * var(--look-text, 1));line-height:1.7;color:var(--look-fg-444444, #424242);margin:12px 0}
.c4-article .a-status[hidden]{display:none}
.c4-article .a-navigation{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:22px 0 36px;font-size:calc(12px * var(--look-text, 1))}
.c4-article .a-navigation a{display:inline-flex;align-items:center;gap:8px;text-decoration:none;min-height:44px}
.c4-article .a-comments{padding:28px;background:var(--look-bg-f7f7f7, #f7f7f7);border:1px solid var(--look-bd-e4e4e4, var(--a-line));border-radius:calc(var(--a-box) * var(--look-radius, 1));scroll-margin-top:110px}
.c4-article .a-comments h2{font-size:calc(24px * var(--look-text, 1));line-height:1.4;font-weight:var(--look-heading-weight, 600);margin:0 0 10px}
.c4-article .a-comment-note{font-size:calc(13px * var(--look-text, 1));color:var(--look-fg-666666, var(--a-muted));margin:0 0 24px}
.c4-article .a-comments form{margin:0}
.c4-article .a-field-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.c4-article .a-field{margin-bottom:20px;min-width:0}
.c4-article .a-field label{display:block;font-size:calc(13px * var(--look-text, 1));margin-bottom:8px}
.c4-article .a-field input,.c4-article .a-field textarea{width:100%;background:var(--look-bg-ffffff, #fff);border:1px solid var(--look-bd-d8d8d8, #d7d7d7);border-radius:calc(var(--a-control) * var(--look-radius, 1));padding:12px 14px;font-size:calc(15px * var(--look-text, 1));color:var(--look-fg-171717, #171717);line-height:1.6}
.c4-article .a-field input{height:48px}
.c4-article .a-field textarea{min-height:150px;resize:vertical;display:block}
.c4-article .a-field [aria-invalid=true]{border-color:var(--look-bd-c0283c, var(--a-accent))}
.c4-article .a-error{font-size:calc(12px * var(--look-text, 1));line-height:1.6;color:var(--look-fg-a91c30, #ac1530);display:block;margin-top:7px}
.c4-article .a-error[hidden]{display:none}
.c4-article .a-form-foot{display:flex;align-items:center;gap:20px;flex-wrap:wrap}
.c4-article .a-submit{border:1px solid var(--look-bd-171717, #171717);border-radius:calc(var(--a-control) * var(--look-radius, 1));background:var(--look-bg-171717, #171717);color:var(--look-onbg-171717-ffffff, #fff);min-height:48px;padding:12px 22px;font-size:calc(13px * var(--look-text, 1))}
.c4-article .a-form-foot p{flex:1;font-size:calc(11px * var(--look-text, 1));color:var(--look-fg-666666, var(--a-muted));margin:0;min-width:180px}
.c4-article .a-related{padding:36px 0 0;margin:0 0 38px}
.c4-article .a-related h2{font-size:calc(21px * var(--look-text, 1));line-height:1.4;font-weight:var(--look-heading-weight, 600);margin:0 0 18px}
.c4-article .a-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.c4-article .a-related-item{display:block;min-width:0;text-decoration:none}
.c4-article .a-related-item img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;object-position:50% 20%;border-radius:calc(12px * var(--look-radius, 1));margin:0 0 12px}
.c4-article .a-related-item strong{font-size:calc(13px * var(--look-text, 1));line-height:1.6;font-weight:500;display:block}
.c4-article .a-related-item small{font-size:calc(11px * var(--look-text, 1));color:var(--look-fg-666666, var(--a-muted));display:block;margin-top:5px}

.c4-article[data-article-layout=b] .a-grid,.c4-article[data-article-layout=c] .a-grid{grid-template-columns:minmax(0,1fr) 260px;gap:48px}
.c4-article[data-article-layout=b] .a-side,.c4-article[data-article-layout=c] .a-side{grid-column:2;grid-row:1}
.c4-article[data-article-layout=b] .a-post,.c4-article[data-article-layout=c] .a-post{grid-column:1;grid-row:1}
.c4-article .a-split-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,.9fr);gap:64px;align-items:center;padding-bottom:42px;margin-bottom:42px;border-bottom:1px solid var(--look-bd-e4e4e4, var(--a-line))}
.c4-article .a-split-head h1{font-size:clamp(calc(32px * var(--look-text, 1)),3vw,calc(44px * var(--look-text, 1)));max-width:22ch}
.c4-article .a-split-head .a-lead{font-size:calc(17px * var(--look-text, 1));margin-bottom:0}
.c4-article .a-split-head .a-cover{margin:0}
.c4-article .a-split-head .a-cover img{height:auto;aspect-ratio:1/1;object-fit:contain}
.c4-article[data-article-layout=b] .a-reading{max-width:76ch}
.c4-article[data-article-layout=b] .a-comments{background:var(--look-bg-ffffff, #fff)}
.c4-article[data-article-layout=b] .a-section{margin-bottom:38px}
.c4-article[data-article-layout=c] .a-post-head{margin-bottom:30px}
.c4-article[data-article-layout=c] .a-body{display:grid;grid-template-columns:minmax(230px,.7fr) minmax(0,1.3fr);gap:30px;align-items:start}
.c4-article[data-article-layout=c] .a-body .a-cover{position:sticky;top:104px;margin:0}
.c4-article[data-article-layout=c] .a-body .a-cover img{height:auto;aspect-ratio:1/1;object-fit:contain}
.c4-article[data-article-layout=c] .a-body .a-lead{font-size:calc(17px * var(--look-text, 1))}
.c4-article[data-article-layout=c] .a-body .a-reading{font-size:calc(15px * var(--look-text, 1));line-height:1.9}
.c4-article[data-article-layout=c] .a-body .a-section h2{font-size:calc(22px * var(--look-text, 1))}
.c4-article[data-article-layout=c] .a-after{margin-top:30px}
.c4-article[data-article-layout=c] .a-comments{background:var(--look-bg-f6f6f6, #f6f6f6)}

@media(max-width:1100px){.c4-article .a-grid{grid-template-columns:205px minmax(0,1fr);gap:30px}
.c4-article[data-article-layout=b] .a-grid,.c4-article[data-article-layout=c] .a-grid{grid-template-columns:minmax(0,1fr) 205px;gap:30px}
.c4-article .a-mini{grid-template-columns:58px minmax(0,1fr);gap:10px}
.c4-article .a-mini img{width:58px;height:68px}
.c4-article .a-mini strong{font-size:calc(11px * var(--look-text, 1))}
.c4-article .a-split-head{gap:32px;grid-template-columns:1fr 1fr}
.c4-article .a-split-head .a-lead{font-size:calc(15px * var(--look-text, 1))}
.c4-article[data-article-layout=c] .a-body{display:block}
.c4-article[data-article-layout=c] .a-body .a-cover{position:static;margin:0 0 28px}
.c4-article[data-article-layout=c] .a-body .a-cover img{height:380px;aspect-ratio:auto;object-fit:cover;object-position:50% 0%}
.c4-article .a-related-grid{gap:12px}
.c4-article .a-related-item strong{font-size:calc(12px * var(--look-text, 1))}
.c4-article .a-reading{font-size:calc(15px * var(--look-text, 1))}
.c4-article .a-lead{font-size:calc(17px * var(--look-text, 1))}
.c4-article .a-comments{padding:24px}}

@media(max-width:767px){.c4-article{padding:22px 0 42px}
.c4-article .a-wrap{width:calc(100% - 32px)}
.c4-article .a-breadcrumb{font-size:calc(11px * var(--look-text, 1));gap:8px;margin-bottom:18px}
.c4-article .a-grid,.c4-article[data-article-layout=b] .a-grid,.c4-article[data-article-layout=c] .a-grid{display:block}
.c4-article .a-open-sidebar{display:inline-flex}
.c4-article h1{font-size:calc(28px * var(--look-text, 1));line-height:1.3;margin-bottom:14px;max-width:none}
.c4-article .a-meta{font-size:calc(11px * var(--look-text, 1));gap:6px 12px;margin-bottom:22px}
.c4-article .a-cover{margin-bottom:26px}
.c4-article .a-cover img{height:270px;border-radius:calc(16px * var(--look-radius, 1))}
.c4-article .a-reading,.c4-article[data-article-layout=c] .a-body .a-reading{font-size:calc(15px * var(--look-text, 1));line-height:1.9}
.c4-article .a-lead,.c4-article[data-article-layout=c] .a-body .a-lead{font-size:calc(17px * var(--look-text, 1));line-height:1.8;margin-bottom:28px}
.c4-article .a-section{margin-bottom:28px}
.c4-article .a-section h2,.c4-article[data-article-layout=c] .a-body .a-section h2{font-size:calc(22px * var(--look-text, 1));line-height:1.4;margin-bottom:12px}
.c4-article .a-side{position:fixed;inset:0 auto 0 0;width:min(330px,calc(100vw - 28px));padding:20px 24px;background:var(--look-bg-ffffff, #fff);overflow-y:auto;overscroll-behavior:contain;z-index:10001;visibility:hidden;transform:translateX(-101%)}
.c4-article.a-drawer .a-side{visibility:visible;transform:none}
.c4-article .a-side-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 22px;font-size:calc(17px * var(--look-text, 1))}
.c4-article .a-side-close{display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--look-bd-e4e4e4, var(--a-line));border-radius:calc(var(--a-control) * var(--look-radius, 1));background:var(--look-bg-ffffff, #fff);padding:0}
.c4-article.a-drawer .a-overlay{display:block;position:fixed;inset:0;background:var(--look-bg-00000088, #0008);z-index:10000}
.c4-article .a-category{min-height:44px}
.c4-article .a-toc a{min-height:36px;padding:6px 0}
.c4-article .a-mini{grid-template-columns:68px minmax(0,1fr);gap:12px}
.c4-article .a-mini img{width:68px;height:78px}
.c4-article .a-mini strong{font-size:calc(12px * var(--look-text, 1))}
.c4-article .a-share{gap:5px;padding:18px 0;margin-top:30px}
.c4-article .a-share-label{width:100%;margin:0 0 3px}
.c4-article .a-share-control{width:44px;height:44px}
.c4-article .a-navigation{font-size:calc(11px * var(--look-text, 1));gap:12px;margin-bottom:26px}
.c4-article .a-navigation svg{width:17px;height:17px}
.c4-article .a-related{padding-top:28px;margin-bottom:28px}
.c4-article .a-related-grid{display:block}
.c4-article .a-related-item{display:grid;grid-template-columns:96px minmax(0,1fr);gap:13px;margin-bottom:18px;align-items:start}
.c4-article .a-related-item img{width:96px;height:96px;margin:0;grid-row:1/3}
.c4-article .a-related-item strong{font-size:calc(13px * var(--look-text, 1))}
.c4-article .a-related-item small{margin:0;align-self:start}
.c4-article .a-comments{padding:22px 18px;border-radius:calc(var(--a-box) * var(--look-radius, 1))}
.c4-article .a-comments h2{font-size:calc(23px * var(--look-text, 1))}
.c4-article .a-comment-note{font-size:calc(12px * var(--look-text, 1))}
.c4-article .a-field-row{display:block}
.c4-article .a-field{margin-bottom:18px}
.c4-article .a-field label{font-size:calc(12px * var(--look-text, 1))}
.c4-article .a-field input,.c4-article .a-field textarea{font-size:calc(16px * var(--look-text, 1));padding:12px}
.c4-article .a-form-foot{gap:14px;align-items:stretch}
.c4-article .a-submit{width:100%}
.c4-article .a-form-foot p{font-size:calc(11px * var(--look-text, 1))}
.c4-article .a-split-head{display:flex;flex-direction:column;gap:26px;padding-bottom:28px;margin-bottom:30px;align-items:stretch}
.c4-article .a-split-head h1{font-size:calc(29px * var(--look-text, 1));max-width:none}
.c4-article .a-split-head .a-lead{font-size:calc(17px * var(--look-text, 1))}
.c4-article .a-split-head .a-cover img{height:auto;aspect-ratio:1/1}
.c4-article[data-article-layout=c] .a-body .a-cover img{height:auto;aspect-ratio:1/1;object-fit:contain}
.c4-article[data-article-layout=c] .a-after{margin-top:0}}

@media(prefers-reduced-motion:reduce){.c4-article *{scroll-behavior:auto!important}}


.c4-article .a-after{max-width:760px}


/* A quotation in the article's own text, set apart as the journal sets it. */
.c4-article .a-reading blockquote { margin: 0 0 30px; padding: 18px 24px; border-left: 3px solid var(--look-bd-171717, var(--a-ink)); background: var(--look-bg-f5f5f5, #f5f5f5); color: var(--look-fg-333333, #333333); font-style: italic; }
.c4-article .a-reading blockquote p { margin: 0; }
/* Consecutive blocks of one section keep the text's rhythm (the study's sections hold one paragraph each). */
.c4-article .a-section > :not(h2) + :not(h2) { margin-top: 14px; }
/* A version written on its own reference aligns the article with its own content width (Avelle v2: 1200 px). */
.c4-article[data-article-structure] .a-wrap { max-width: calc(var(--look-container, 1200px) - 30px); }
.c4-article[data-article-structure] .a-inner { max-width: none; }
/* The "Comentează" link lands on the block's heading, below the sticky header like the block itself. */
.c4-article .a-comments > h2 { scroll-margin-top: 110px; }
