/* v2.89 punch volley, one-column mobile panels; safe inside PWA iframe. */
.thpb-punch-lesson,.thpb-punch-coach{width:100%;min-width:0;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}
.thpb-punch-lesson *,.thpb-punch-coach *{box-sizing:border-box;min-width:0}
.thpb-punch-lesson h2,.thpb-punch-coach h2{line-height:1.22}
.thpb-punch-lead{padding:14px;border-radius:12px;background:#e8f5ed;line-height:1.55;color:#164b38}
.thpb-punch-steps h3{margin:14px 0}
.thpb-punch-step,.thpb-punch-coach-step{display:grid;grid-template-columns:minmax(0,175px) minmax(0,1fr);gap:13px;padding:12px 0;align-items:start;border-bottom:1px solid #e2e9ec}
.thpb-punch-step h4,.thpb-punch-coach-step h4{margin:3px 0;font-size:1rem}
.thpb-punch-step small{font-size:11px;color:#0b6950;font-weight:800}
.thpb-punch-step p,.thpb-punch-coach-step p{line-height:1.55;margin:5px 0}
.thpb-punch-figure{margin:0;max-width:100%;width:100%;background:#f2f6f8;border-radius:10px;overflow:hidden}
.thpb-punch-figure img{width:100%;height:auto;display:block;aspect-ratio:1/1;object-fit:cover}
.thpb-punch-figure figcaption{padding:6px 8px;font-size:11px;color:#526477;line-height:1.45}
.thpb-punch-target{padding:13px;background:#effaf4;border-radius:13px;margin:14px 0}
.thpb-punch-target h3,.thpb-punch-target p{margin:4px 0}
.thpb-punch-drill{border:1px solid #dce7e8;border-radius:12px;padding:12px;margin:10px 0;background:#f6f9fa}
.thpb-punch-drill>div{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.thpb-punch-drill h4{margin:0}.thpb-punch-drill span{color:#146d54;font-size:12px;font-weight:750}.thpb-punch-drill p{margin:6px 0;line-height:1.5}.thpb-punch-drill small{font-size:12px;color:#4a6270}
.thpb-punch-note{padding:12px;border-radius:10px;background:#f1f5f6;font-size:13px;line-height:1.55}
.thpb-punch-coach>header{background:#eaf2f7;border-radius:13px;padding:15px;color:#183c53;margin-bottom:12px}
.thpb-punch-coach>header span{font-size:11px;letter-spacing:.03em;font-weight:800}
.thpb-punch-coach>header h2{margin:5px 0}.thpb-punch-coach>header p{margin:0;line-height:1.55}
.thpb-punch-coach-card{margin:12px 0;padding:15px;border:1px solid #dfe8ed;border-radius:13px;background:#fff;max-width:100%;overflow:hidden}
.thpb-punch-coach-card h3{margin:0 0 8px;font-size:1.02rem;color:#13445a}
.thpb-punch-coach-card ul,.thpb-punch-coach-card ol{padding-left:20px;margin:8px 0}
.thpb-punch-coach-card li{line-height:1.55;margin:6px 0}
.thpb-punch-coach-card p{line-height:1.56}
.thpb-punch-court{max-width:370px;margin:0 auto}.thpb-punch-court svg{display:block;width:100%;height:auto;max-width:100%}.thpb-punch-court figcaption{font-size:12px;color:#486678;text-align:center}
.thpb-punch-errors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.thpb-punch-errors>div{padding:10px;border:1px solid #e0eaf0;border-radius:10px;background:#f5f9fa}.thpb-punch-errors p{font-size:13px;margin:5px 0}
.thpb-punch-sequence{padding:10px;margin:9px 0;background:#f4f8f8;border-radius:9px}.thpb-punch-sequence p{margin:5px 0}
.thpb-punch-editor summary{font-weight:800;cursor:pointer}.thpb-punch-editor fieldset{border:1px solid #c7dbe2;border-radius:11px;margin:12px 0;padding:10px;min-width:0}.thpb-punch-editor label{display:block;margin:9px 0;font-size:13px;font-weight:700}
.thpb-punch-editor textarea,.thpb-punch-editor input[type=file]{width:100%;max-width:100%;display:block;margin-top:5px;font:inherit}.thpb-punch-editor textarea{border:1px solid #bed0d8;border-radius:7px;min-height:65px;padding:7px}.thpb-punch-editor button{background:#115d46;color:white;border:0;padding:11px 16px;border-radius:9px;font-weight:800}.thpb-punch-success{color:#0a6946;font-weight:800}
@media(max-width:600px){.thpb-punch-step,.thpb-punch-coach-step{display:flex;flex-direction:column;gap:7px}.thpb-punch-figure{width:100%}.thpb-punch-figure img{aspect-ratio:4/3;object-fit:contain;background:#eaf0f2}.thpb-punch-coach-card{padding:12px}.thpb-punch-errors{grid-template-columns:minmax(0,1fr)}.thpb-punch-lesson h2,.thpb-punch-coach h2{font-size:1.28rem}}
/* v2.91: six distinct training phases for the two-handed backhand volley. */
.thpb-bh2-lesson,.thpb-bh2-coach{max-width:100%;min-width:0;overflow-wrap:anywhere}
.thpb-bh2-figure img{aspect-ratio:1/1;object-fit:contain;background:#eaf1f4}
.thpb-bh2-coach .thpb-punch-errors>div{overflow-wrap:anywhere}
@media(max-width:600px){.thpb-bh2-lesson .thpb-punch-step,.thpb-bh2-coach .thpb-punch-coach-step{display:flex;flex-direction:column;gap:7px}.thpb-bh2-figure img{aspect-ratio:1/1;object-fit:contain}}

/* v2.95: full-size vertical photographic lessons for forehand/backhand dink. */
.thpb-dink-lesson .thpb-punch-figure img,.thpb-dink-coach .thpb-punch-figure img {aspect-ratio:auto;object-fit:contain;max-height:660px;background:#eef3f6}
@media (max-width:600px) {
  .thpb-dink-lesson .thpb-punch-figure,.thpb-dink-coach .thpb-punch-figure{width:100%;max-width:100%;}
  .thpb-dink-lesson .thpb-punch-figure img,.thpb-dink-coach .thpb-punch-figure img{width:100%;aspect-ratio:auto;height:auto;max-height:none;object-fit:contain;background:#fff;}
}
