/* Qellio editorial layouts adapted to the Agency's existing Manrope / Georgia identity. */
.qb{--qb-ink:#0F2237;--qb-accent:#FF5757;--qb-muted:#586777;--qb-line:rgba(15,34,55,.12);--qb-paper:#fff;color:var(--qb-ink)}.qb [hidden]{display:none!important}.qb-container{width:calc(100% - 48px);max-width:1240px;margin-inline:auto}.qb h1,.qb h2,.qb h3{font-family:Georgia,serif;font-weight:500;letter-spacing:-.025em}.qb button,.qb a{-webkit-tap-highlight-color:transparent}.qb a:focus-visible,.qb button:focus-visible,.qb summary:focus-visible{outline:2px solid #FF5757;outline-offset:5px}.qb-hub-head{padding-top:164px;text-align:center}.qb-hub-head h1{max-width:980px;margin:22px auto;font-size:clamp(42px,5.4vw,72px);line-height:1.07}.qb-intro{max-width:760px;margin:auto;color:var(--qb-muted);font-size:18px;line-height:1.75}.qb-filters{margin:34px auto 0;max-width:1050px}.qb-filters fieldset{border:0;margin:0;padding:0}.qb-filters legend{font-size:13px;color:var(--qb-muted);margin:0 auto 10px}.qb-filter-row,.qb-tag-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px}.qb-filter{display:inline-flex;align-items:center;gap:10px;min-height:44px;padding:10px 16px;background:rgba(255,255,255,.75);border:1px solid var(--qb-line);border-radius:7px;color:var(--qb-muted);font-size:14px;font-weight:600;cursor:pointer;transition:background .2s,color .2s}.qb-filter span{min-width:22px;padding:2px 6px;border-radius:4px;background:#f1eeeb;font-size:12px}.qb-filter:hover{color:var(--qb-ink);border-color:#0F2237}.qb-filter[aria-pressed=true]{color:white;background:#0F2237;border-color:#0F2237}.qb-filter[aria-pressed=true] span{background:rgba(255,255,255,.16)}.qb-tag-details{margin-top:20px}.qb-tag-details summary{display:list-item;list-style-position:inside;width:fit-content;margin:auto;color:var(--qb-muted);cursor:pointer;font-size:13px}.qb-tag-details .qb-tag-row{margin-top:15px}.qb-tag{display:inline-flex;padding:6px 10px;border:1px solid var(--qb-line);background:transparent;color:var(--qb-muted);border-radius:5px;font-size:12px;line-height:1.5;cursor:pointer}.qb-tag[aria-pressed=true],.qb-tag:hover{background:#d8f7f0;border-color:#94d6cb;color:#0F2237}.qb-list-section{padding-top:30px;padding-bottom:100px}.qb-result-count{font-size:13px;color:var(--qb-muted);margin:0 0 18px}.qb-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;margin:0;padding:0;list-style:none}.qb-grid>li{min-width:0}.qb-grid>li:has(.qb-featured){grid-column:1/-1;margin-bottom:32px}.qb-card{position:relative;display:flex;flex-direction:column;overflow:hidden;padding:8px;height:100%;border:1px solid var(--qb-line);border-radius:16px;background:#fff;transition:box-shadow .25s,transform .25s,border-color .25s}.qb-card:hover{border-color:rgba(255,87,87,.5);box-shadow:0 12px 30px rgba(15,34,55,.08);transform:translateY(-3px)}.qb-cover{overflow:hidden;background:#f1f4f4;border-radius:10px;aspect-ratio:16/10;display:grid;place-items:center}.qb-cover img{width:100%;height:100%;object-fit:cover}.qb-card-copy{padding:22px 18px 18px;display:flex;flex:1;flex-direction:column;align-items:flex-start}.qb-badge{display:inline-flex;width:fit-content;max-width:100%;padding:5px 9px;border:1px solid rgba(255,87,87,.2);border-radius:5px;background:#fff0ec;color:#a52d2d;font-size:12px;line-height:1.5;font-weight:600}.qb-card h2{font-size:28px;line-height:1.18;margin:18px 0 0}.qb-card h2 a{color:inherit;text-decoration:none}.qb-card h2 a::after{content:'';position:absolute;inset:0;border-radius:16px}.qb-description{margin:14px 0 24px;color:var(--qb-muted);font-size:15px;line-height:1.7;max-width:58ch}.qb-meta{display:flex;align-items:center;gap:11px;color:var(--qb-muted);font-size:12px;line-height:1.6}.qb-meta img{width:40px;height:40px;border-radius:50%;object-fit:cover;flex:none}.qb-meta p{margin:0}.qb-author{color:var(--qb-ink);font-size:13px;font-weight:600}.qb-card .qb-meta{margin-top:auto}.qb-read{display:inline-block;margin-top:24px;padding-bottom:3px;border-bottom:1px solid currentColor;font-size:14px;font-weight:600;color:#af3434}.qb-kicker{font-size:11px;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--qb-muted)}.qb-feature-label{margin:0 0 18px}.qb-featured{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:24px;padding:12px;border-radius:22px}.qb-featured .qb-cover{aspect-ratio:auto;min-height:390px;border-radius:14px}.qb-featured .qb-card-copy{padding:28px 28px 28px 0}.qb-featured h2{font-size:clamp(27px,3vw,39px);line-height:1.1}.qb-featured .qb-description{font-size:16px}.qb-empty{text-align:center;padding:70px 20px;border:1px solid var(--qb-line);border-radius:16px;background:white}.qb-empty h2{font-size:32px;line-height:1.2}.qb-empty p{color:var(--qb-muted);margin:15px 0 24px}.qb-action{display:inline-flex;align-items:center;justify-content:center;padding:14px 24px;min-height:48px;border-radius:999px;border:0;background:#FF5757;color:white;font-size:14px;font-weight:700;cursor:pointer;text-decoration:none}.qb-action:hover{background:#e74949;color:white}.qb-pagination{display:flex;justify-content:center;gap:10px;margin:40px 0 0}.qb-pagination button{padding:8px 14px;border:1px solid var(--qb-line);border-radius:5px;background:white}.qb-pagination button[aria-current=page]{background:#0F2237;color:white}.qb-article-head{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:64px;align-items:center;padding-top:150px}.qb-breadcrumb{display:flex;gap:10px;font-size:12px;color:var(--qb-muted);margin-bottom:28px}.qb-badges{display:flex;flex-wrap:wrap;gap:7px}.qb-article-head h1{font-size:clamp(30px,3.2vw,46px);line-height:1.1;margin:20px 0}.qb-chapo{font-size:18px;line-height:1.75;color:var(--qb-muted);max-width:58ch;margin-bottom:26px}.qb-article-cover{margin:0;min-width:0}.qb-article-cover img{display:block;width:100%;height:auto;max-height:560px;object-fit:contain;background:#fff;border:1px solid var(--qb-line);border-radius:18px;box-shadow:0 18px 38px rgba(15,34,55,.07)}.qb-article-cover figcaption{font-size:12px;color:var(--qb-muted);margin-top:12px;text-align:center}.qb-article-cover a{text-decoration:underline;text-underline-offset:4px}.qb-ai{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:22px;font-size:11px;color:var(--qb-muted)}.qb-ai>span{margin-right:4px}.qb-ai a{padding:5px 7px;border:1px solid var(--qb-line);border-radius:4px;background:rgba(255,255,255,.6)}.qb-ai a:hover{border-color:#FF5757;color:#0F2237}.qb-article-layout{display:grid;grid-template-columns:260px minmax(0,740px);justify-content:space-between;gap:64px;margin-top:80px}.qb-toc{position:sticky;top:120px;align-self:start;border-left:1px solid var(--qb-line);padding-left:18px}.qb-toc .qb-kicker{margin:0 0 12px}.qb-toc ol,.qb-toc-mobile ol{margin:0;padding:0;list-style:none;counter-reset:sections}.qb-toc li,.qb-toc-mobile li{counter-increment:sections}.qb-toc a,.qb-toc-mobile nav a{display:grid;grid-template-columns:24px 1fr;gap:7px;padding:8px 0;color:var(--qb-muted);font-size:13px;line-height:1.45}.qb-toc a:before,.qb-toc-mobile nav a:before{content:counter(sections,decimal-leading-zero);font-size:11px;color:#a53636}.qb-toc a[aria-current]{color:var(--qb-ink);font-weight:700}.qb-toc-mobile{display:none}.qb-reading{min-width:0}.qb-prose{font-size:17px;line-height:1.85}.qb-prose p,.qb-prose li{margin-bottom:20px}.qb-prose h2{font-size:32px;line-height:1.17;margin:46px 0 22px;scroll-margin-top:112px}.qb-prose h3{font-size:24px;line-height:1.25;margin:30px 0 18px}.qb-prose>:first-child{margin-top:0}.qb-prose ul{list-style:disc;padding-left:24px}.qb-prose ol{list-style:decimal;padding-left:24px}.qb-prose .lead{font-size:21px;line-height:1.7;color:var(--qb-muted)}.qb-prose a{color:#a33131;text-decoration:underline;text-underline-offset:4px;overflow-wrap:anywhere}.qb-prose img{width:100%;height:auto;border-radius:14px}.qb-prose figure{margin:30px 0}.qb-prose figcaption,.qb-prose .sources{font-size:13px;line-height:1.7;color:var(--qb-muted)}.qb-prose .note{background:white;border:1px solid var(--qb-line);border-left:3px solid #2DD4BF;padding:24px;border-radius:10px;margin:28px 0}.qb-prose .note p:last-child{margin-bottom:0}.qb-prose code{font-size:14px;background:#f0ece8;padding:3px 5px;border-radius:4px;overflow-wrap:anywhere}.qb-prose .button{display:inline-flex;padding:12px 20px;background:#FF5757;color:white;text-decoration:none;border-radius:999px;font-size:14px;font-weight:700}.qb-prose table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}.qb-prose th,.qb-prose td{padding:12px;border-bottom:1px solid var(--qb-line);text-align:left}.qb-article-foot{margin-top:50px;padding-top:24px;border-top:1px solid var(--qb-line)}.qb-article-foot .qb-tag-row{justify-content:flex-start}.qb-share{display:flex;align-items:center;flex-wrap:wrap;gap:15px;margin:24px 0;font-size:12px;color:var(--qb-muted)}.qb-share a,.qb-share button{color:var(--qb-ink);text-decoration:underline;text-underline-offset:4px}.qb-related{margin-top:100px}.qb-related>h2{font-size:38px;margin-bottom:28px}.qb-ending{display:flex;justify-content:space-between;align-items:center;gap:30px;background:#0F2237;color:white;padding:44px;border-radius:20px;margin-top:100px;margin-bottom:100px}.qb-ending h2{font-size:38px;line-height:1.15;max-width:600px}.qb-ending p{color:#c4cbd2;line-height:1.7;margin-top:15px;max-width:600px}.qb-ending .qb-action{flex:none}.qb-share [data-copy-status]{color:#387467}
@media(max-width:1000px){.qb-article-head{gap:36px}.qb-article-layout{grid-template-columns:220px minmax(0,1fr);gap:36px}.qb-featured{gap:20px}.qb-featured .qb-card-copy{padding-right:12px}.qb-featured .qb-cover{min-height:350px}}
@media(max-width:899px){.qb-featured{grid-template-columns:1fr;gap:0}.qb-featured .qb-cover{aspect-ratio:16/10;min-height:0;max-height:430px}.qb-featured .qb-card-copy{padding:25px 18px}.qb-article-head{grid-template-columns:1fr;padding-top:125px;gap:34px}.qb-article-head h1{font-size:42px}.qb-article-cover{width:100%;max-width:740px;margin:auto}.qb-article-cover img{max-height:600px}.qb-article-layout{display:block;max-width:740px;margin-top:46px}.qb-toc{display:none}.qb-toc-mobile{display:block;border:1px solid var(--qb-line);border-radius:8px;margin-bottom:30px;background:white}.qb-toc-mobile summary{padding:14px 18px;font-size:14px;cursor:pointer}.qb-toc-mobile nav{padding:0 18px 14px;border-top:1px solid var(--qb-line)}.qb-ending{flex-direction:column;align-items:flex-start}.qb-card h2{font-size:25px}}
@media(max-width:599px){.qb-container{width:calc(100% - 40px)}.qb-hub-head{padding-top:126px}.qb-hub-head h1{font-size:43px}.qb-intro{font-size:16px}.qb-filter-row{gap:7px}.qb-filter{font-size:12px;padding:9px 11px;gap:7px}.qb-filters legend{font-size:12px}.qb-grid{grid-template-columns:1fr;gap:24px}.qb-grid>li:has(.qb-featured){margin-bottom:8px}.qb-featured h2{font-size:30px}.qb-list-section{padding-top:28px;padding-bottom:65px}.qb-meta{font-size:11px}.qb-meta img{width:36px;height:36px}.qb-author{font-size:12px}.qb-article-head{padding-top:120px}.qb-article-head h1{font-size:36px;line-height:1.12}.qb-chapo{font-size:16px}.qb-prose{font-size:16px;line-height:1.8}.qb-prose .lead{font-size:19px}.qb-prose h2{font-size:28px}.qb-badge{font-size:11px}.qb-related{margin-top:70px}.qb-related>h2{font-size:32px}.qb-ending{padding:30px 24px;margin-top:65px;margin-bottom:65px}.qb-ending h2{font-size:32px}.qb-ending p{font-size:15px}.qb-share{gap:12px}.qb-breadcrumb{margin-bottom:22px}}
@media(prefers-reduced-motion:reduce){.qb-card,.qb-filter{transition:none}.qb-card:hover{transform:none}}

.qb .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Stable card frames: the image's intrinsic ratio must never size a grid row. */
.qb-cover{position:relative;min-height:0;flex:none}.qb-cover img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.qb-card{height:700px;min-height:0}.qb-card-copy{min-height:0}.qb-card h2{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;line-clamp:4;overflow:hidden}.qb-description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;flex-shrink:0}.qb-card .qb-meta,.qb-card .qb-read,.qb-card .qb-badge,.qb-card .qb-kicker{flex-shrink:0}
.qb-featured{height:480px;grid-template-rows:minmax(0,1fr)}.qb-featured .qb-cover{height:100%;min-height:0;max-height:none;aspect-ratio:auto}.qb-featured .qb-card-copy{padding:22px 24px 22px 0;overflow:hidden}.qb-featured .qb-feature-label{margin-bottom:12px}.qb-featured .qb-read{margin-top:16px}.qb-featured .qb-description{margin-bottom:20px}.qb-featured h2{-webkit-line-clamp:3;line-clamp:3;flex-shrink:0}
@media(max-width:1000px) and (min-width:900px){.qb-featured .qb-card-copy{padding-right:8px}.qb-featured h2{font-size:29px}.qb-featured .qb-description{font-size:15px}}
@media(max-width:899px){.qb-featured{height:800px;grid-template-rows:320px minmax(0,1fr)}.qb-featured .qb-cover{height:320px;max-height:none;aspect-ratio:auto}.qb-featured .qb-card-copy{padding:24px 18px}.qb-featured h2{-webkit-line-clamp:4;line-clamp:4}}
@media(max-width:599px){.qb-card{height:660px}.qb-featured{height:740px;grid-template-rows:220px minmax(0,1fr)}.qb-featured .qb-cover{height:220px}.qb-featured .qb-card-copy{padding:22px 16px}.qb-featured h2{font-size:30px}}
/* Titles remain complete: flex shrinking was clipping the final line mid-glyph. */
.qb-card h2,.qb-featured h2{display:block;overflow:visible;-webkit-line-clamp:unset;line-clamp:unset;flex-shrink:0}
.qb-card:not(.qb-featured) .qb-cover{max-height:300px}
/* Secondary articles: three compact columns, complete titles, equal-height cards. */
.qb-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.qb-card:not(.qb-featured){height:620px}
.qb-card:not(.qb-featured) .qb-cover{height:180px;min-height:0;max-height:180px;aspect-ratio:auto}
.qb-card:not(.qb-featured) .qb-card-copy{padding:18px 14px 16px}
.qb-card:not(.qb-featured) h2{font-size:22px;line-height:1.2;margin-top:12px}
.qb-card:not(.qb-featured) .qb-description{font-size:14px;line-height:1.65;margin:10px 0 18px;-webkit-line-clamp:2;line-clamp:2}
.qb-card:not(.qb-featured) .qb-read{font-size:13px;margin-top:18px}
.qb-card:not(.qb-featured) .qb-badge{font-size:11px}
.qb-card:not(.qb-featured) .qb-meta img{width:36px;height:36px}
@media(max-width:1099px){.qb-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:599px){.qb-grid{grid-template-columns:1fr}}
.qb-card:not(.qb-featured){height:520px}
@media(max-width:899px){.qb-card:not(.qb-featured){height:560px}}
/* Qellio-style frosted focus, confined to secondary cards. The featured card neither triggers nor receives it. */
@media(hover:hover) and (pointer:fine){
 .qb-card:not(.qb-featured){transition:border-color .25s,transform .35s,box-shadow .35s,filter .35s,opacity .35s}
 .qb-grid:has(>li:not([hidden])>.qb-card:not(.qb-featured):hover)>li:not([hidden])>.qb-card:not(.qb-featured):not(:hover):not(:focus-within){filter:blur(9px) saturate(.65);opacity:.5}
}
@media(prefers-reduced-motion:reduce){.qb-card:not(.qb-featured){transition:none}}
