/* TEJIDOTECA · Cáñamo 1.0.2
   Article: light editorial surface. Fiche note: its existing dark surface.
   Only package classes are targeted; no global body/header/footer/theme reset. */
.tjhc-article,.tjhc-admin-preview{
 --tjhc-text:#292929;--tjhc-heading:#161616;--tjhc-link:#b00060;
 --tjhc-link-hover:#790040;--tjhc-focus:#b00060;--tjhc-muted:#626262;
 --tjhc-border:#dedade;--tjhc-surface:#ffffff;--tjhc-panel:#f7f6f7;
 --tjhc-highlight:#fff2f8;--tjhc-accent:#b00060;--tjhc-brand:#e6007e;
 color-scheme:light;
}
.tjhc-ficha-note{
 --tjhc-text:#ece7ea;--tjhc-heading:#ffffff;--tjhc-link:#ff86c2;
 --tjhc-link-hover:#ffd9ec;--tjhc-focus:#ffd9ec;--tjhc-muted:#d6cbd1;
 --tjhc-surface:#20191d;--tjhc-brand:#e6007e;
 color-scheme:dark;
}
.tjhc-article,.tjhc-ficha-note,.tjhc-admin-preview{box-sizing:border-box;font-family:Abel,Arial,sans-serif;color:var(--tjhc-text);font-size:19px;line-height:1.58;text-align:left;overflow-wrap:break-word}
.tjhc-article *,.tjhc-ficha-note *{box-sizing:border-box;min-width:0}
.tjhc-article{width:100%;max-width:100%;margin:0;padding:clamp(20px,3vw,40px);background:var(--tjhc-surface);border:1px solid var(--tjhc-border)}
.tjhc-article p,.tjhc-ficha-note p{font-family:Abel,Arial,sans-serif!important;font-size:19px!important;line-height:1.58!important;font-weight:400!important;margin:0 0 16px!important;padding:0!important;color:inherit!important;text-align:left!important;max-width:76ch}
.tjhc-article strong,.tjhc-ficha-note strong{font-weight:700}
.tjhc-article h2,.tjhc-article h3,.tjhc-ficha-note h2{font-family:Oswald,'Arial Narrow',Arial,sans-serif!important;font-weight:500!important;color:var(--tjhc-heading)!important;text-align:left!important;letter-spacing:0!important;padding:0!important;overflow-wrap:normal;word-break:normal}
.tjhc-article h2,.tjhc-ficha-note h2{font-size:clamp(25px,2.4vw,34px)!important;line-height:1.25!important;margin:0 0 20px!important}
.tjhc-article h3{font-size:24px!important;line-height:1.3!important;margin:26px 0 12px!important}
.tjhc-article a,.tjhc-ficha-note a{color:var(--tjhc-link)!important;text-decoration:underline!important;text-underline-offset:3px;overflow-wrap:anywhere}
.tjhc-article a:hover,.tjhc-ficha-note a:hover{color:var(--tjhc-link-hover)!important}
.tjhc-article a:focus-visible,.tjhc-ficha-note a:focus-visible{outline:2px solid var(--tjhc-focus);outline-offset:4px}
.tjhc-article .tjhc-kicker{font-family:Oswald,'Arial Narrow',Arial,sans-serif!important;font-size:14px!important;line-height:1.4!important;letter-spacing:.08em!important;color:var(--tjhc-accent)!important}
.tjhc-article .tjhc-lead{font-size:22px!important;line-height:1.5!important;max-width:67ch}
.tjhc-article .tjhc-takeaway,.tjhc-article .tjhc-warning,.tjhc-article .tjhc-closing{padding:24px;margin:24px 0;background:var(--tjhc-highlight);border-left:4px solid var(--tjhc-brand)}
.tjhc-article .tjhc-takeaway p:last-child,.tjhc-article .tjhc-warning p:last-child,.tjhc-article .tjhc-closing p:last-child{margin-bottom:0!important}
.tjhc-article > section{margin-top:36px;padding-top:30px;border-top:1px solid var(--tjhc-border);scroll-margin-top:160px}
.tjhc-article [id]{scroll-margin-top:160px}
.tjhc-article .tjhc-toc{padding:20px 0;margin:28px 0;border-top:1px solid var(--tjhc-border);border-bottom:1px solid var(--tjhc-border);font-size:17px}
.tjhc-article .tjhc-toc > strong{font-family:Oswald,Arial,sans-serif;font-weight:500;font-size:16px;display:block;margin-bottom:12px}
.tjhc-article .tjhc-toc > div{display:flex;flex-wrap:wrap;gap:12px 22px}
.tjhc-article .tjhc-cites{white-space:normal;font-size:14px;line-height:1.2;display:inline}
.tjhc-article .tjhc-cites a{display:inline-block;padding:0 3px;white-space:nowrap}
.tjhc-article .tjhc-comparison{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0}
.tjhc-article .tjhc-comparison > div{padding:22px;border:1px solid var(--tjhc-border);background:var(--tjhc-panel)}
.tjhc-article .tjhc-comparison .tjhc-card-tag{font-family:Oswald,Arial,sans-serif!important;font-size:15px!important;color:var(--tjhc-accent)!important;margin:0 0 12px!important}
.tjhc-article .tjhc-comparison h3{margin:0 0 12px!important}
.tjhc-article .tjhc-comparison p:last-child{margin-bottom:0!important}
.tjhc-article .tjhc-process{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:26px 0;padding:0;list-style:none}
.tjhc-article .tjhc-process > div{padding:20px;border-top:3px solid var(--tjhc-brand);background:var(--tjhc-panel)}
.tjhc-article .tjhc-process strong{display:block;font-family:Oswald,Arial,sans-serif;font-size:24px;font-weight:500;margin-bottom:8px}
.tjhc-article .tjhc-process span{display:block;font-family:Oswald,Arial,sans-serif;color:var(--tjhc-accent);font-size:16px;margin-bottom:8px}
.tjhc-article .tjhc-process p{font-size:17px!important;margin-bottom:0!important}
.tjhc-article .tjhc-figure{max-width:480px;margin:24px auto 32px!important;padding:0;text-align:center}
.tjhc-article .tjhc-figure .tjhc-original-image{display:block;width:100%;height:auto!important;max-width:100%;object-fit:contain}
.tjhc-article .tjhc-figure figcaption{font-family:Abel,Arial,sans-serif;color:var(--tjhc-muted);line-height:1.5;font-size:15px;padding-top:12px}
.tjhc-article .tjhc-small,.tjhc-ficha-note .tjhc-small{font-size:16px!important;color:var(--tjhc-muted)!important;line-height:1.5!important}
.tjhc-article .tjhc-sources ol{padding-left:24px!important;margin:16px 0 0!important}
.tjhc-article .tjhc-sources li{font-size:16px;line-height:1.5;padding-left:4px;margin-bottom:14px;color:var(--tjhc-muted)}
.tjhc-ficha-note{width:100%;margin:28px 0;padding:24px;border-left:4px solid var(--tjhc-brand);background:var(--tjhc-surface)}
.tjhc-article .tjhc-text-link,.tjhc-ficha-note .tjhc-text-link{font-weight:700}
.tjhc-admin-preview{max-width:1180px;margin:20px 0;padding:24px;background:var(--tjhc-surface)}
.tjhc-admin-preview > h1{font-family:Oswald,Arial,sans-serif;color:var(--tjhc-heading);font-size:38px;line-height:1.2}
/* Only the package article gets a white content canvas, not other entries or fiches. */
body.tjhc-article-page #main-content{background:#ffffff!important;color:#292929}
body.tjhc-article-page #main-content h1.entry-title{font-family:Oswald,Arial,sans-serif!important;font-weight:500!important;line-height:1.18!important;font-size:clamp(32px,3.5vw,48px)!important;text-align:left!important;color:#161616!important}
body.tjhc-article-page #main-content .post-meta{color:#626262!important}
body.tjhc-article-page #main-content .post-meta a{color:#b00060!important}
/* Keep the original inside the article without a second standard featured image. */
body.tjhc-article-page #main-content .et_pb_title_featured_container,
body.tjhc-article-page #main-content .et_post_meta_wrapper > img{display:none!important}
.tjhc-article .tjhc-note{padding:22px;border:1px solid var(--tjhc-border);margin:24px 0;background:var(--tjhc-panel)}
.tjhc-article .tjhc-note > strong{display:block;font-family:Oswald,Arial,sans-serif;font-size:17px;font-weight:500;color:var(--tjhc-accent);margin-bottom:12px}
.tjhc-article .tjhc-note p:last-child{margin-bottom:0!important}
@media(max-width:767px){
 .tjhc-article{padding:20px 16px}
 .tjhc-article p,.tjhc-ficha-note p{font-size:18px!important}
 .tjhc-article .tjhc-lead{font-size:20px!important}
 .tjhc-article .tjhc-comparison,.tjhc-article .tjhc-process{grid-template-columns:1fr}
 .tjhc-article .tjhc-comparison > div{padding:18px}
 .tjhc-article .tjhc-takeaway,.tjhc-article .tjhc-warning,.tjhc-article .tjhc-closing,.tjhc-ficha-note{padding:18px}
 .tjhc-article h3{font-size:22px!important}
 .tjhc-article .tjhc-toc > div{flex-direction:column;gap:12px}
 .tjhc-article > section{margin-top:30px;padding-top:24px}
}
@media(prefers-reduced-motion:reduce){.tjhc-article *{scroll-behavior:auto!important}}
@media print{
 .tjhc-article,.tjhc-ficha-note{background:#fff!important;color:#111!important;border-color:#aaa}
 .tjhc-article h2,.tjhc-article h3,.tjhc-ficha-note h2,.tjhc-article p,.tjhc-ficha-note p{color:#111!important}
 .tjhc-article .tjhc-takeaway,.tjhc-article .tjhc-warning,.tjhc-article .tjhc-closing,.tjhc-article .tjhc-comparison > div,.tjhc-article .tjhc-process > div,.tjhc-article .tjhc-note{background:#f4f4f4!important;color:#111!important}
 .tjhc-article a,.tjhc-ficha-note a{color:#111!important}
 .tjhc-article .tjhc-toc{display:none}
}

/* 1.0.2 — Contrast fix for the dark hemp clarification only.
   Divi/site link rules may use !important with ID selectors. Match the exact
   block with stronger specificity so a later global black hover cannot win.
   The short selector also supports the admin preview, which has no page-container.
   The light article, other fiches, header/footer and print remain unchanged. */
@media screen {
 #tjhc-canamo-aclaracion.tjhc-ficha-note a[href],
 #page-container #main-content #tjhc-canamo-aclaracion.tjhc-ficha-note a[href],
 #tjhc-canamo-aclaracion.tjhc-ficha-note a[href]:visited,
 #page-container #main-content #tjhc-canamo-aclaracion.tjhc-ficha-note a[href]:visited {
  color:#ff86c2!important;
  -webkit-text-fill-color:currentColor!important;
  text-decoration-color:currentColor!important;
 }
 #tjhc-canamo-aclaracion.tjhc-ficha-note a[href]:is(:hover,:focus,:active),
 #page-container #main-content #tjhc-canamo-aclaracion.tjhc-ficha-note a[href]:is(:hover,:focus,:active) {
  color:#ffd9ec!important;
  -webkit-text-fill-color:currentColor!important;
  text-decoration-color:currentColor!important;
 }
 #tjhc-canamo-aclaracion.tjhc-ficha-note a[href] :is(span,strong,b,em,i,small),
 #page-container #main-content #tjhc-canamo-aclaracion.tjhc-ficha-note a[href] :is(span,strong,b,em,i,small) {
  color:inherit!important;
  -webkit-text-fill-color:currentColor!important;
  text-decoration-color:currentColor!important;
 }
 #tjhc-canamo-aclaracion.tjhc-ficha-note a[href]:focus-visible,
 #page-container #main-content #tjhc-canamo-aclaracion.tjhc-ficha-note a[href]:focus-visible {
  outline:2px solid #ffd9ec!important;
  outline-offset:4px!important;
 }
}
