/* ETM article + resource single — professional full-width layout with image
   hero (navy overlay) and a sticky sidebar. Scoped to .etm-art-* so it never
   collides with the plugin's etm.css or other live-*.css design layers. */

/* ---- Hero: featured image background + navy overlay ---- */
.etm-art-hero{
  position:relative;
  background:var(--navy,#121417);
  background-size:cover;
  background-position:center;
  color:#fff;
  isolation:isolate;
}
.etm-art-hero::before{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(18,20,23,.62) 0%,rgba(18,20,23,.78) 100%);
  z-index:-1;
}
.etm-art-hero .wrap{
  max-width:1180px;margin:0 auto;padding:64px 40px 56px;
}
.etm-art-hero .etm-crumbs{
  font-size:13px;color:rgba(255,255,255,.78);margin-bottom:18px;display:flex;flex-wrap:wrap;gap:6px;align-items:center;
}
.etm-art-hero .etm-crumbs a{color:rgba(255,255,255,.78);text-decoration:none}
.etm-art-hero .etm-crumbs a:hover{color:var(--teal,#E01E26)}
.etm-art-hero .etm-crumbs span{color:rgba(255,255,255,.4)}
.etm-art-eyebrow{
  display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700;
  text-transform:uppercase;letter-spacing:.1em;color:var(--teal,#E01E26);margin-bottom:14px;
}
.etm-art-hero h1{
  font-family:'Inter',-apple-system,sans-serif;
  font-size:clamp(30px,4.4vw,52px);font-weight:800;letter-spacing:-1px;line-height:1.08;
  margin:0 0 16px;color:#fff;max-width:18ch;
}
.etm-art-hero .etm-art-dek{
  font-size:17px;line-height:1.6;color:rgba(255,255,255,.88);max-width:62ch;margin:0 0 18px;
}
.etm-art-meta{
  font-size:13px;font-weight:500;color:rgba(255,255,255,.7);
  display:inline-flex;align-items:center;gap:8px;
}
.etm-art-meta .dot{opacity:.55}

/* ---- Body: full-width container, 2-col inner ---- */
.etm-art-shell{background:#f6f8fb;padding:48px 0 72px}
.etm-art-shell .wrap{
  max-width:1180px;margin:0 auto;padding:0 40px;
  display:grid;grid-template-columns:minmax(0,68fr) minmax(0,32fr);gap:40px;align-items:start;
}
.etm-art-main{
  background:#fff;border:1px solid #E6E8EC;border-radius:14px;padding:44px;
  box-shadow:0 1px 3px rgba(18,20,23,.04);
}
.etm-art-feature{margin:0 0 28px;border-radius:10px;overflow:hidden}
.etm-art-feature img{width:100%;height:auto;display:block}
.etm-art-prose p,.etm-art-prose li{font-size:16.5px;line-height:1.78;color:#3F454C}
.etm-art-prose h2{font-size:27px;line-height:1.25;color:var(--navy,#121417);margin:36px 0 12px;font-weight:800;letter-spacing:-.3px}
.etm-art-prose h3{font-size:20px;line-height:1.3;color:var(--navy,#121417);margin:28px 0 8px;font-weight:800}
.etm-art-prose>*:first-child{margin-top:0}
.etm-art-prose ul,.etm-art-prose ol{padding-left:22px;margin:0 0 16px}
.etm-art-prose li{margin-bottom:6px}
.etm-art-prose a{color:#B71C24;font-weight:700;text-decoration:underline}
.etm-art-prose img{max-width:100%;height:auto;border-radius:10px;margin:18px 0}
.etm-art-prose blockquote{margin:22px 0;padding:14px 22px;border-left:4px solid var(--teal,#E01E26);background:#ECFDF3;color:#334155;border-radius:0 8px 8px 0}

/* in-article CTA box */
.etm-art-inline-cta{margin-top:38px;padding:26px;border-radius:12px;background:#ECFDF3;border:1px solid #DCFCE7}
.etm-art-inline-cta h2{margin-top:0;font-size:22px}
.etm-art-inline-cta p{font-size:15.5px;color:#475569;line-height:1.7}
.etm-art-inline-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.etm-art-inline-actions a{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:12px 20px;text-decoration:none;font-size:14px;font-weight:800}
.etm-art-inline-actions .primary{background:var(--teal,#E01E26);color:#fff}
.etm-art-inline-actions .secondary{background:var(--navy2,#1E2228);color:#fff}

/* ---- Sidebar ---- */
.etm-art-aside{display:flex;flex-direction:column;gap:20px;position:sticky;top:24px}
.etm-side-card{background:#fff;border:1px solid #E6E8EC;border-radius:12px;padding:22px;box-shadow:0 1px 3px rgba(18,20,23,.04)}
.etm-side-card h3{font-family:'Inter',-apple-system,sans-serif;font-size:15px;font-weight:800;color:var(--navy,#121417);margin:0 0 14px;padding-bottom:12px;border-bottom:1px solid #eef2f7}

/* primary CTA card (navy) */
.etm-side-cta{background:var(--navy,#121417);color:#fff;border:none}
.etm-side-cta h3{color:#fff;border-bottom-color:rgba(255,255,255,.16)}
.etm-side-cta p{font-size:14px;line-height:1.6;opacity:.85;margin:0 0 16px}
.etm-side-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;border-radius:8px;padding:12px 16px;font-size:14px;font-weight:800;text-decoration:none;box-sizing:border-box}
.etm-side-btn.primary{background:var(--teal,#E01E26);color:#fff}
.etm-side-btn.primary:hover{filter:brightness(1.05)}
.etm-side-btn.ghost{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.4);margin-top:10px}
.etm-side-btn.ghost:hover{background:rgba(255,255,255,.08)}
.etm-side-btn svg{width:15px;height:15px}

/* related list */
.etm-side-list{display:flex;flex-direction:column}
.etm-side-item{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px solid #eef2f7;text-decoration:none}
.etm-side-item:last-child{border-bottom:none;padding-bottom:0}
.etm-side-thumb{width:54px;height:54px;border-radius:8px;flex-shrink:0;object-fit:cover;background:#e8eef6}
.etm-side-thumb-ph{width:54px;height:54px;border-radius:8px;flex-shrink:0;background:linear-gradient(135deg,var(--navy2,#1E2228),var(--steel,#121417));display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.6)}
.etm-side-thumb-ph svg{width:20px;height:20px}
.etm-side-item-body{min-width:0}
.etm-side-item-title{font-size:13.5px;font-weight:700;color:#1e293b;line-height:1.35;margin-bottom:3px}
.etm-side-item:hover .etm-side-item-title{color:var(--navy,#121417)}
.etm-side-item-meta{font-size:12px;color:#94a3b8}

/* region links */
.etm-side-regions{display:flex;flex-direction:column;gap:2px}
.etm-side-region{display:flex;align-items:center;gap:9px;padding:9px 0;font-size:14px;font-weight:600;color:#334155;text-decoration:none;border-bottom:1px solid #f1f4f9}
.etm-side-region:last-child{border-bottom:none}
.etm-side-region:hover{color:var(--navy,#121417)}
.etm-side-region svg{width:15px;height:15px;color:var(--teal,#E01E26);flex-shrink:0}

/* ---- Resource download gate (sidebar) ---- */
.etm-side-dl{background:linear-gradient(160deg,var(--navy2,#1E2228),var(--navy,#121417));color:#fff;border:none}
.etm-side-dl .etm-dl-kind{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:var(--teal,#E01E26);display:block;margin-bottom:8px}
.etm-side-dl h3{color:#fff;border:none;padding:0;margin:0 0 6px;font-size:17px}
.etm-side-dl .etm-dl-sub{font-size:13.5px;line-height:1.55;opacity:.85;margin:0 0 16px}
.etm-side-dl .etm-field{display:flex;flex-direction:column;gap:5px;margin:0 0 10px;text-align:left}
.etm-side-dl .etm-field label{font-size:12px;font-weight:700;color:rgba(255,255,255,.85)}
.etm-side-dl .etm-field input{width:100%;padding:10px 12px;border:1px solid rgba(255,255,255,.22);border-radius:8px;font:inherit;background:rgba(255,255,255,.08);color:#fff;box-sizing:border-box}
.etm-side-dl .etm-field input::placeholder{color:rgba(255,255,255,.5)}
.etm-side-dl .etm-field input:focus{outline:none;border-color:var(--teal,#E01E26);background:rgba(255,255,255,.12)}
.etm-side-dl .btn-download{justify-content:center;cursor:pointer;border:0;width:100%;margin-top:4px;background:var(--teal,#E01E26);color:#fff;padding:13px;border-radius:8px;font-size:14px;font-weight:800;display:inline-flex;align-items:center;gap:8px}
.etm-side-dl .btn-download:hover{filter:brightness(1.05)}
.etm-side-dl .btn-download svg{width:15px;height:15px}
.etm-side-dl .etm-form-status{font-size:12.5px;margin:8px 0 0;color:rgba(255,255,255,.9)}
.etm-side-dl .etm-consent,.etm-side-dl label.etm-consent{font-size:11.5px;color:rgba(255,255,255,.7);display:block;margin-top:4px}
.etm-side-dl .etm-consent a{color:var(--teal,#E01E26)}

/* ---- Responsive ---- */
@media(max-width:980px){
  .etm-art-shell .wrap{grid-template-columns:1fr;gap:28px;padding:0 22px}
  .etm-art-hero .wrap{padding:46px 22px 40px}
  .etm-art-aside{position:static}
  .etm-art-main{padding:28px 22px}
}
@media(max-width:560px){
  .etm-art-hero h1{font-size:28px}
  .etm-art-main{padding:24px 18px}
}

/* ---- Full-width Guide template (template-guide.php) ----
   Single-column, site-width prose. No download gate, no narrow column. */
.etm-guide-shell{background:#f6f8fb;padding:48px 0 72px}
.etm-guide-shell .wrap{max-width:1160px;margin:0 auto;padding:0 40px}
.etm-guide-main{background:#fff;border:1px solid #E6E8EC;border-radius:14px;padding:48px 56px;box-shadow:0 1px 3px rgba(18,20,23,.04)}
.etm-guide-main>*:first-child{margin-top:0}
.etm-guide-main .etm-key-points{margin:0 0 26px;padding:20px 24px;background:#ECFDF3;border:1px solid #DCFCE7;border-radius:12px}
.etm-guide-main .etm-key-points h2{margin:0 0 10px;font-size:18px}
.etm-guide-main .etm-key-points ul{margin:0;padding-left:20px}
.etm-guide-main .etm-faq{margin-top:14px}
.etm-guide-main .etm-faq h3{margin:22px 0 6px}
@media(max-width:768px){
  .etm-guide-shell{padding:32px 0 56px}
  .etm-guide-shell .wrap{padding:0 18px}
  .etm-guide-main{padding:28px 20px}
}

/* Resource download block when rendered inline (full-width guide layout) */
.etm-guide-main .etm-dl-inline{max-width:560px;margin:32px 0 8px}

/* ============================================================
   MODERN REDESIGN 2026-06-08 — true site width (1560), sleek
   corporate cards, big-image related posts, modern sidebar.
   Supersedes the earlier append. Reuses the home design language.
   ============================================================ */

/* ---- Site-width shell + sleek main card ---- */
.etm-art-hero .wrap{max-width:1560px}
.etm-art-shell{padding:54px 0 80px}
.etm-art-shell .wrap{
  max-width:1560px;padding:0 40px;gap:56px;
  grid-template-columns:minmax(0,1fr) 380px;
}
.etm-art-main{
  border:0;border-radius:20px;padding:52px 60px;
  box-shadow:0 4px 30px rgba(18,20,23,.06);
}
.etm-art-prose p,.etm-art-prose li{font-size:17px;line-height:1.8}
.etm-art-faq{margin:42px 0 8px}
.etm-art-faq h2{font-size:28px;line-height:1.18;margin:0 0 18px;color:var(--navy,#121417)}
.etm-art-faq-list{display:grid;gap:12px}
.etm-art-faq-item{border:1px solid #E6E8EC;border-radius:12px;background:#fbfcfe;overflow:hidden}
.etm-art-faq-item summary{cursor:pointer;list-style:none;padding:16px 20px 17px;font-weight:700;color:#121417;font-size:16px;position:relative}
.etm-art-faq-item summary::-webkit-details-marker{display:none}
.etm-art-faq-item summary::after{content:"+";position:absolute;right:20px;top:14px;font-size:22px;color:#B71C24;font-weight:700}
.etm-art-faq-item[open] summary::after{content:"\2212"}
.etm-art-faq-answer{padding:0 20px 16px}
.etm-art-faq-answer p{margin:0 0 10px}
.etm-art-faq-answer p:last-child{margin-bottom:0}

/* ---- Monogram avatar ---- */
.etm-au-mono{
  flex-shrink:0;width:60px;height:60px;border-radius:50%;
  background:linear-gradient(135deg,var(--teal,#E01E26),#B71C24);
  color:#fff;font-family:'Inter',-apple-system,sans-serif;font-weight:800;
  font-size:21px;letter-spacing:.5px;display:flex;align-items:center;justify-content:center;
}
.etm-au-mono-lg{
  width:96px;height:96px;font-size:34px;color:#fff;
  background:linear-gradient(135deg,var(--teal,#E01E26),#B71C24);
  box-shadow:0 8px 24px rgba(224,30,38,.28);
}

/* ---- Author byline (simple, role-led — not a big bio block) ---- */
.etm-art-author{
  display:flex;gap:16px;align-items:center;margin-top:44px;padding:20px 24px;border-top:0;
  background:#fff;border:1px solid #e6eef5;border-radius:14px;
}
.etm-art-author .etm-au-kicker{font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.12em;color:#94a3b8;display:block;margin-bottom:2px}
.etm-art-author h3{margin:0;font-size:18px;font-weight:800;color:var(--navy,#121417)}
.etm-art-author h3 a{color:inherit;text-decoration:none}
.etm-art-author h3 a:hover{color:#B71C24}
.etm-au-role{margin:2px 0 0;font-size:13.5px;font-weight:600;color:#B71C24}
.etm-au-link{margin-left:auto;flex-shrink:0;font-size:13.5px;font-weight:800;color:#B71C24;text-decoration:none;display:inline-flex;align-items:center;gap:5px}
.etm-au-link:hover{gap:9px}

/* ---- Tables inside article/resource/guide prose ---- */
.etm-art-prose table,.etm-guide-main table{
  width:100%;border-collapse:separate;border-spacing:0;margin:26px 0;font-size:15px;
  border:1px solid #E6E8EC;border-radius:14px;overflow:hidden;box-shadow:0 2px 14px rgba(18,20,23,.04);
}
.etm-art-prose thead th,.etm-guide-main thead th{
  background:linear-gradient(160deg,var(--navy2,#1E2228),var(--navy,#121417));color:#fff;
  text-align:left;font-weight:700;font-size:13px;letter-spacing:.01em;padding:14px 18px;line-height:1.3;
}
.etm-art-prose th:first-child,.etm-guide-main th:first-child{border-top-left-radius:13px}
.etm-art-prose th:last-child,.etm-guide-main th:last-child{border-top-right-radius:13px}
.etm-art-prose tbody td,.etm-guide-main tbody td{
  padding:14px 18px;border-top:1px solid #eef2f7;vertical-align:top;color:#3F454C;line-height:1.6;font-size:14.5px;
}
.etm-art-prose tbody tr:nth-child(even) td,.etm-guide-main tbody tr:nth-child(even) td{background:#f8fafc}
.etm-art-prose tbody td:first-child,.etm-guide-main tbody td:first-child{font-weight:700;color:var(--navy,#121417)}
.etm-art-prose tbody td a,.etm-guide-main tbody td a{color:#B71C24;font-weight:700}

/* ---- "Read next" — big-image modern cards ---- */
.etm-readnext{background:#fff;border-top:1px solid #eef2f7;padding:66px 0 80px}
.etm-readnext .wrap{max-width:1560px;margin:0 auto;padding:0 40px}
.etm-readnext>.wrap>h2{font-family:'Inter',-apple-system,sans-serif;font-size:30px;font-weight:800;letter-spacing:-.6px;color:var(--navy,#121417);margin:0 0 30px}
.etm-rn-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
.etm-rn-card{
  display:flex;flex-direction:column;background:#fff;border:0;border-radius:20px;overflow:hidden;
  text-decoration:none;box-shadow:0 3px 22px rgba(18,20,23,.07);transition:box-shadow .18s,transform .18s;
}
.etm-rn-card:hover{box-shadow:0 16px 42px rgba(18,20,23,.16);transform:translateY(-4px)}
.etm-rn-img{display:block;height:236px;background-size:cover;background-position:center;background-color:#1E2228}
.etm-rn-img[data-empty]{background:linear-gradient(135deg,var(--navy2,#1E2228),var(--navy,#121417))}
.etm-rn-body{display:flex;flex-direction:column;gap:9px;padding:26px 28px 30px}
.etm-rn-kicker{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:#B71C24}
.etm-rn-title{font-size:19px;font-weight:800;line-height:1.32;color:var(--navy,#121417)}
.etm-rn-card:hover .etm-rn-title{color:#B71C24}
.etm-rn-meta{font-size:13px;color:#94a3b8;margin-top:2px}

/* ---- Sleek modern sidebar ---- */
.etm-art-aside{gap:18px}
.etm-side-card{border:0;border-radius:18px;box-shadow:0 3px 22px rgba(18,20,23,.06);padding:26px}
.etm-side-card h3{font-size:14px;letter-spacing:.02em;border-bottom:0;padding-bottom:0;margin:0 0 16px}
.etm-side-cta{background:linear-gradient(165deg,var(--navy2,#1E2228),var(--navy,#121417))}
.etm-side-cta h3{color:#fff}
.etm-side-btn{border-radius:10px;padding:13px 16px}
/* related list: bigger images, no boxy dividers, hover pill */
.etm-side-list{gap:4px}
.etm-side-item{padding:10px;border-radius:14px;border-bottom:0;gap:14px;align-items:center;transition:background .15s}
.etm-side-item:last-child{padding-bottom:10px}
.etm-side-item:hover{background:#f4f8fc}
.etm-side-thumb,.etm-side-thumb-ph{width:78px;height:62px;border-radius:12px}
.etm-side-thumb-ph svg{width:24px;height:24px}
.etm-side-item-body{display:flex;flex-direction:column}
.etm-side-item-title{display:block;font-size:14.5px;line-height:1.38}
.etm-side-item-meta{font-size:12px;color:#B71C24;font-weight:700;text-transform:uppercase;letter-spacing:.05em;margin-top:3px}

/* ---- Author archive page ---- */
.etm-author-hero{background:linear-gradient(165deg,var(--navy2,#1E2228),var(--navy,#121417));color:#fff;padding:62px 0 54px}
.etm-author-hero .wrap{max-width:1560px;margin:0 auto;padding:0 40px}
.etm-author-hero .etm-crumbs{font-size:13px;color:rgba(255,255,255,.65);margin-bottom:26px}
.etm-author-hero .etm-crumbs a{color:rgba(255,255,255,.65);text-decoration:none}
.etm-author-hero .etm-crumbs a:hover{color:var(--teal,#E01E26)}
.etm-author-id{display:flex;align-items:center;gap:24px}
.etm-author-head .etm-art-eyebrow{color:var(--teal,#E01E26)}
.etm-author-head h1{font-family:'Inter',-apple-system,sans-serif;font-size:clamp(30px,3.8vw,44px);font-weight:800;letter-spacing:-.8px;margin:6px 0 8px;color:#fff}
.etm-author-role{margin:0;font-size:15.5px;font-weight:700;color:var(--teal,#E01E26)}
.etm-author-bio{margin-top:28px;max-width:820px}
.etm-author-bio p{font-size:16.5px;line-height:1.74;color:rgba(255,255,255,.84);margin:0 0 14px}
.etm-author-bio p:last-child{margin-bottom:0}
.etm-author-posts{background:#f6f8fb;border-top:0}

/* ---- Responsive (re-asserted after the wide base above) ---- */
@media(max-width:1180px){
  .etm-art-shell .wrap{grid-template-columns:minmax(0,1fr) 330px;gap:38px}
  .etm-rn-grid{grid-template-columns:repeat(3,1fr);gap:22px}
}
@media(max-width:980px){
  .etm-art-shell .wrap{grid-template-columns:1fr;gap:30px;padding:0 22px}
  .etm-art-hero .wrap{padding:46px 22px 40px}
  .etm-art-aside{position:static}
  .etm-art-main{padding:30px 24px}
  .etm-art-faq h2{font-size:24px}
  .etm-readnext .wrap,.etm-author-hero .wrap{padding:0 22px}
  .etm-rn-grid{grid-template-columns:1fr 1fr;gap:20px}
  .etm-author-id{gap:18px}
}
@media(max-width:700px){
  .etm-art-prose table,.etm-guide-main table{font-size:13.5px}
  .etm-art-prose thead th,.etm-guide-main thead th,.etm-art-prose tbody td,.etm-guide-main tbody td{padding:10px 12px}
}
@media(max-width:600px){
  .etm-rn-grid{grid-template-columns:1fr}
  .etm-rn-img{height:200px}
  .etm-art-author{flex-wrap:wrap;gap:14px;padding:20px}
  .etm-art-faq h2{font-size:22px}
  .etm-art-faq-item summary{padding:15px 18px 16px;font-size:15px}
  .etm-art-faq-answer{padding:0 18px 15px}
  .etm-au-link{margin-left:72px}
  .etm-au-mono-lg{width:72px;height:72px;font-size:27px}
  .etm-author-hero h1{font-size:30px}
}
