
.thc{--thc-red:#b42632;--thc-red-dark:#951f29;--thc-ink:#22303a;--thc-muted:#66727d;--thc-line:#dde3e7;--thc-soft:#f6f7f8;color:var(--thc-ink);font-family:inherit;margin:0 0 32px}
.thc *{box-sizing:border-box}
.thc-page{display:block}
.thc-intro{display:flex;justify-content:space-between;gap:24px;align-items:flex-start;padding:30px 0 22px;border-bottom:1px solid var(--thc-line)}
.thc-intro-copy{max-width:820px}
.thc-kicker{font-size:.78rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--thc-red);margin-bottom:10px}
.thc-intro h1{font-size:clamp(1.9rem,3.1vw,2.9rem);line-height:1.12;color:var(--thc-ink);margin:0 0 14px;font-weight:700}
.thc-intro-text{font-size:1.08rem;line-height:1.75;color:var(--thc-ink);margin:0 0 10px}
.thc-intro-sub{font-size:.97rem;line-height:1.7;color:var(--thc-muted);margin:0}
.thc-intro-actions{flex:0 0 auto;padding-top:4px}
.thc-button{display:inline-flex;align-items:center;gap:12px;text-align:center;border-radius:8px;background:var(--thc-red);color:#fff!important;padding:14px 22px;text-decoration:none!important;font-weight:700;transition:background .2s ease,transform .2s ease;box-shadow:0 6px 18px rgba(180,38,50,.14)}
.thc-button:hover{background:var(--thc-red-dark);transform:translateY(-1px)}
.thc-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0 28px}
.thc-nav-item{display:flex;align-items:center;justify-content:center;min-height:58px;padding:12px 16px;text-align:center;background:#fff;color:var(--thc-ink)!important;border:1px solid var(--thc-line);border-radius:10px;font-weight:700;text-decoration:none!important;transition:border-color .2s,box-shadow .2s,transform .2s}
.thc-nav-item:hover{border-color:#c6cdd3;transform:translateY(-1px)}
.thc-nav-item.is-active{border-color:var(--thc-red);box-shadow:inset 0 0 0 1px var(--thc-red),0 8px 18px rgba(20,30,40,.05)}
.thc-section{margin:0 0 30px}
.thc-section-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin:0 0 16px}
.thc-section-head h2{font-size:1.55rem;line-height:1.2;color:var(--thc-ink);margin:0 0 6px}
.thc-section-head p{margin:0;color:var(--thc-muted);line-height:1.65}
.thc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.thc-card{border:1px solid var(--thc-line);border-radius:14px;background:#fff;padding:24px 24px 22px;box-shadow:0 8px 20px rgba(20,30,40,.035)}
.thc-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.thc-card-num{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;padding:0 10px;border-radius:999px;background:#fdf0f1;color:var(--thc-red);font-size:.82rem;letter-spacing:.06em;font-weight:800}
.thc-card h3{font-size:1.2rem;line-height:1.35;font-weight:700;margin:0 0 12px;color:var(--thc-ink)}
.thc-card p,.thc-faq p{color:#5d6973;line-height:1.8;margin:0}
.thc-video-section{padding:24px;border:1px solid var(--thc-line);border-radius:16px;background:linear-gradient(180deg,#fbfbfc 0%,#f7f8f9 100%)}
.thc-video-library{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.thc-video-card{display:flex;flex-direction:column;border:1px solid var(--thc-line);border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 8px 20px rgba(20,30,40,.04)}
.thc-video-embed{position:relative;padding-bottom:56.25%;height:0;overflow:hidden;background:#000}
.thc-video-embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.thc-video-body{padding:16px 18px 18px}
.thc-video-body h3{font-size:1.05rem;line-height:1.35;margin:0 0 8px;color:var(--thc-ink)}
.thc-video-body p{margin:0;color:var(--thc-muted);line-height:1.65;font-size:.95rem}
.thc-video-card video,.thc-video-card img{display:block;max-width:100%;height:auto}
.thc-video-card a.thc-video-link{display:block;padding:16px 18px 18px;color:var(--thc-red);font-weight:700;text-decoration:none}
.thc-faq details{border:1px solid var(--thc-line);border-radius:10px;padding:16px 18px;background:#fff;margin-bottom:12px}
.thc-faq summary{font-weight:700;cursor:pointer;list-style-position:inside;color:var(--thc-ink)}
.thc-faq details p{padding:12px 0 0 4px}
.thc-note{margin:0 0 28px;font-size:.92rem;color:#5d6973;border-left:4px solid var(--thc-red);padding:14px 18px;background:#faf6f7;border-radius:0 10px 10px 0}
.thc-final{display:flex;align-items:center;justify-content:space-between;gap:28px;background:var(--thc-soft);border:1px solid var(--thc-line);border-radius:16px;padding:26px 28px;margin-top:18px}
.thc-final h2{font-size:1.45rem;margin:0 0 8px;color:var(--thc-ink)}
.thc-final p{margin:0;color:var(--thc-muted);line-height:1.7}
@media(max-width:991px){.thc-intro{flex-direction:column}.thc-nav{grid-template-columns:repeat(2,minmax(0,1fr))}.thc-grid,.thc-video-library{grid-template-columns:1fr}.thc-video-section{padding:20px}}
@media(max-width:767px){.thc-intro{padding:20px 0 18px}.thc-nav{gap:10px}.thc-nav-item{min-height:52px;padding:10px 12px;font-size:.92rem}.thc-card{padding:20px}.thc-final{align-items:flex-start;flex-direction:column;padding:22px}.thc-section-head h2{font-size:1.35rem}}

/* v1.3 safety boundaries */
.thc-original-cms[hidden],.thc-hidden-cms-title{display:none!important}
body.thc-redesign-active article.page-cms .page-content{width:100%;max-width:100%;}
body.thc-redesign-active #wrapper #content{min-width:0}
body.thc-redesign-active .thc-page{max-width:1120px;margin-left:auto;margin-right:auto;padding:0 16px 30px}
/* v1.4 scoped safety and layout */
.thc-original-content-hidden{display:none!important}
.thc-redesign-mounted{width:100%;max-width:1180px;margin:0 auto 40px;padding:0 20px}
.thc-fallback-placement{margin:30px auto}
#thc-source[hidden]{display:none!important}
@media(min-width:1200px){.thc-redesign-mounted{padding:0 28px}}
@media(max-width:767px){.thc-redesign-mounted{padding:0 12px}}
/* Video gallery: original image thumbnails become inline-player cards. */
.thc-video-preview{position:relative;width:100%;aspect-ratio:16/9;background:#f0f2f4;overflow:hidden;display:flex;justify-content:center;align-items:center}
.thc-video-preview img{display:block;width:100%;height:100%;object-fit:contain;background:#fff}
.thc-video-placeholder{font-weight:800;letter-spacing:.13em;color:#b42632;font-size:1.4rem}
.thc-video-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#b42632;border:2px solid #fff;border-radius:100%;color:#fff;cursor:pointer;font-size:1.2rem;width:62px;height:62px;box-shadow:0 6px 18px #0004}
.thc-video-play:hover{background:#90212b}
.thc-video-fallback{display:inline-block;margin-top:10px;text-decoration:underline!important;color:#b42632!important;font-size:.9rem}
.thc-video-body p{margin:0;font-size:.9rem;color:#65717a}
.thc-video-player{aspect-ratio:16/9;position:relative;background:#101317;color:#fff;display:flex;flex-direction:column}
.thc-video-player iframe,.thc-video-player video{width:100%;height:100%;min-height:0;border:0;flex:1}
.thc-player-controls{position:absolute;z-index:2;right:8px;top:8px}
.thc-player-close{background:#fff;color:#26313b;border:0;border-radius:5px;padding:6px 10px;cursor:pointer;font-weight:700}
.thc-player-notice{padding:7px 10px;font-size:.8rem;color:#fff;background:#303944}

/* 1.6: Only genuine video providers are embedded. External TRODAT sites use accessible links. */
.thc-video-card--external .thc-video-external-link{text-decoration:none;color:inherit;display:block;height:100%}
.thc-video-card--external .thc-video-external-link:hover h3{color:#b42632}
.thc-video-card--external .thc-video-preview{position:relative}
.thc-video-external-icon{position:absolute;right:16px;bottom:14px;display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:#b42632;color:#fff;font-size:1.2rem;font-weight:bold}
.thc-video-more-title{font-size:1.35rem;margin:30px 0 16px;color:#22303a}
.thc-video-player--embed{position:relative;aspect-ratio:16/9;height:auto;overflow:hidden;background:#111}
.thc-video-player--embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.thc-video-card--ready .thc-video-preview img{width:100%;height:100%;object-fit:cover}

/* 1.7 videoteca integrada: sin redirecciones ni enlaces de terceros */
.thc-local-close{box-shadow:0 1px 5px #0005}
.thc-video-card--ready .thc-video-body{min-height:66px}
.thc-video-player--embed .thc-player-controls{position:absolute;z-index:3;top:10px;right:10px}
.thc-video-card--ready .thc-video-preview{background:#eff1f3}

/* Editorial product linking – version 1.9 */
.thc-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.thc-product{display:flex;flex-direction:column;overflow:hidden;border:1px solid #e2e6ea;border-radius:12px;background:#fff;text-decoration:none!important;color:#23313b!important;transition:box-shadow .2s,transform .2s}
.thc-product:hover{box-shadow:0 12px 28px rgba(19,31,42,.12);transform:translateY(-2px)}
.thc-product-image{display:flex;align-items:center;justify-content:center;height:180px;padding:20px;background:#fff;border-bottom:1px solid #f0f1f3}
.thc-product-image img{width:100%;height:100%;object-fit:contain}
.thc-product-text{display:flex;flex-direction:column;gap:8px;padding:18px;flex:1}
.thc-product-text strong{font-size:1.06rem;line-height:1.35}
.thc-product-text small{font-size:.92rem;line-height:1.65;color:#63707b;flex:1}
.thc-product-action{font-size:.92rem;font-weight:700;color:#b42632;margin-top:5px}
.thc-guide-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.thc-guide-links a{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:17px 18px;border:1px solid #dfe4e8;border-radius:9px;color:#25313b;text-decoration:none!important;font-weight:650;background:#fff}
.thc-guide-links a:hover{border-color:#b42632;color:#b42632}
@media(max-width:767px){.thc-products,.thc-guide-links{grid-template-columns:1fr}.thc-product-image{height:160px}}
