/* Blog post redesign (ell-blog-post-v2.html). Loaded after blog-post.css by single-ell-v2.php only. */
/* ===== ELL blog post: align with the new homepage / Insights design =====
   Drop-in overrides for the existing post template. No markup or content changes. */
:root{--ell-blue:#0075C1;--ell-navy:#0F1B2D;--ell-pink:#FFB0BF;--ell-line:#DDE2E8;--ell-mist:#F5F7F9}

/* hero: navy grid hero from the Insights page */
.ell-post-hero{position:relative;overflow:hidden;background:linear-gradient(120deg,#0B1626 0%,#0F1B2D 45%,#00365C 100%);padding:72px 32px 64px}
.ell-post-hero::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);background-size:56px 56px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 60%);mask-image:linear-gradient(90deg,transparent,#000 60%);pointer-events:none}
.ell-post-hero-inner{position:relative;max-width:1240px}
.ell-category-tag{background:var(--ell-pink);color:var(--ell-navy);font-weight:600;letter-spacing:0;font-size:.72rem;padding:5px 12px;margin-bottom:20px}
.ell-post-hero h1{font-size:44px;font-weight:500;line-height:1.15;letter-spacing:0;max-width:880px;margin-bottom:22px}
.ell-post-hero-meta span{color:rgba(255,255,255,.7);font-size:14px}
@media (max-width:640px){.ell-post-hero{padding:44px 20px 40px}.ell-post-hero h1{font-size:30px}}

/* breadcrumb and layout width: homepage container */
.ell-breadcrumb-bar{background:#fff;border-bottom:1px solid #EBEEF2;padding:14px 0}
.ell-breadcrumb-inner{max-width:1304px;padding:0 32px;font-size:13px}
.ell-post-layout{max-width:1304px;padding:56px 32px 96px;grid-template-columns:minmax(0,1fr) 340px;gap:64px}
@media (max-width:980px){.ell-breadcrumb-inner,.ell-post-layout{padding-left:20px;padding-right:20px}}
@media (max-width:960px){.ell-post-layout{grid-template-columns:minmax(0,1fr);gap:40px}.ell-post-hero h1{font-size:34px}}
@media (max-width:600px){.ell-post-layout{padding-top:32px}}

/* featured image and share row */
.ell-post-featured-image{border-radius:10px;box-shadow:0 30px 60px -40px rgba(0,60,100,.45)}
.ell-share-bar{border-bottom:1px solid var(--ell-line)}
.ell-share-bar span{letter-spacing:0;font-weight:500;color:#7C8694}
.ell-article button.ell-share-btn,button.ell-share-btn,.ell-share-btn{background:#fff!important;color:var(--ell-navy)!important;border:1.5px solid var(--ell-line)!important;border-radius:999px!important;font-weight:500!important;padding:8px 16px!important}
.ell-article button.ell-share-btn:hover,button.ell-share-btn:hover,.ell-share-btn:hover{border-color:var(--ell-blue)!important;color:var(--ell-blue)!important;opacity:1!important}

/* article body */
.ell-article-body{color:#404040;font-size:17px}
.ell-article-body h2{font-size:28px;font-weight:500;color:var(--ell-navy);border-left:3px solid var(--ell-pink);padding-left:18px;margin:48px 0 18px;line-height:1.25}
.ell-article-body a{text-decoration-thickness:1px;text-underline-offset:3px}
@media (max-width:640px){.ell-article-body h2{font-size:23px}}

/* in-article CTA: homepage banner */
.ell-post-cta-bar{background:linear-gradient(100deg,#00436F 0%,#0075C1 100%);border-radius:8px}
.ell-post-cta-bar h3{font-weight:500;font-size:1.2rem}
.ell-post-cta-btn,.ell-cta-btn{background:var(--ell-pink)!important;color:var(--ell-navy)!important;border:1.5px solid var(--ell-pink)!important;border-radius:999px!important;font-weight:500!important}
.ell-post-cta-btn:hover,.ell-cta-btn:hover{background:#FF96A9!important;border-color:#FF96A9!important;color:var(--ell-navy)!important}

/* FAQ */
.ell-faq-heading{font-weight:500!important;color:var(--ell-navy)!important;border-left-color:var(--ell-pink)!important}
.ell-article-body details.faq-item summary,.faq-item summary{font-weight:500!important;color:var(--ell-navy)}
.faq-icon{color:var(--ell-blue)}

/* author, disclaimer, related */
.ell-author-bio{background:var(--ell-mist);border:1px solid var(--ell-line);border-radius:8px}
.ell-author-avatar{border-color:var(--ell-pink)}
.ell-author-info h4{font-weight:500}
.ell-author-role{font-weight:500}
.ell-disclaimer-box{background:#fff;border:1px solid var(--ell-line);border-left:3px solid var(--ell-line)}
.ell-related-posts{border-top:1px solid var(--ell-line)}
.ell-related-posts h2{font-weight:500;color:var(--ell-navy);border-left:3px solid var(--ell-pink)}
.ell-related-card{box-shadow:none;border:1px solid var(--ell-line);border-radius:8px}
.ell-related-card:hover{box-shadow:0 20px 40px -24px rgba(15,27,45,.25)}
.ell-rc-title{font-weight:500;font-size:14px}

/* sidebar: Insights page cards */
.ell-post-sidebar{gap:20px}
.ell-cta-widget{background:linear-gradient(150deg,#0F1B2D 0%,#00436F 100%);text-align:left;border-radius:8px;padding:26px 24px}
.ell-cta-widget h3{font-weight:500;font-size:1.25rem}
.ell-cta-widget p{font-size:.92rem;opacity:.85}
.ell-sidebar-widget{box-shadow:none;border:1px solid var(--ell-line);border-radius:8px}
.ell-widget-header{background:#fff;color:var(--ell-navy);font-weight:500;font-size:1rem;letter-spacing:0;padding:22px 24px 4px}
.ell-widget-body{padding:12px 24px 22px}
.ell-toc-list a{font-size:.88rem}
.ell-toc-list a i{color:var(--ell-pink)}
.ell-toc-list a.active{color:var(--ell-blue);font-weight:500}
.ell-recent-title{font-weight:500;font-size:.85rem}

/* V2: featured image and share buttons in the hero */
.ell-post-hero i.fa-solid,.ell-post-hero i.fa-regular,.ell-post-hero i.fa-brands{font-family:"Font Awesome 6 Free"!important;font-weight:900!important;display:inline-block!important}
.ell-post-hero i.fa-brands{font-family:"Font Awesome 6 Brands"!important;font-weight:400!important}
.ell-post-hero i.fa-brands.fa-linkedin::before{content:""!important}
.ell-post-hero i.fa-brands.fa-x-twitter::before{content:""!important}
.ell-hero-split{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:56px;align-items:center;max-width:1240px}
.ell-hero-split .ell-post-hero-meta{margin-bottom:26px}
.ell-hero-split .ell-post-featured-image{margin:0;aspect-ratio:4/3;max-width:100%;border:1px solid rgba(255,255,255,.15);box-shadow:0 40px 80px -40px rgba(0,0,0,.6)}
.ell-hero-split .ell-share-bar{border:0;padding:0;margin:0}
.ell-hero-split .ell-share-bar span{color:rgba(255,255,255,.6)}
.ell-post-hero .ell-share-btn,.ell-post-hero button.ell-share-btn{background:rgba(255,255,255,.06)!important;border-color:rgba(255,255,255,.28)!important;color:#fff!important}
.ell-post-hero .ell-share-btn:hover,.ell-post-hero button.ell-share-btn:hover{border-color:#FFB0BF!important;color:#FFB0BF!important;background:rgba(255,255,255,.1)!important}
.ell-hero-split h1{font-size:42px}
.ell-post-layout{padding-top:48px}
@media (max-width:960px){.ell-hero-split{grid-template-columns:minmax(0,1fr);gap:28px}.ell-hero-split .ell-post-featured-image{aspect-ratio:16/9;order:-1}.ell-hero-split h1{font-size:32px}}
@media (max-width:600px){.ell-hero-split .ell-post-featured-image{order:0}.ell-hero-split h1{font-size:28px}}
.ell-hero-split.ell-hero-noimage{grid-template-columns:minmax(0,1fr)}
