.tutorial-detail { background: var(--ivory); }

.breadcrumbs {
  width: min(var(--max), calc(100% - 40px));
  margin: 24px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--cocoa);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
}

.breadcrumbs a { text-underline-offset: 4px; }

.article-hero {
  width: min(var(--max), calc(100% - 40px));
  min-height: 560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, .94fr) minmax(0, 1.06fr);
  overflow: hidden;
  background: #E7CFC6;
  box-shadow: var(--shadow);
}

.article-hero-copy {
  align-self: center;
  padding: clamp(46px, 5vw, 72px);
}

.article-hero h1 {
  margin-bottom: 24px;
  font-size: clamp(2.65rem, 4.7vw, 4.25rem);
}

.article-lead { max-width: 560px; margin: 0 0 26px; font-size: 1.03rem; }

.article-byline {
  margin: 0;
  color: var(--cocoa);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .05em;
}

.prerequisite-link {
  max-width: 470px;
  margin-top: 22px;
  padding: 14px 16px;
  display: block;
  color: var(--charcoal);
  background: rgba(247, 241, 236, .62);
  border-left: 3px solid var(--copper);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}

.prerequisite-link span {
  margin-right: 7px;
  color: var(--cocoa);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.prerequisite-link:hover,
.prerequisite-link:focus-visible { background: var(--ivory); }

.article-hero-media { min-height: 560px; margin: 0; overflow: hidden; background: var(--taupe); }

.article-hero-media img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: 50% 46%;
  filter: saturate(.85) contrast(.97);
}

.quick-facts {
  width: min(var(--max), calc(100% - 40px));
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--paper);
  border: 1px solid var(--line);
}

.quick-facts div { padding: 19px 22px; }
.quick-facts div + div { border-left: 1px solid var(--line); }

.quick-facts dt {
  color: var(--cocoa);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.quick-facts dd { margin: 4px 0 0; font-size: .82rem; font-weight: 600; }

.article-shell { width: min(980px, calc(100% - 40px)); margin: 0 auto; }

.article-section { padding: 88px 0; border-bottom: 1px solid var(--line); }
.compact-heading { max-width: 720px; margin-bottom: 38px; }
.compact-heading > p:last-child { margin-bottom: 0; }

.materials {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.materials li {
  min-height: 150px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border-top: 3px solid var(--copper);
}

.materials span { color: var(--cocoa); font-family: var(--serif); font-size: 1.15rem; }
.materials strong { margin-top: auto; font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.materials small { margin-top: 4px; color: var(--cocoa); font-size: .78rem; line-height: 1.45; }

.safety-note {
  margin-top: 24px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 24px;
  color: var(--ivory);
  background: var(--cocoa);
}

.safety-note strong { font-family: var(--serif); font-size: 1.1rem; font-weight: 500; }
.safety-note span { align-self: center; font-size: .8rem; }

.step-block {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
}

.step-block + .step-block { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--line); }
.step-block-reverse { grid-template-columns: minmax(0, 1.22fr) minmax(280px, .78fr); }
.step-block-reverse .step-copy { grid-column: 2; }
.step-block-reverse .step-media { grid-row: 1; grid-column: 1; }

.step-number {
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  display: inline-grid;
  place-items: center;
  color: var(--ivory);
  background: var(--cocoa);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: .9rem;
}

.step-copy h3 { margin-bottom: 10px; font-size: 1.45rem; }
.step-copy p { margin: 0 0 22px; }

.key-rule {
  padding: 14px 16px;
  color: var(--cocoa);
  background: #F3E7D9;
  border-left: 3px solid var(--copper);
  font-size: .82rem;
  font-weight: 600;
}

.visual-check {
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.visual-check li {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: .76rem;
  font-weight: 600;
}

.step-media { margin: 0; position: relative; overflow: hidden; background: #F2E6D8; }

.step-media > img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: saturate(.84) contrast(.97);
}

.diagram-media > img { aspect-ratio: 5 / 3; object-fit: contain; filter: none; }

.step-media figcaption {
  padding: 12px 15px;
  color: var(--cocoa);
  background: var(--paper);
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.45;
}

.step-media figcaption span {
  width: 22px;
  height: 22px;
  margin: 0 4px 0 8px;
  display: inline-grid;
  place-items: center;
  color: var(--ivory);
  background: var(--cocoa);
  border-radius: 50%;
  font-family: var(--serif);
}

.step-media figcaption span:first-child { margin-left: 0; }

.media-pin {
  width: 34px;
  height: 34px;
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  color: var(--ivory);
  background: rgba(59, 46, 40, .94);
  border: 2px solid var(--ivory);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: .8rem;
}

.pin-parting { top: 16%; left: 46%; }
.pin-strands { top: 46%; left: 56%; }
.add-source-pin { top: 43%; left: 22%; }
.add-target-pin { top: 36%; left: 53%; }

.direction-overlay {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  position: absolute;
  z-index: 2;
  inset: 0 0 auto;
  filter: drop-shadow(0 2px 3px rgba(47, 41, 39, .45));
  pointer-events: none;
}

.errors-section { border-bottom: 0; }

.errors-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.errors-grid article { padding: 24px; background: var(--paper); border-left: 3px solid var(--copper); }
.errors-grid h3 { margin-bottom: 9px; font-size: 1.2rem; }
.errors-grid p { margin: 0; font-size: .82rem; }

.article-footer {
  margin-bottom: 88px;
  padding: 30px;
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 50px;
  background: #F3E7D9;
}

.article-footer strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; }
.article-footer p:not(.eyebrow) { margin: 7px 0 0; font-size: .82rem; }

.sources a {
  display: block;
  margin: 8px 0;
  color: var(--cocoa);
  font-size: .8rem;
  font-weight: 600;
  text-underline-offset: 4px;
}

.article-next {
  color: var(--ivory);
  background: var(--cocoa);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.article-next-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.article-next a {
  min-height: 170px;
  padding: clamp(30px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}

.article-next a + a { border-left: 1px solid rgba(247, 241, 236, .30); }
.article-next a:hover,
.article-next a:focus-visible { color: var(--charcoal); background: var(--blush); }
.article-next a:focus-visible { outline-color: var(--ivory); outline-offset: -6px; }
.article-next span { margin-bottom: 5px; font-size: .67rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.article-next strong { font-family: var(--serif); font-size: 1.55rem; font-weight: 500; }

@media (max-width: 900px) {
  .article-hero { grid-template-columns: 1fr; }
  .article-hero-media,
  .article-hero-media img { min-height: 440px; }
  .quick-facts { grid-template-columns: 1fr 1fr; }
  .quick-facts div:nth-child(3) { border-top: 1px solid var(--line); border-left: 0; }
  .quick-facts div:nth-child(4) { border-top: 1px solid var(--line); }
  .materials { grid-template-columns: 1fr 1fr; }
  .article-next-three { grid-template-columns: 1fr; }
  .article-next-three a + a { border-top: 1px solid rgba(247, 241, 236, .30); border-left: 0; }
}

@media (max-width: 760px) {
  .step-block,
  .step-block-reverse { grid-template-columns: 1fr; gap: 28px; }
  .step-block .step-media,
  .step-block-reverse .step-media { grid-row: 1; grid-column: 1; }
  .step-block .step-copy,
  .step-block-reverse .step-copy { grid-row: 2; grid-column: 1; }
  .safety-note,
  .article-footer { grid-template-columns: 1fr; gap: 16px; }
  .errors-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .breadcrumbs,
  .article-hero,
  .quick-facts,
  .article-shell { width: min(var(--max), calc(100% - 28px)); }
  .breadcrumbs { margin-top: 17px; }
  .article-hero-copy { padding: 38px 24px 42px; }
  .article-hero h1 { font-size: 2.45rem; }
  .article-hero-media,
  .article-hero-media img { min-height: 320px; }
  .quick-facts { grid-template-columns: 1fr; }
  .quick-facts div + div,
  .quick-facts div:nth-child(3),
  .quick-facts div:nth-child(4) { border-top: 1px solid var(--line); border-left: 0; }
  .article-section { padding: 64px 0; }
  .materials { grid-template-columns: 1fr 1fr; }
  .materials li { min-height: 135px; padding: 18px; }
  .step-block + .step-block { margin-top: 54px; padding-top: 54px; }
  .article-footer { margin-bottom: 64px; padding: 24px; }
  .article-next { grid-template-columns: 1fr; }
  .article-next a { min-height: 130px; padding: 28px; }
  .article-next a + a { border-top: 1px solid rgba(247, 241, 236, .30); border-left: 0; }
}

@media (max-width: 380px) {
  .materials { grid-template-columns: 1fr; }
}

/* =============================================================================
   Capa de contenido nativo (entradas y páginas) · v0.7.0
   Estiliza el marcado estándar de WordPress con la identidad AC Trenzas Studio.
   ========================================================================== */
.site-main{display:block;max-width:1080px;margin:0 auto;padding:2rem 1.25rem 4rem}
.breadcrumbs{font-family:"Figtree",system-ui,sans-serif;font-size:.78rem;letter-spacing:.08em;text-transform:uppercase;margin:0 0 2rem}
.breadcrumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:.4rem;margin:0;padding:0}
.breadcrumbs li{display:flex;align-items:center;gap:.4rem;color:#9A8578}
.breadcrumbs li+li::before{content:"/";color:#E7CFC6}
.breadcrumbs a{color:#B06F65;text-decoration:none}
.breadcrumbs a:hover,.breadcrumbs a:focus{text-decoration:underline}
.breadcrumbs [aria-current="page"]{color:#5F4334}
article.post,article.page{max-width:760px;margin:0 auto}
.entry-header{margin:0 0 1.75rem}
.entry-header .eyebrow{font-family:"Figtree",sans-serif;font-size:.8rem;letter-spacing:.16em;text-transform:uppercase;color:#B06F65;margin:0 0 .75rem}
.entry-header .eyebrow a{color:inherit;text-decoration:none}
.entry-title{font-family:"Newsreader",Georgia,serif;font-weight:600;font-size:clamp(1.9rem,4.5vw,2.9rem);line-height:1.15;color:#3B2E28;margin:0 0 .9rem}
.entry-meta{display:flex;flex-wrap:wrap;gap:.35rem 1rem;font-family:"Figtree",sans-serif;font-size:.85rem;color:#9A8578}
.entry-hero{margin:0 0 2.25rem}
.entry-hero img{width:100%;height:auto;border-radius:18px;display:block}
.entry-content{font-family:"Figtree",system-ui,sans-serif;font-size:1.02rem;line-height:1.75;color:#3B2E28}
.entry-content>*+*{margin-top:1.1rem}
.entry-content h2{font-family:"Newsreader",Georgia,serif;font-weight:600;font-size:clamp(1.4rem,3vw,1.85rem);line-height:1.25;color:#5F4334;margin-top:2.6rem}
.entry-content h3{font-family:"Figtree",sans-serif;font-weight:600;font-size:1.08rem;letter-spacing:.01em;color:#B06F65;margin-top:1.9rem}
.entry-content a{color:#B06F65;text-decoration:underline;text-underline-offset:2px}
.entry-content a:hover,.entry-content a:focus{color:#5F4334}
.entry-content ul,.entry-content ol{padding-left:1.3rem}
.entry-content li+li{margin-top:.45rem}
.entry-content li::marker{color:#B06F65}
.entry-content figure.wp-block-image{margin:2rem 0;background:#FBF5EE;border-radius:18px;overflow:hidden}
.entry-content figure.wp-block-image img{width:100%;height:auto;display:block}
.entry-content figcaption{font-size:.85rem;color:#9A8578;padding:.7rem 1rem .9rem;text-align:center}
.entry-content strong{color:#5F4334}
.entry-footer{margin-top:2.5rem;font-size:.85rem;color:#9A8578}
.post-navigation{max-width:760px;margin:3rem auto 0;font-family:"Figtree",sans-serif}
.post-navigation .nav-links{display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between}
.post-navigation a{display:block;padding:1rem 1.2rem;background:#FBF5EE;border-radius:14px;text-decoration:none;max-width:20rem}
.post-navigation .nav-subtitle{font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;color:#B06F65}
.post-navigation .nav-title{color:#3B2E28;font-weight:600}
.related-posts{max-width:760px;margin:3.5rem auto 0}
.related-posts h2{font-family:"Newsreader",Georgia,serif;color:#5F4334;font-size:1.5rem;margin-bottom:1.2rem}
.related-posts .post-grid{display:grid;gap:1.25rem;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
.ac-contact-form{margin-top:1.5rem;font-family:"Figtree",sans-serif;max-width:560px}
.ac-contact-form p{margin:0 0 1.1rem}
.ac-contact-form label{display:block;font-size:.85rem;font-weight:600;letter-spacing:.04em;color:#5F4334;margin-bottom:.35rem}
.ac-contact-form input[type="text"],.ac-contact-form input[type="email"],.ac-contact-form textarea{width:100%;padding:.75rem .9rem;border:1px solid #E0C9C0;border-radius:14px;background:#FFFDFB;font:inherit;color:#3B2E28}
.ac-contact-form input:focus,.ac-contact-form textarea:focus{outline:2px solid #B06F65;outline-offset:1px;border-color:#B06F65}
.ac-consent label{display:flex;gap:.5rem;align-items:flex-start;font-weight:400;text-transform:none;letter-spacing:0}
.ac-consent input{margin-top:.25rem}
.ac-submit{font:inherit;font-weight:600;letter-spacing:.06em;text-transform:uppercase;background:#B06F65;color:#fff;border:0;border-radius:999px;padding:.85rem 1.9rem;cursor:pointer}
.ac-submit:hover,.ac-submit:focus{background:#5F4334}
.ac-field-trap{position:absolute !important;left:-9999px !important;width:1px;height:1px;overflow:hidden}
.form-notice{padding:.9rem 1.1rem;border-radius:12px;font-family:"Figtree",sans-serif}
.form-notice-ok{background:#FBF5EE;color:#5F4334;border:1px solid #E7CFC6}
.form-notice-error{background:#fbeae8;color:#8a3a2e;border:1px solid #e0b0a6}
@media (max-width:600px){.site-main{padding:1.25rem 1rem 3rem}}
