[data-l][hidden] { display: none !important; }
html[lang="es"] [data-l="en"], html[lang="en"] [data-l="es"] { display: none !important; }
a.lnk.on { color: var(--text); }
html { scroll-padding-top: 88px; }

.blog-head { padding-top: 80px; padding-bottom: 40px; max-width: 820px; }
.blog-head h1 { font-size: clamp(44px, 6vw, 72px); }
.blog-head p { color: var(--dim); font-size: 17px; max-width: 46ch; margin-top: 14px; }

.post-list { max-width: 820px; padding-bottom: 110px; }
.post-row {
  display: grid; grid-template-columns: minmax(0, 1fr) 24px; grid-template-areas: "meta go" "body go";
  column-gap: 24px; row-gap: 10px; padding: 30px 0; border-top: 1px solid var(--border);
}
.post-row:last-child { border-bottom: 1px solid var(--border); }
.post-row__meta { grid-area: meta; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--faint); font-size: 13px; }
.post-row__meta i, .post-meta i { width: 3px; height: 3px; border-radius: 50%; background: var(--faint); }
.post-row__body { grid-area: body; }
.post-row h2 {
  font-family: var(--display); font-size: clamp(22px, 2.6vw, 28px); letter-spacing: .01em; margin: 0;
  transition: color .2s var(--ease);
}
.post-row p { color: var(--dim); font-size: 15px; line-height: 1.6; margin-top: 8px; max-width: 62ch; }
.post-row__go {
  grid-area: go; align-self: center; width: 22px; height: 22px; fill: none; stroke: var(--faint); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease), stroke .2s;
}
.post-row:hover h2 { color: var(--clay); }
.post-row:hover .post-row__go { transform: translateX(4px); stroke: var(--clay); }

.post-layout {
  display: grid; grid-template-columns: minmax(0, 700px) 210px; gap: 72px; justify-content: center;
  padding-top: 64px; padding-bottom: 110px;
}
.article { min-width: 0; }
.back { display: inline-flex; align-items: center; gap: 6px; color: var(--dim); font-size: 14px; margin-bottom: 30px; transition: color .2s; }
.back:hover { color: var(--text); }
.back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--faint); font-size: 13.5px; }
.article h1 { font-size: clamp(36px, 5vw, 54px); margin: 14px 0 18px; }
.article .lede { color: var(--dim); font-size: 18.5px; line-height: 1.6; }

.toc { position: sticky; top: 96px; align-self: start; padding-top: 118px; }
.toc__k { color: var(--faint); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.toc ol { list-style: none; border-left: 1px solid var(--border); }
.toc li a {
  display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 1px solid transparent;
  color: var(--dim); font-size: 14px; line-height: 1.4; transition: color .2s, border-color .2s;
}
.toc li a:hover { color: var(--text); }
.toc li a.on { color: var(--text); border-left-color: var(--clay); }
.toc__top { display: inline-block; margin-top: 22px; color: var(--faint); font-size: 13px; transition: color .2s; }
.toc__top:hover { color: var(--text); }

.toc-inline { display: none; margin-top: 28px; border: 1px solid var(--border); border-radius: 14px; }
.toc-inline summary { cursor: pointer; padding: 14px 16px; font-size: 14px; font-weight: 600; color: var(--dim); list-style: none; }
.toc-inline summary::-webkit-details-marker { display: none; }
.toc-inline summary::after { content: '+'; float: right; color: var(--faint); }
.toc-inline[open] summary::after { content: '−'; }
.toc-inline ol { list-style: none; padding: 0 16px 12px; }
.toc-inline li a { display: block; padding: 7px 0; color: var(--dim); font-size: 14.5px; }

@media (max-width: 1040px) {
  .post-layout { grid-template-columns: minmax(0, 700px); gap: 0; }
  .toc { display: none; }
  .toc-inline { display: block; }
}

.prose { margin-top: 40px; }
.prose h2 { font-size: clamp(24px, 3vw, 30px); margin: 56px 0 16px; }
.prose h3 { font-size: 19px; letter-spacing: .04em; margin: 32px 0 10px; }
.prose p, .prose li { color: #CFCFCF; font-size: 17px; line-height: 1.75; }
.prose p + p { margin-top: 16px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--clay); border-bottom: 1px solid rgba(217,161,132,.35); transition: border-color .2s; }
.prose a:hover { border-color: var(--clay); }
.prose ul, .prose ol { margin: 16px 0 16px 22px; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--clay); }
.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .86em;
  background: var(--raised2); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; color: var(--text);
}
.prose .code { position: relative; margin: 18px 0 22px; }
.prose .code pre { margin: 0; padding-right: 92px; }
.prose pre {
  position: relative; margin: 18px 0 22px; padding: 18px 20px; overflow-x: auto;
  background: var(--raised); border: 1px solid var(--border); border-radius: 14px;
}
.prose pre code { background: none; border: 0; padding: 0; font-size: 14px; line-height: 1.6; color: #EDEDED; white-space: pre; }
.prose .shot { display: block; width: 100%; height: auto; margin: 22px 0 26px; border: 1px solid var(--border); border-radius: 14px; }
.prose .phones { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 22px 0 26px; align-items: end; }
.prose .phones.one { grid-template-columns: minmax(0, 300px); justify-content: center; }
.prose .phones img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: 18px; }
.prose .photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 22px 0 26px; }
.prose .photos img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; border: 1px solid var(--border); border-radius: 14px; }
@media (max-width: 560px) {
  .prose .phones.one { grid-template-columns: minmax(0, 72%); }
  .prose .photos { grid-template-columns: 1fr; }
}
.copy {
  position: absolute; top: 10px; right: 10px; font-size: 12px; font-weight: 600; color: var(--dim);
  padding: 4px 10px; border: 1px solid var(--border); border-radius: 8px; background: var(--raised2);
  box-shadow: 0 0 0 9px var(--raised), -22px 0 14px 9px var(--raised);
  transition: color .2s, border-color .2s;
}
.copy:hover { color: var(--text); border-color: var(--border-hi); }
.copy.ok { color: var(--sage); border-color: var(--sage); }
.note { margin: 22px 0; padding: 16px 18px; border-left: 2px solid var(--clay); background: var(--clay-soft); border-radius: 0 12px 12px 0; }
.note p { color: var(--text); font-size: 15.5px; margin: 0; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.fact { padding: 18px 18px 18px 0; }
.fact + .fact { padding-left: 18px; border-left: 1px solid var(--border); }
.fact b { display: block; font-family: var(--display); font-size: 24px; letter-spacing: .02em; }
.fact span { display: block; margin-top: 6px; color: var(--dim); font-size: 14px; line-height: 1.5; }
@media (max-width: 640px) {
  .facts { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 14px 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--border); }
}
.steps { counter-reset: step; list-style: none; margin-left: 0 !important; }
.steps > li { counter-increment: step; position: relative; padding-left: 44px; padding-bottom: 6px; }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 3px; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--border-hi);
  font-family: var(--display); font-weight: 600; font-size: 13.5px; color: var(--clay);
}
.prose table { width: 100%; border-collapse: collapse; margin: 18px 0 22px; font-size: 15.5px; }
.prose th, .prose td { text-align: left; padding: 12px 14px 12px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { color: var(--faint); font-weight: 600; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; }
.prose td { color: #CFCFCF; }
.prose td:first-child { white-space: nowrap; }
@media (max-width: 640px) { .prose td:first-child { white-space: normal; } }

.talk { margin-top: 72px; padding-top: 36px; border-top: 1px solid var(--border); }
.talk h2 { font-size: clamp(24px, 3vw, 30px); margin: 0; }
.talk__hint { margin: 8px 0 24px; color: var(--dim); font-size: 15px; line-height: 1.6; }
.talk__off { padding: 22px; border: 1px dashed var(--border-hi); border-radius: 14px; color: var(--faint); font-size: 15px; }
.talk + .next-post { margin-top: 48px; }
.next-post {
  display: grid; grid-template-columns: minmax(0, 1fr) 22px; align-items: center; column-gap: 20px;
  margin-top: 64px; padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.next-post__k { grid-column: 1; color: var(--faint); font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.next-post__t { grid-column: 1; margin-top: 6px; font-family: var(--display); font-size: 22px; font-weight: 700; text-transform: uppercase; line-height: 1.15; transition: color .2s; }
.next-post svg { grid-column: 2; grid-row: 1 / span 2; width: 22px; height: 22px; fill: none; stroke: var(--faint); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease), stroke .2s; }
.next-post:hover .next-post__t { color: var(--clay); }
.next-post:hover svg { transform: translateX(4px); stroke: var(--clay); }
