/* Retell blog editorial layout, adapted to Opera's shared RTL typography/chrome. */
:root{--blog-ink:#07172f;--blog-muted:#65718a;--blog-blue:#3e6aef;--blog-line:#d9daee;--blog-offset:104px}
body.blog-page{background:#fff;color:var(--blog-ink)}
.blog-page::before{display:none}
.blog-page :is(a,button,summary):focus-visible{outline:3px solid var(--blog-blue);outline-offset:4px}
.blog-skip{position:fixed;top:12px;inset-inline-start:18px;z-index:1200;transform:translateY(-180%);padding:10px 16px;background:var(--blog-ink);color:#fff;border-radius:6px}
.blog-skip:focus{transform:none}
.blog-home{padding:0 24px 80px}
.blog-hero,.blog-library,.blog-cta{width:100%;max-width:1280px;margin-inline:auto}
.blog-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,470px);align-items:end;gap:30px;padding:200px 0 52px}
.blog-hero h1{margin:0;font-size:clamp(44px,5.2vw,80px);line-height:1.3;font-weight:500;letter-spacing:-.035em;text-wrap:balance}
.blog-intro{margin:0;color:var(--blog-ink);font-size:16px;line-height:1.9;text-align:start}
.blog-page .blog-intro,.blog-page .post-excerpt{text-align:start}
.blog-categories{display:flex;align-items:center;flex-wrap:wrap;gap:4px;padding-bottom:24px;border-bottom:1px solid var(--blog-line);margin-bottom:48px}
.blog-category{display:block;padding:10px 16px;border-radius:6px;font-size:12px;font-weight:500;line-height:24px;color:var(--blog-ink);text-decoration:none;transition:background-color .2s,color .2s}
.blog-category:hover{background:#f0f3fc}
.blog-category.is-current{background:var(--blog-blue);color:#fff}
.blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:48px 24px}
.post-card{min-width:0;background:#fff}
.post-card-link{display:flex;flex-direction:column;gap:16px;height:100%;color:inherit;text-decoration:none}
.post-media{position:relative;overflow:hidden;width:100%;height:256px;border-radius:12px;background:#f5f5fa}
.post-media>img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s}
.post-card-link:hover .post-media>img{transform:scale(1.025)}
.post-card-body{display:flex;flex:1;flex-direction:column;gap:16px;min-width:0}
.post-reading{margin:0;font-size:13px;font-weight:500;color:var(--blog-ink);line-height:1.6}
.post-card h2{margin:0;font-size:20px;line-height:1.6;font-weight:500;letter-spacing:-.01em;color:var(--blog-ink)}
.post-card-link:hover h2{color:var(--blog-blue)}
.post-excerpt{margin:0;font-size:16px;line-height:1.9;color:var(--blog-ink);text-align:start}
.blog-eyebrow{margin:0;font-size:12px;line-height:1.7;font-weight:500;color:var(--blog-blue)}
.post-byline{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:auto;padding-top:12px;font-size:12px;line-height:1.7}
.post-author{display:flex;align-items:center;gap:8px;min-width:0}
.post-author>img{width:32px;height:32px;object-fit:contain;padding:5px;background:#f5f5fa;border-radius:50%}
.post-author strong{display:block;font-size:12px;font-weight:500}
.post-author small{display:block;color:var(--blog-muted);font-size:11px}
.post-byline time{flex-shrink:0;color:var(--blog-muted);font-size:11px;font-variant-numeric:tabular-nums}
.post-placeholder{display:flex;align-items:center;justify-content:center;gap:12px;position:absolute;inset:0;background:#eef0fc;color:#101b35;font-size:28px;direction:ltr}
.post-placeholder img{width:45px;height:56px;object-fit:contain}
.post-featured{margin-bottom:64px}
.post-featured .post-card-link{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:80px}
.post-featured .post-media{height:auto;aspect-ratio:1.65;border-radius:16px}
.post-featured .post-card-body{gap:20px}
.post-featured .blog-eyebrow{margin-bottom:12px}
.post-featured h2{font-size:32px;line-height:1.5}
.post-featured .post-byline{padding-top:20px}
.blog-pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:20px;margin-top:56px;font-size:13px}
.blog-pagination a{padding:10px 16px;border:1px solid var(--blog-line);border-radius:6px}
.blog-pagination a:hover{background:#f5f5fa}
.blog-pagination>span{color:var(--blog-muted)}
.empty-blog{padding:80px 20px;text-align:center}
.empty-blog h2{font-size:28px;margin-bottom:16px}
.empty-blog p{color:var(--blog-muted);text-align:center}
.blog-cta{position:relative;display:flex;align-items:flex-end;min-height:620px;border-radius:6px;background:linear-gradient(90deg,#06172e33,#06172e00),url('../images/solution-heroes/customer-support-hero.webp') center/cover;margin-top:100px;padding:40px;overflow:hidden;isolation:isolate}
.blog-cta::before{content:'';position:absolute;inset:0;z-index:-1;opacity:.15;background-image:url('../images/home-enterprise/security-background.webp');background-size:cover;mix-blend-mode:soft-light;pointer-events:none}
.blog-cta-panel{width:min(100%,740px);background:#f5f5fa;border-radius:6px;padding:28px}
.blog-cta-heading{display:grid;grid-template-columns:1fr 88px;align-items:start;gap:24px}
.blog-cta-heading img{width:88px;height:88px;object-fit:cover;border-radius:6px}
.blog-cta h2{margin:0;font-size:clamp(26px,2.8vw,40px);font-weight:500;line-height:1.5}
.blog-cta-footer{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-top:48px}
.blog-cta-footer>p{max-width:24ch;font-size:14px;line-height:1.9;text-align:start}
.blog-cta-actions{display:flex;gap:8px;flex-shrink:0}
.blog-button{display:inline-flex;justify-content:center;align-items:center;background:var(--blog-ink);color:#fff;padding:12px 20px;border:1px solid var(--blog-ink);border-radius:6px;font-size:13px;font-weight:500;white-space:nowrap}
.blog-button.is-outline{color:#fff;background:var(--blog-blue);border-color:var(--blog-blue)}
/* Article tools and content are rendered by PHP, including the TOC anchors. */
.article-wrap{padding:132px 24px 100px}
.article{max-width:1160px;margin-inline:auto}
.article-breadcrumb{display:flex;flex-wrap:wrap;align-items:baseline;gap:8px;margin-bottom:16px;color:var(--blog-muted);font-size:12px;line-height:1.9}
.article-breadcrumb a:hover{color:var(--blog-blue)}
.article-breadcrumb [aria-current]{color:var(--blog-ink)}
.article-back{display:inline-flex;gap:10px;align-items:center;min-height:44px;margin-bottom:24px;font-size:13px;color:var(--blog-ink)}
[dir=ltr] .article-back>span{transform:rotate(180deg)}
.article-head{max-width:920px;margin:0 auto 56px;text-align:center}
.post-cat{color:var(--blog-blue);font-size:12px;font-weight:500}
.article-head .post-cat{margin-bottom:16px}
.article-head h1{max-width:25ch;margin:0 auto 20px;font-size:clamp(32px,4vw,54px);line-height:1.5;font-weight:600;text-wrap:balance}
.article-summary{max-width:68ch;margin:0 auto 24px;color:var(--blog-muted);font-size:17px;line-height:1.95;text-align:center}
.blog-page .article-summary{text-align:center}
.article-meta{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px 24px;margin-bottom:32px;color:var(--blog-muted);font-size:12px}
.article-meta a{text-decoration:underline;text-underline-offset:4px}
.article-reading{display:inline-flex;align-items:center;gap:6px;color:var(--blog-ink)}
.featured{margin:0}
.featured img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:16px;background:#f5f5fa}
.article-layout{display:grid;grid-template-columns:260px minmax(0,760px);justify-content:space-between;align-items:start;gap:56px}
.article-layout.without-toc{display:block;max-width:760px;margin-inline:auto}
.article-sidebar{position:sticky;top:var(--blog-offset);min-width:0}
.article-toc{border-inline-start:1px solid var(--blog-line);padding-inline-start:20px}
.article-toc summary{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px;font-size:14px;font-weight:600;list-style:none}
.article-toc summary::-webkit-details-marker{display:none}
.article-toc summary svg{display:none;transition:transform .2s}
.article-toc[open] summary svg{transform:rotate(180deg)}
.article-toc nav{max-height:calc(100dvh - 180px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;margin-top:12px;padding:4px}
.article-toc ol{list-style:none;padding:0;margin:0}
.article-toc li+li{margin-top:4px}
.article-toc a{display:block;padding:8px 10px;border-radius:5px;font-size:13px;line-height:1.9;text-align:start;color:var(--blog-muted);text-decoration:none;border-inline-start:2px solid transparent}
.article-toc a:hover{color:var(--blog-ink);background:#f5f5fa}
.article-toc a[aria-current=location]{border-inline-start-color:var(--blog-blue);color:var(--blog-blue);background:#f2f5ff}
.article-content{min-width:0;color:#34405a;font-size:17px;line-height:2.05;overflow-wrap:anywhere}
.article-content>:first-child{margin-top:0}
.article-content :is(h2,h3,h4){scroll-margin-top:var(--blog-offset);margin:40px 0 16px;color:var(--blog-ink);line-height:1.6}
.article-content h2{font-size:clamp(25px,2.3vw,32px);font-weight:600}
.article-content h3{font-size:23px;font-weight:600}
.article-content h4{font-size:20px}
.article-content p{margin:0 0 20px;text-align:justify}
.article-content :is(ul,ol){padding-inline-start:24px;margin-block:16px 24px}
.article-content li{margin-bottom:8px}
.article-content a{color:#2861c2;text-decoration:underline;text-underline-offset:4px}
.article-content figure{margin:32px 0}
.article-content img{max-width:100%;height:auto;border-radius:12px;background:#f5f5fa}
.article-content pre{overflow:auto;direction:ltr;text-align:left;padding:20px;background:#f5f5fa;border-radius:6px}
.article-content blockquote{margin:28px 0;padding:20px 24px;border-inline-start:3px solid var(--blog-blue);background:#f5f5fa;border-radius:6px}
.article-content :is(h2,h3):focus{outline:2px solid var(--blog-blue);outline-offset:6px}
@media(max-width:1100px){.blog-hero{grid-template-columns:minmax(0,1fr) minmax(280px,40%)}.post-featured .post-card-link{gap:40px}.post-byline{gap:8px;flex-wrap:wrap}.article-layout{grid-template-columns:230px minmax(0,1fr);gap:32px}}
@media(max-width:991px){.blog-hero{padding-top:120px}.post-featured .post-card-link{display:flex;align-items:stretch;gap:30px}.post-featured .post-card-body{gap:20px}.article-layout{display:block}.article-sidebar{position:static;margin-bottom:32px}.article-toc{border:1px solid var(--blog-line);border-radius:8px;padding:8px 16px;background:#fff}.article-toc summary{cursor:pointer}.article-toc summary svg{display:block}.article-toc nav{max-height:50dvh;margin-top:8px;margin-bottom:8px}.article-toc a{padding-block:10px}.blog-cta{align-items:flex-start;flex-direction:column}}
@media(max-width:767px){.blog-home{padding-inline:12px}.blog-hero{display:flex;flex-direction:column;align-items:center;text-align:center;gap:26px;padding:112px 0 36px}.blog-hero h1{font-size:clamp(34px,8.3vw,54px);line-height:1.45}.blog-intro{text-align:center}.blog-categories{margin-bottom:46px}.blog-category{padding:10px 12px}.blog-grid{grid-template-columns:1fr;gap:40px}.post-featured{margin-bottom:56px}.post-featured h2{font-size:28px}.post-featured .post-card-body{gap:16px}.post-card h2{line-height:1.65}.post-media{height:auto;aspect-ratio:1.65}.post-byline{flex-wrap:nowrap}.blog-cta{padding:28px 20px;margin-top:72px}.article-wrap{padding:110px 16px 72px}.article-head{margin-bottom:32px}.article-head h1{font-size:clamp(28px,6.2vw,40px)}.article-summary{font-size:16px}.article-meta{gap:10px 18px}.article-content{font-size:16px}.article-content h3{font-size:21px}.featured img{border-radius:12px}.article-breadcrumb{font-size:11px}.article-back{margin-bottom:16px}}
@media(max-width:767px){.blog-cta{min-height:480px;justify-content:center;padding:40px 10px}.blog-cta-panel{padding:16px}.blog-cta-heading{grid-template-columns:1fr 64px;gap:12px}.blog-cta-heading img{width:64px;height:64px}.blog-cta-footer{align-items:stretch;flex-direction:column;margin-top:28px;gap:24px}.blog-cta-footer>p{max-width:30ch}.blog-cta-actions{width:100%;flex-wrap:wrap}.blog-cta-actions a{flex:1}}
@media(max-width:767px){.blog-page .blog-intro{text-align:center}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.blog-page *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
