/* Etalex blog (W25). Every value below comes from the live skx-* widgets; see reports/blog-design-system.md. */
.etx-blog{
  --skx-beige:#FCF8F0; --skx-dark:#540910; --skx-lime:#AB2930; --skx-ink:#262626;
  --skx-display:'Manderly','Jost',system-ui,-apple-system,'Segoe UI',sans-serif;
  --skx-sub:Arial,'Helvetica Neue',Helvetica,sans-serif;
  --skx-body:'Nicky Sans','Figtree',system-ui,-apple-system,'Segoe UI',sans-serif;
  --skx-max:2100px; --skx-gut:clamp(20px,2.2vw,30px);
  --skx-ease:cubic-bezier(.2,.8,.2,1);
  --etx-tint:rgba(84,9,16,.05); --etx-rule:rgba(38,38,38,.14);
  --etx-text:rgba(38,38,38,.82);
  display:block; background:var(--skx-beige); color:var(--skx-ink);
  font-family:var(--skx-body); overflow-x:clip;
}
.etx-blog *{ box-sizing:border-box; }
body:has(.etx-blog){ background:#FCF8F0; margin:0; }
.etx-wrap{ max-width:min(var(--skx-max),1320px); margin-inline:auto; padding-inline:var(--skx-gut); }
.etx-section{ padding-block:clamp(40px,6vw,80px); }
.etx-blog a{ color:var(--skx-dark); text-underline-offset:3px; }
.etx-blog a:focus-visible{ outline:2px solid var(--skx-dark); outline-offset:3px; border-radius:4px; }
.screen-reader-text{ position:absolute!important; width:1px; height:1px; overflow:hidden; clip:rect(1px,1px,1px,1px); white-space:nowrap; }

/* ---------- type ---------- */
.etx-eyebrow{
  margin:0 0 18px; color:var(--skx-lime); font-family:var(--skx-sub); font-weight:400;
  font-size:clamp(13px,1.1vw,16px); letter-spacing:.12em; line-height:1.4; text-transform:uppercase;
}
.etx-eyebrow a{ color:inherit; text-decoration:none; }
.etx-eyebrow a:hover{ text-decoration:underline; }
.etx-eyebrow--light{ color:rgba(252,248,240,.78); }
.etx-h2{
  margin:0 0 clamp(24px,3vw,40px); color:var(--skx-dark); font-family:var(--skx-display); font-weight:500;
  font-size:clamp(26px,3.4vw,46px); line-height:1.14; letter-spacing:-.01em;
}

/* ---------- buttons (skx-ind-hd__btn) ---------- */
.etx-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  border:0; border-radius:25px; padding:12px 28px; cursor:pointer;
  background:var(--skx-dark); color:var(--skx-beige)!important; text-decoration:none;
  font-family:var(--skx-body); font-weight:500; font-size:14px; letter-spacing:.04em; line-height:1.6; white-space:nowrap;
  transition:background-color .35s var(--skx-ease), color .35s var(--skx-ease), transform .35s var(--skx-ease);
}
.etx-btn:hover{ background:var(--skx-lime); transform:translateY(-1px); }
.etx-btn--ghost{ background:transparent; color:var(--skx-dark)!important; box-shadow:inset 0 0 0 1.5px var(--skx-dark); }
.etx-btn--ghost:hover{ background:var(--skx-dark); color:var(--skx-beige)!important; }
.etx-btn--light{ background:var(--skx-beige); color:var(--skx-dark)!important; }
.etx-btn--light:hover{ background:var(--skx-lime); color:var(--skx-beige)!important; }
.etx-btn--ghost-light{ background:transparent; color:var(--skx-beige)!important; box-shadow:inset 0 0 0 1.5px var(--skx-beige); }
.etx-btn--ghost-light:hover{ background:var(--skx-beige); color:var(--skx-dark)!important; }

/* ---------- archive hero (skx-ind-hd rhythm) ---------- */
.etx-hero{ padding:clamp(120px,14vw,190px) 0 clamp(36px,4vw,60px); }
.etx-hero__title{
  margin:0 0 22px; color:var(--skx-dark); font-family:var(--skx-display); font-weight:500;
  font-size:clamp(38px,6vw,86px); line-height:1.08; letter-spacing:-.02em; max-width:16ch; overflow-wrap:break-word;
}
.etx-hero__lede{
  margin:0 0 30px; color:rgba(38,38,38,.78); font-family:var(--skx-body); font-weight:300;
  font-size:clamp(16px,1.5vw,22px); line-height:1.7; letter-spacing:.5px; max-width:60ch;
}
.etx-search{ display:flex; gap:10px; max-width:620px; flex-wrap:wrap; }
.etx-search input[type=search]{
  flex:1 1 260px; min-width:0; padding:12px 22px; border-radius:25px; border:0;
  box-shadow:inset 0 0 0 1.5px rgba(38,38,38,.28); background:#fff; color:var(--skx-ink);
  font:400 15px/1.6 var(--skx-body);
}
.etx-search input[type=search]:focus{ outline:none; box-shadow:inset 0 0 0 2px var(--skx-dark); }

/* ---------- filters ---------- */
.etx-filters{ padding-block:0 clamp(28px,4vw,48px); }
.etx-chips{ list-style:none; margin:0 0 18px; padding:0; display:flex; flex-wrap:wrap; gap:10px; }
.etx-chip{
  display:inline-flex; padding:8px 18px; border-radius:25px; text-decoration:none;
  box-shadow:inset 0 0 0 1.5px rgba(84,9,16,.35); color:var(--skx-dark)!important;
  font:500 14px/1.5 var(--skx-body); letter-spacing:.02em; transition:background-color .3s var(--skx-ease), color .3s var(--skx-ease);
}
.etx-chip:hover, .etx-chip.is-active{ background:var(--skx-dark); color:var(--skx-beige)!important; box-shadow:none; }
.etx-filterform{ display:flex; flex-wrap:wrap; gap:12px 18px; align-items:flex-end; }
.etx-filterform label{ display:flex; flex-direction:column; gap:6px; font:400 12px/1.4 var(--skx-sub); letter-spacing:.14em; text-transform:uppercase; color:rgba(38,38,38,.7); }
.etx-filterform select{
  min-width:220px; padding:10px 40px 10px 16px; border-radius:25px; border:0; appearance:none;
  box-shadow:inset 0 0 0 1.5px rgba(38,38,38,.28); color:var(--skx-ink); font:400 15px/1.5 var(--skx-body);
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23540910' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 16px center;
}

/* ---------- cards (skx 15px radius, tinted media) ---------- */
.etx-grid{ display:grid; grid-template-columns:1fr; gap:clamp(20px,2.4vw,32px); }
@media (min-width:700px){ .etx-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (min-width:1100px){ .etx-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
.etx-card{ display:flex; flex-direction:column; border-radius:15px; overflow:hidden; background:var(--etx-tint); text-decoration:none; color:inherit; transition:transform .35s var(--skx-ease); }
.etx-card:hover{ transform:translateY(-2px); }
.etx-card__media{ display:block; aspect-ratio:3/2; overflow:hidden; background:rgba(84,9,16,.06); }
.etx-blog .etx-card__img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .6s var(--skx-ease); }
.etx-card:hover .etx-card__img{ transform:scale(1.03); }
.etx-card__ph{ display:block; width:100%; height:100%; }
.etx-card__body{ display:flex; flex-direction:column; gap:10px; padding:clamp(20px,2vw,28px); flex:1; }
.etx-card__cat{ margin:0; color:var(--skx-lime); font:400 12px/1.4 var(--skx-sub); letter-spacing:.16em; text-transform:uppercase; }
.etx-card__title{ margin:0; color:var(--skx-dark); font-family:var(--skx-display); font-weight:500; font-size:clamp(20px,1.8vw,26px); line-height:1.22; letter-spacing:-.005em; }
.etx-card__title a{ text-decoration:none; color:inherit!important; }
.etx-card__title a:hover{ text-decoration:underline; }
.etx-card__ex{ margin:0; color:var(--etx-text); font-weight:300; font-size:15px; line-height:1.65; }
.etx-card__meta{ margin:auto 0 0; padding-top:8px; display:flex; gap:8px; flex-wrap:wrap; color:rgba(38,38,38,.6); font-size:13px; letter-spacing:.02em; }
.etx-card--page{ background:var(--skx-dark); }
.etx-card--page .etx-card__cat{ color:rgba(252,248,240,.7); }
.etx-card--page .etx-card__title{ color:var(--skx-beige); }
.etx-card--page .etx-card__ex{ color:rgba(252,248,240,.82); }
.etx-card__more{ margin-top:auto; color:var(--skx-beige); font-weight:500; font-size:14px; letter-spacing:.04em; }
.etx-featured__grid{ display:grid; gap:clamp(20px,2.4vw,32px); }
@media (min-width:1000px){
  .etx-featured__grid{ grid-template-columns:1.4fr 1fr; grid-template-rows:auto auto; }
  .etx-card--lead{ grid-row:span 2; }
  .etx-card--lead .etx-card__media{ aspect-ratio:16/10; }
  .etx-card--lead .etx-card__title{ font-size:clamp(26px,2.6vw,38px); }
}

/* ---------- pagination ---------- */
.etx-pager ul{ list-style:none; margin:clamp(36px,4vw,56px) 0 0; padding:0; display:flex; flex-wrap:wrap; gap:8px; }
.etx-pager a, .etx-pager span{
  display:inline-flex; min-width:44px; height:44px; padding:0 14px; align-items:center; justify-content:center;
  border-radius:25px; text-decoration:none; font:500 14px/1 var(--skx-body); box-shadow:inset 0 0 0 1.5px rgba(84,9,16,.3); color:var(--skx-dark);
}
.etx-pager .current{ background:var(--skx-dark); color:var(--skx-beige); box-shadow:none; }
.etx-pager a:hover{ background:var(--skx-dark); color:var(--skx-beige)!important; }

/* ---------- empty state, popular ---------- */
.etx-empty{ padding:clamp(28px,3vw,44px); border-radius:15px; background:var(--etx-tint); max-width:760px; }
.etx-empty__title{ margin:0 0 10px; font-family:var(--skx-display); font-weight:500; font-size:clamp(20px,2vw,26px); color:var(--skx-dark); }
.etx-empty p{ margin:0; color:var(--etx-text); font-weight:300; line-height:1.75; }
.etx-popular__list{ margin:0; padding:0; list-style:none; counter-reset:p; border-top:1px solid var(--etx-rule); }
.etx-popular__list li{ counter-increment:p; display:flex; gap:18px; align-items:baseline; justify-content:space-between; padding:18px 0; border-bottom:1px solid var(--etx-rule); }
.etx-popular__list li::before{ content:counter(p,decimal-leading-zero); color:var(--skx-lime); font:400 13px var(--skx-sub); letter-spacing:.14em; }
.etx-popular__list a{ flex:1; font-family:var(--skx-display); font-size:clamp(18px,1.6vw,22px); text-decoration:none; }
.etx-popular__list span{ color:rgba(38,38,38,.6); font-size:13px; white-space:nowrap; }

/* ---------- CTA band (Merlot, as the menu overlay) ---------- */
.etx-cta{ padding:clamp(20px,3vw,40px) var(--skx-gut); }
.etx-cta__inner{
  max-width:min(var(--skx-max),1320px); margin-inline:auto; border-radius:15px; background:var(--skx-dark); color:var(--skx-beige);
  padding:clamp(32px,5vw,72px); display:grid; gap:28px; align-items:center;
}
@media (min-width:900px){ .etx-cta__inner{ grid-template-columns:minmax(0,1.6fr) auto; } }
.etx-cta__title{ margin:0 0 14px; font-family:var(--skx-display); font-weight:500; font-size:clamp(26px,3vw,42px); line-height:1.14; color:var(--skx-beige); }
.etx-cta__lede{ margin:0; font-weight:300; font-size:clamp(15px,1.3vw,18px); line-height:1.7; color:rgba(252,248,240,.82); max-width:58ch; }
.etx-cta__actions{ display:flex; flex-wrap:wrap; gap:12px; }

/* ---------- single post ---------- */
.etx-post__hero{ padding:clamp(110px,12vw,160px) 0 clamp(28px,3vw,44px); }
.etx-crumbs ol{ list-style:none; margin:0 0 clamp(24px,3vw,40px); padding:0; display:flex; flex-wrap:wrap; gap:6px 10px; font-size:13px; color:rgba(38,38,38,.62); }
.etx-crumbs li+li::before{ content:"/"; margin-right:10px; color:rgba(38,38,38,.35); }
.etx-crumbs a{ text-decoration:none; color:rgba(38,38,38,.72)!important; }
.etx-crumbs a:hover{ color:var(--skx-dark)!important; text-decoration:underline; }
.etx-crumbs [aria-current]{ color:rgba(38,38,38,.5); max-width:42ch; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.etx-post__heroinner{ display:block; }
.etx-post__title{
  margin:0 0 22px; color:var(--skx-dark); font-family:var(--skx-display); font-weight:500;
  font-size:clamp(34px,4.6vw,64px); line-height:1.1; letter-spacing:-.02em; max-width:22ch; overflow-wrap:break-word; hyphens:auto;
}
.etx-post__meta{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:6px 18px; color:rgba(38,38,38,.68); font-size:14px; line-height:1.6; }
.etx-post__meta li+li::before{ content:""; display:inline-block; width:5px; height:5px; border-radius:50%; background:var(--skx-lime); margin:0 18px 2px -10px; vertical-align:middle; opacity:.8; }
.etx-post__meta strong{ font-weight:500; color:var(--skx-ink); }
.etx-post__media{ margin:clamp(28px,4vw,52px) 0 0; border-radius:15px; overflow:hidden; aspect-ratio:21/9; background:rgba(84,9,16,.06); }
.etx-blog .etx-post__img{ width:100%; height:100%; object-fit:cover; display:block; }
@media (max-width:699px){ .etx-post__media{ aspect-ratio:4/3; } }

.etx-post__layout{ display:block; padding-bottom:clamp(40px,6vw,80px); }
@media (min-width:1100px){
  .etx-post__layout.has-toc{ display:grid; grid-template-columns:260px minmax(0,1fr); gap:clamp(40px,5vw,80px); align-items:start; }
}
.etx-toc{ margin:0 0 32px; }
@media (min-width:1100px){ .etx-toc{ position:sticky; top:96px; } }
.etx-toc details{ border-radius:15px; background:var(--etx-tint); padding:18px 22px; }
.etx-toc summary{ cursor:pointer; list-style:none; color:var(--skx-lime); font:400 12px/1.4 var(--skx-sub); letter-spacing:.16em; text-transform:uppercase; }
.etx-toc summary::-webkit-details-marker{ display:none; }
.etx-toc ol{ margin:14px 0 0; padding:0; list-style:none; display:flex; flex-direction:column; gap:2px; max-height:calc(100vh - 220px); overflow:auto; }
.etx-toc a{ display:block; padding:6px 0 6px 12px; border-left:2px solid transparent; text-decoration:none; color:rgba(38,38,38,.78)!important; font-size:14px; line-height:1.45; }
.etx-toc a:hover, .etx-toc a.is-current{ color:var(--skx-dark)!important; border-left-color:var(--skx-lime); }

/* prose: skx-ind paragraph scale, comfortable measure */
.etx-prose{ max-width:760px; color:var(--etx-text); font-weight:300; font-size:clamp(16px,1.25vw,18.5px); line-height:1.78; letter-spacing:.2px; }
.etx-prose > *:first-child{ margin-top:0; }
.etx-prose p{ margin:0 0 1.15em; }
.etx-prose h2{ margin:2.1em 0 .7em; color:var(--skx-dark); font-family:var(--skx-display); font-weight:500; font-size:clamp(24px,2.5vw,34px); line-height:1.18; letter-spacing:-.01em; scroll-margin-top:110px; }
.etx-prose h3{ margin:1.8em 0 .5em; color:var(--skx-dark); font-family:var(--skx-display); font-weight:500; font-size:clamp(19px,1.7vw,23px); line-height:1.3; }
.etx-prose strong{ font-weight:500; color:var(--skx-ink); }
.etx-prose a{ color:var(--skx-dark); text-decoration:underline; text-decoration-thickness:1px; }
.etx-prose a:hover{ color:var(--skx-lime); }
.etx-prose ul, .etx-prose ol{ margin:0 0 1.3em; padding-left:0; list-style:none; }
.etx-prose ul li{ position:relative; padding-left:26px; margin:0 0 .55em; }
.etx-prose ul li::before{ content:""; position:absolute; left:2px; top:.66em; width:9px; height:9px; border-radius:50%; background:var(--skx-lime); }
.etx-prose ol{ counter-reset:o; }
.etx-prose ol li{ counter-increment:o; position:relative; padding-left:38px; margin:0 0 .6em; }
.etx-prose ol li::before{ content:counter(o); position:absolute; left:0; top:.1em; width:26px; height:26px; border-radius:50%; background:var(--etx-tint); color:var(--skx-dark); font:500 13px/26px var(--skx-body); text-align:center; }
.etx-prose mark{ background:#fde9a8; color:#3a2a00; padding:0 4px; border-radius:3px; }

/* key answer (AEO): card tint + Merlot rule */
.etx-key{ margin:0 0 2em; padding:clamp(20px,2.4vw,30px) clamp(22px,2.6vw,34px); border-radius:15px; background:var(--etx-tint); border-left:4px solid var(--skx-dark); }
.etx-key__label{ margin:0 0 8px!important; color:var(--skx-lime); font:400 12px/1.4 var(--skx-sub); letter-spacing:.18em; text-transform:uppercase; }
.etx-key__text{ margin:0!important; color:var(--skx-ink); font-weight:400; font-size:clamp(17px,1.4vw,20px); line-height:1.65; }

/* inline CTA (from content) */
.etx-inline-cta{ margin:2em 0; padding:clamp(20px,2.4vw,28px); border-radius:15px; background:var(--skx-dark); color:rgba(252,248,240,.86); }
.etx-inline-cta p{ margin:0 0 .6em; }
.etx-inline-cta p:last-child{ margin-bottom:0; }
.etx-inline-cta strong{ color:var(--skx-beige); }
.etx-inline-cta a{ color:var(--skx-beige)!important; }

/* tables */
.etx-table{ margin:1.6em 0 2em; overflow-x:auto; -webkit-overflow-scrolling:touch; border-radius:15px; box-shadow:inset 0 0 0 1px var(--etx-rule); background:#fff; }
.etx-table table{ width:100%; min-width:560px; border-collapse:collapse; font-size:15px; line-height:1.55; }
.etx-table th{ background:var(--skx-dark); color:var(--skx-beige); text-align:left; font-weight:500; padding:12px 16px; font-size:14px; letter-spacing:.02em; }
.etx-table td{ padding:12px 16px; border-top:1px solid var(--etx-rule); vertical-align:top; color:var(--skx-ink); }
.etx-table tr:nth-child(even) td{ background:rgba(84,9,16,.025); }

/* people */
.etx-people{ padding-top:0; }
.etx-people__grid{ display:grid; gap:20px; }
@media (min-width:800px){ .etx-people__grid{ grid-template-columns:repeat(2,minmax(0,1fr)); max-width:1080px; } }
.etx-person{ display:flex; gap:18px; align-items:flex-start; padding:24px; border-radius:15px; background:var(--etx-tint); }
.etx-blog .etx-person__img{ width:72px; height:72px; border-radius:50%; object-fit:cover; flex:none; }
.etx-person .etx-eyebrow{ margin-bottom:8px; font-size:12px; }
.etx-person__name{ margin:0; font-family:var(--skx-display); font-weight:500; font-size:20px; color:var(--skx-dark); }
.etx-person__role{ margin:2px 0 6px; font-size:14px; color:rgba(38,38,38,.7); }
.etx-person__bio{ margin:0; font-weight:300; font-size:15px; line-height:1.6; color:var(--etx-text); }

@media (prefers-reduced-motion:reduce){ .etx-blog *{ transition:none!important; } }
