.etm-post{
  --ink:#062f43;
  --muted:#506578;
  --yellow:#ffcf00;
  --green:#e5efcb;
  --blue:#e0f4f8;
  --line:#dce5e8;
  --header-offset:90px;
  color:var(--ink);
  background:#fff;
  font-family:var(--autowp-font-body),sans-serif;
  font-size:17px;
  font-weight:400;
  line-height:1.8;
}

.etm-post,
.etm-post *,
.etm-post *::before,
.etm-post *::after{box-sizing:border-box}

.etm-post [hidden]{display:none!important}

.etm-post :where(strong,b){font-weight:400}

.etm-post :where(input,select,textarea,button){
  font-family:var(--autowp-font-body),sans-serif;
  font-weight:400;
}

.etm-post .ep-wrap{
  width:min(1160px,calc(100% - 40px));
  margin-inline:auto;
}

.etm-post :is(h1,h2,h3,h4,h5,h6){
  font-family:var(--autowp-font-heading),sans-serif;
  font-weight:600;
  color:var(--ink);
  line-height:1.17;
  letter-spacing:-.02em;
}

.etm-post :is(h1,h2,h3,h4,h5,h6) *{
  font-family:inherit;
  font-weight:inherit;
}

.etm-post h1{
  font-size:clamp(36px,4.5vw,60px);
  margin:14px 0 22px;
}

.etm-post h2{
  font-size:clamp(27px,3vw,36px);
  margin:0 0 20px;
}

.etm-post h3{font-size:23px;margin:0 0 10px}
.etm-post p{margin:0 0 18px}
.etm-post a{color:var(--ink);text-underline-offset:4px}

.etm-post a:focus-visible,
.etm-post summary:focus-visible{
  outline:3px solid #236c8b;
  outline-offset:5px;
}

.etm-post mark{
  background:var(--yellow);
  color:inherit;
  padding:0 .12em;
  border-radius:8px;
}

.etm-post .ep-eyebrow{
  display:block;
  font-size:12px;
  font-weight:400;
  letter-spacing:.12em;
  text-transform:uppercase;
  margin-bottom:12px;
}

.etm-post .ep-hero{
  background:var(--green);
  padding:64px 0 70px;
  border-radius:0 0 65px 65px;
}

.etm-post .ep-hero-grid{
  display:grid;
  grid-template-columns:1.05fr 1fr;
  gap:50px;
  align-items:center;
}

.etm-post .ep-lead{
  font-size:19px;
  line-height:1.65;
  max-width:54ch;
}

.etm-post .ep-meta{
  font-size:13px;
  color:var(--muted);
  margin:0;
}

.etm-post .ep-photo{
  margin:0;
  position:relative;
  min-width:0;
}

.etm-post .ep-photo::before{
  content:"";
  position:absolute;
  inset:12px -10px -12px 10px;
  background:var(--yellow);
  border-radius:28px;
  transform:rotate(3deg);
}

.etm-post .ep-photo img{
  position:relative;
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:26px;
}

.etm-post .ep-photo figcaption{
  position:relative;
  margin:-28px 20px 0;
  padding:14px 18px;
  background:#fff;
  border-radius:16px;
  font-size:14px;
  font-weight:400;
  box-shadow:0 8px 20px #062f4310;
}

.etm-post .ep-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:60px;
  align-items:start;
  padding-block:56px 70px;
}

.etm-post .ep-article{
  grid-column:1;
  grid-row:1;
  min-width:0;
}

.etm-post .ep-article section{
  margin-bottom:42px;
  scroll-margin-top:calc(var(--header-offset) + 24px);
}

.etm-post .ep-summary{
  padding:26px 30px;
  background:var(--blue);
  border-radius:24px;
  margin-bottom:40px;
  border-left:5px solid var(--ink);
}

.etm-post .ep-summary p:last-child,
.etm-post .ep-note p:last-child{
  margin-bottom:0;
}

.etm-post .ep-checks{
  padding-left:23px;
  margin:18px 0;
}

.etm-post .ep-checks li{
  margin-bottom:8px;
  padding-left:5px;
}

.etm-post .ep-checks li::marker{color:#35673a}

.etm-post .ep-steps{
  list-style:none;
  padding:0;
  margin:24px 0;
  counter-reset:ep-step;
}

.etm-post .ep-steps li{
  counter-increment:ep-step;
  position:relative;
  padding:22px 24px 22px 78px;
  margin-bottom:14px;
  border:1px solid var(--line);
  border-radius:20px;
  background:#fff;
}

.etm-post .ep-steps li::before{
  content:counter(ep-step,decimal-leading-zero);
  position:absolute;
  left:20px;
  top:22px;
  display:grid;
  place-items:center;
  width:40px;
  height:40px;
  background:var(--yellow);
  border-radius:14px;
  font-weight:400;
  font-size:16px;
}

.etm-post .ep-steps p{margin:0}

.etm-post .ep-note{
  background:#fff3de;
  padding:24px;
  border-radius:20px;
}

.etm-post .ep-pair{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.etm-post .ep-pair>div{
  padding:23px;
  background:#f0dfff;
  border-radius:20px;
}

.etm-post .ep-pair>div+div{background:var(--green)}
.etm-post .ep-pair p{margin:0}

.etm-post .ep-faq details{
  border-bottom:1px solid var(--line);
  padding:18px 0;
}

.etm-post .ep-faq summary{
  cursor:pointer;
  font-weight:400;
  padding-right:12px;
}

.etm-post .ep-faq details p{margin:14px 0 0}

.etm-post .ep-cta{
  background:var(--blue);
  border-radius:26px;
  padding:30px;
}

.etm-post .ep-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  min-height:46px;
  padding:12px 22px;
  background:var(--yellow);
  color:var(--ink);
  border-radius:99px;
  font-family:var(--autowp-font-body),sans-serif;
  font-size:15px;
  font-weight:400;
  text-decoration:none;
  line-height:1.4;
}

.etm-post .ep-button:hover{background:#ffdc40}

.etm-post .ep-sources{
  border-top:1px solid var(--line);
  padding-top:22px;
  font-size:13px;
}

.etm-post .ep-sources ul{padding-left:18px}

.etm-post .ep-sidebar{
  grid-column:2;
  grid-row:1;
  position:sticky;
  top:var(--ep-sticky-top,var(--header-offset));
  align-self:start;
  min-width:0;
  height:auto;
  max-height:none;
  overflow:visible;
}

.etm-post .ep-toc{
  padding:23px;
  background:#f6f8ed;
  border:1px solid #e1e7d6;
  border-radius:24px;
}

.etm-post .ep-toc summary{
  font-size:18px;
  font-weight:400;
  cursor:pointer;
}

.etm-post .ep-toc ol{
  list-style:none;
  padding:0;
  margin:16px 0 0;
  counter-reset:ep-index;
}

.etm-post .ep-toc li{counter-increment:ep-index}

.etm-post .ep-toc a{
  display:flex;
  gap:10px;
  padding:9px 10px;
  border-radius:10px;
  font-size:14px;
  line-height:1.4;
  text-decoration:none;
}

.etm-post .ep-toc a::before{
  content:counter(ep-index,decimal-leading-zero);
  font-weight:400;
}

.etm-post .ep-toc a:hover,
.etm-post .ep-toc a[aria-current="location"]{
  background:var(--yellow);
}

.etm-post .ep-banner{
  margin-top:18px;
  padding:24px;
  background:var(--ink);
  color:#fff;
  border-radius:24px;
}

.etm-post .ep-banner strong{
  display:block;
  font-family:var(--autowp-font-heading),sans-serif;
  font-size:27px;
  font-weight:600;
  line-height:1.15;
  margin-bottom:12px;
}

.etm-post .ep-banner strong *{
  font-family:inherit;
  font-weight:inherit;
}

.etm-post .ep-banner p{
  font-size:14px;
  line-height:1.6;
}

.etm-post .ep-banner .ep-eyebrow{
  color:var(--yellow);
  font-size:10px;
}

.etm-post .ep-progress{
  position:fixed;
  z-index:9999;
  left:0;
  right:0;
  top:0;
  height:5px;
  background:#dce5e8;
  pointer-events:none;
}

.etm-post .ep-progress-fill{
  display:block;
  width:100%;
  height:100%;
  background:var(--yellow);
  transform:scaleX(0);
  transform-origin:left;
}

.etm-post .ep-progress-label{
  position:absolute;
  right:16px;
  top:12px;
  background:var(--ink);
  color:#fff;
  border-radius:99px;
  padding:5px 11px;
  font-size:11px;
  font-weight:400;
  line-height:1.4;
}

@media(max-width:960px){
  .etm-post .ep-layout{
    grid-template-columns:minmax(0,1fr) 260px;
    gap:30px;
  }

  .etm-post .ep-hero-grid{gap:28px}
}

@media(max-width:780px){
  .etm-post .ep-hero{
    padding:38px 0 44px;
    border-radius:0 0 32px 32px;
  }

  .etm-post .ep-hero-grid{grid-template-columns:1fr}
  .etm-post .ep-hero-copy{text-align:center}
  .etm-post .ep-lead{margin-inline:auto}

  .etm-post .ep-photo{
    width:min(100% - 12px,520px);
    margin:8px auto 0;
  }

  .etm-post .ep-layout{
    display:flex;
    flex-direction:column;
    gap:28px;
    padding-block:30px 45px;
  }

  .etm-post .ep-sidebar{
    position:static;
    width:100%;
    order:-1;
  }

  .etm-post .ep-toc{padding:20px}

  .etm-post .ep-toc ol{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:4px;
  }

  .etm-post .ep-banner{display:none}
  .etm-post .ep-summary{padding:22px}
}

@media(max-width:480px){
  .etm-post .ep-wrap{width:calc(100% - 32px)}
  .etm-post .ep-pair{grid-template-columns:1fr}
  .etm-post .ep-toc ol{grid-template-columns:1fr}

  .etm-post .ep-steps li{padding:70px 20px 22px}
  .etm-post .ep-steps li::before{top:18px}
  .etm-post .ep-cta{padding:24px}
}

@media print{
  .etm-post .ep-progress,
  .etm-post .ep-sidebar{display:none!important}

  .etm-post .ep-layout{display:block}
  .etm-post .ep-hero{padding:20px 0}
}
.etm-post .ep-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 6px;
  margin: 0;
  padding: 0;
  background: #e0f4f8;
  z-index: 99999;
  pointer-events: none;
}

.etm-post .ep-progress[hidden] {
  display: none;
}

.etm-post .ep-progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: #ffcf00;
  transform: scaleX(0);
  transform-origin: left center;
}

.etm-post .ep-progress-label {
  position: absolute;
  top: 12px;
  right: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #062f43;
  color: #fff;
  font-family: "Nunito", sans-serif;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}
/* Enlaces dentro del texto del artículo */
.etm-post .ep-article section :is(p, li) a:not(.ep-button){
  color:var(--ink);
  text-decoration:underline;
  text-decoration-color:var(--yellow);
  text-decoration-thickness:3px;
  text-underline-offset:4px;
  border-radius:3px;
  box-decoration-break:clone;
  -webkit-box-decoration-break:clone;
  transition:background .2s;
}

.etm-post .ep-article section :is(p, li) a:not(.ep-button):hover{
  background:var(--yellow);
}