/* hold-harmless-indemnity-template: the form on a clipboard, signed before the activity starts */
.te-hhi .hhi-in{max-width:1220px;margin:0 auto;padding:0 28px}
.te-hhi h2{font-size:clamp(1.5rem,2.4vw,1.9rem);letter-spacing:-.026em;line-height:1.15}

.te-hhi .hhi-top{padding-block:64px 72px}
.te-hhi .hhi-top .hhi-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,500px);gap:76px;align-items:start}
.te-hhi .hhi-tx{order:1}
.te-hhi .hhi-board{order:2;position:relative;background:var(--plum);border-radius:18px;padding:58px 22px 24px;box-shadow:0 22px 44px rgba(74,13,44,.28)}
.te-hhi .hhi-clip{position:absolute;top:-16px;left:50%;width:170px;height:58px;margin-left:-85px;background:var(--ink);border-radius:12px 12px 6px 6px;z-index:2}
.te-hhi .hhi-clip:before{content:'';position:absolute;top:-12px;left:50%;width:44px;height:28px;margin-left:-22px;border:7px solid var(--ink);border-bottom:0;border-radius:14px 14px 0 0}
.te-hhi .hhi-clip:after{content:'';position:absolute;left:14px;right:14px;bottom:10px;height:5px;border-radius:3px;background:var(--cfield)}
.te-hhi .hhi-form{background:#fff;border-radius:4px;padding:36px 32px 30px}
.te-hhi .hhi-title{font-family:var(--head);font-weight:700;font-size:1.34rem;letter-spacing:-.02em;text-align:center;padding-bottom:16px;border-bottom:2px solid var(--ink)}
.te-hhi .hhi-secs{list-style:none;margin:0;padding:0;counter-reset:s}
.te-hhi .hhi-secs li{counter-increment:s;padding-top:18px}
.te-hhi .hhi-secs b{font-family:var(--head);font-weight:700;font-size:1rem;display:block}
.te-hhi .hhi-secs b:before{content:counter(s) "  ";color:var(--c);margin-right:10px}
.te-hhi .hhi-box{display:block;height:64px;margin-top:10px;border:2px solid var(--ink);border-radius:4px}
.te-hhi .hhi-ln{display:block;height:2px;background:#f3d3dd;margin-top:12px}
.te-hhi .hhi-ln.w80{width:80%}
.te-hhi .hhi-ln.w60{width:60%}
.te-hhi .hhi-field{display:block;margin-top:8px;font-size:.84rem;font-weight:700;color:var(--cd)}
.te-hhi .hhi-field i{display:block;height:26px;border-bottom:2px dotted var(--ink)}
.te-hhi .hhi-sign{display:grid;grid-template-columns:1.2fr 1fr;gap:24px;margin-top:30px;padding:18px 18px 14px;background:var(--cfield);border-radius:4px}
.te-hhi .hhi-sign i{display:block;height:34px;border-bottom:2px solid var(--ink)}
.te-hhi .hhi-sign span{display:block;margin-top:7px;font-size:.84rem;font-weight:700;color:var(--ink)}

.te-hhi .hhi-tx h2{margin:0 0 10px}
.te-hhi .hhi-tx h2 + p{font-size:1.1rem;line-height:1.66;color:#2e2b30;margin:0 0 36px;max-width:56ch}
.te-hhi .hhi-law{background:#fff0f4;border-left:6px solid var(--cfield);padding:24px 28px;border-radius:0 12px 12px 0}
.te-hhi .hhi-tx h3{font-size:1.02rem;margin:0 0 8px}
.te-hhi .hhi-law p,.te-hhi .hhi-bp{font-size:.98rem;line-height:1.7;color:#2e2b30;max-width:64ch}
.te-hhi .hhi-tx .hhi-bh{margin-top:30px}

/* the subscription box: a white card split in two */
.te-hhi .hhi-buy{background:var(--ink);padding-block:60px}
.te-hhi .tpl{border:0;border-radius:0;background:none;overflow:visible}
.te-hhi .tplbar{display:none}
.te-hhi .tplgate{background:none;padding:0;text-align:left;display:grid;grid-template-columns:minmax(0,420px) minmax(0,1fr);column-gap:76px;align-items:start}
.te-hhi .tplgate>*{grid-column:2}
.te-hhi .tplgate h3{font-size:1.7rem;letter-spacing:-.026em;margin:0 0 12px;color:#fff}
.te-hhi .tplgate>p{color:#f3dfe6;font-size:1.02rem;margin-left:0;max-width:58ch}
.te-hhi .tplgate>.tplnote{color:#fff;font-size:.92rem;font-weight:700}
.te-hhi .tplcta{justify-content:flex-start;margin-top:8px}
.te-hhi .tplcta .btn{background:var(--cfield);color:var(--ink);border-color:var(--cfield)}
.te-hhi .tplcta .btn:hover{background:#fff;border-color:#fff;color:var(--ink)}
.te-hhi .tplplans,.te-hhi .tplsignin{color:#fff;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.te-hhi .tpldfy{grid-column:1;grid-row:1/span 4;margin:0;max-width:none;padding:28px;background:#fff;border:0;border-radius:14px;text-align:left}
.te-hhi .tpldfy>p{margin-left:0}
.te-hhi .tpldfy form{display:grid;grid-template-columns:1fr;gap:10px}
.te-hhi .hhi-buy:has(.tpldoc:not(.hidden-guide)){background:#fff;padding-block:0 60px}
.te-hhi .hhi-buy:has(.tpldoc:not(.hidden-guide)) .tpl{border:2px solid var(--ink);border-radius:14px;overflow:hidden;background:#fff}
.te-hhi .hhi-buy:has(.tpldoc:not(.hidden-guide)) .tplbar{display:flex}

.te-hhi .hhi-faq{padding-block:68px 56px}
.te-hhi .hhi-faq .hhi-in{max-width:860px;text-align:left}
.te-hhi .hhi-faq h2{text-align:center}
.te-hhi .hhi-qs{margin-top:22px;border:2px solid var(--ink);border-radius:14px;padding:4px 24px}
.te-hhi .hhi-qs details.fq:last-child{border-bottom:0}

/* related templates: a single line of links */
.te-hhi .art-rel{padding-block:0 68px;max-width:860px}
.te-hhi .art-rel>h2{font-size:1.2rem;margin-bottom:6px}
.te-hhi .art-rel-grid{display:block}
.te-hhi .art-rel-grid a,.te-hhi .art-rel-grid a:first-child{display:inline;min-height:0;padding:0;border:0;border-radius:0;background:none;font-family:var(--body);font-size:1.04rem;line-height:2;color:var(--cd);text-decoration:underline;text-underline-offset:4px;margin-right:22px}
.te-hhi .art-rel-grid a:hover{transform:none;box-shadow:none;color:var(--ink)}
.te-hhi .art-rel-grid a i{display:none}

.te-hhi .hhi-close{background:var(--cfield);padding-block:56px;text-align:center}
.te-hhi .hhi-close h2{color:var(--ink)}
.te-hhi .hhi-close p{font-size:1.06rem;line-height:1.6;color:var(--ink);max-width:56ch;margin:12px auto 22px}
.te-hhi .hhi-close a{display:inline-block;background:var(--ink);color:#fff;font-family:var(--head);font-weight:700;padding:15px 26px;border-radius:8px}
.te-hhi .hhi-close a:hover{background:var(--plum)}

@media(max-width:980px){
  .te-hhi .hhi-top .hhi-in{grid-template-columns:1fr;gap:44px}
  .te-hhi .hhi-board{order:1;max-width:520px;margin-top:10px}
  .te-hhi .hhi-tx{order:2}
  .te-hhi .tplgate{grid-template-columns:1fr}
  .te-hhi .tplgate>*{grid-column:1}
  .te-hhi .tpldfy{grid-row:auto;margin-top:30px}
}
@media(max-width:520px){
  .te-hhi .hhi-in{padding:0 20px}
  .te-hhi .hhi-top{padding-block:48px 52px}
  .te-hhi .hhi-board{padding:52px 12px 14px}
  .te-hhi .hhi-form{padding:30px 18px 20px}
  .te-hhi .hhi-sign{grid-template-columns:1fr;gap:12px}
  .te-hhi .hhi-law{padding:20px}
  .te-hhi .hhi-qs{padding:4px 16px}
  .te-hhi .tplcta .btn{white-space:normal;text-align:center}
  .te-hhi .tpldfy{padding:22px 18px}
}
