/* Real training photographs; mobile-first album and center details. */
.tg-page,.tg-section{--tg-ink:#233c35;--tg-muted:#66776d;--tg-paper:#f7f8f2;--tg-card:#fff;--tg-line:#dbe1d7;--tg-gold:#9a824d;color:var(--tg-ink);background:var(--tg-paper);font-family:Cairo,sans-serif}
html[data-theme=dark] .tg-page,html[data-theme=dark] .tg-section{--tg-ink:#f1f2e8;--tg-muted:#b4c4b8;--tg-paper:#10271f;--tg-card:#18382d;--tg-line:#365247;--tg-gold:#d7bd7b}
.tg-wrap{width:min(1120px,calc(100% - 40px));margin-inline:auto;box-sizing:border-box}.tg-section{padding:72px 0}.tg-kicker{margin:0 0 16px;color:var(--tg-gold);font-size:12px;font-weight:800;letter-spacing:.03em}.tg-page h1,.tg-section h2{font-size:clamp(30px,4vw,52px);line-height:1.5;font-weight:850;letter-spacing:-.04em;margin:0}.tg-page h1 em,.tg-section h2 em{font-style:normal;color:var(--tg-gold)}.tg-page h2{font-size:clamp(25px,3vw,36px);line-height:1.6;font-weight:800;margin:0}.tg-lead{font-size:15px;line-height:2.1;color:var(--tg-muted);max-width:520px;margin:18px 0 0}.tg-heading{display:flex;align-items:end;justify-content:space-between;gap:36px;margin-bottom:30px}.tg-heading .tg-lead{max-width:300px}.tg-preview-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.tg-photo{margin:0;min-width:0;break-inside:avoid;background:var(--tg-card);border:1px solid var(--tg-line);border-radius:18px;overflow:hidden}.tg-photo>a{display:block;position:relative;background:#e4e9e0;outline-offset:5px;overflow:hidden}.tg-photo img{display:block;width:100%;height:auto}.tg-preview-grid .tg-photo>a{aspect-ratio:1/1}.tg-preview-grid .tg-photo img{width:100%;height:100%;object-fit:contain}.tg-photo figcaption{padding:13px 14px;font-size:12px;font-weight:700;color:var(--tg-ink);line-height:1.8}.tg-expand{position:absolute;bottom:10px;left:10px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:rgba(16,39,31,.8);color:white;font-size:19px;transition:transform .2s}.tg-photo a:hover .tg-expand{transform:translate(-2px,-2px)}.tg-preview-footer,.tg-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:30px}.tg-preview-footer{justify-content:space-between}.tg-button{display:inline-flex;align-items:center;justify-content:center;gap:30px;min-height:50px;padding:12px 24px;box-sizing:border-box;background:#244c3d;color:#fff!important;border:1px solid #6e896c;border-radius:14px;font-size:14px;font-weight:800;text-decoration:none;line-height:1.7;box-shadow:0 6px 16px #132a1910}.tg-button:hover{background:#315f4e}.tg-text-link{color:var(--tg-ink)!important;text-decoration:none;font-size:13px;font-weight:800;line-height:2;border-bottom:1px solid var(--tg-gold);padding-block:6px}.tg-button:focus-visible,.tg-text-link:focus-visible,.tg-photo a:focus-visible{outline:3px solid var(--tg-gold);outline-offset:4px}.tg-page-hero{padding-top:32px;padding-bottom:45px}.tg-back{display:inline-block;font-size:12px;color:var(--tg-muted);margin-bottom:36px;text-decoration:none}.tg-page-hero .tg-text-link{display:inline-block;margin-top:20px}.tg-album{padding-bottom:20px}.tg-album-bar{display:flex;align-items:center;justify-content:space-between;gap:15px;border-block:1px solid var(--tg-line);padding:18px 0;margin-bottom:24px}.tg-album-bar h2{font-size:17px}.tg-album-bar h2 span{display:inline-block;font-size:12px;color:var(--tg-gold);margin-right:10px}.tg-album-bar>span{font-size:11px;color:var(--tg-muted)}.tg-masonry{columns:3;column-gap:20px}.tg-masonry .tg-photo{margin-bottom:20px}.tg-end{margin-top:50px;margin-bottom:0;padding:40px;border:1px solid var(--tg-line);border-bottom:0;border-radius:26px 26px 0 0;background:var(--tg-card)}.tg-end .tg-button{margin-top:24px}.tg-end .tg-actions .tg-button{margin-top:0}.tg-center-hero{display:grid;grid-template-columns:1.05fr 1fr;gap:50px;align-items:center;padding-top:55px;padding-bottom:55px}.tg-center-photo{margin:0;padding:10px;background:var(--tg-card);border:1px solid var(--tg-line);border-radius:24px;transform:rotate(-1.5deg);box-shadow:0 24px 55px #122a1710}.tg-center-photo img{display:block;width:100%;height:auto;border-radius:16px}.tg-center-photo figcaption{font-size:11px;padding:15px 8px 8px;color:var(--tg-muted)}.tg-training-section{padding-block:42px;border-top:1px solid var(--tg-line)}.tg-three{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:24px}.tg-detail{padding:24px;border:1px solid var(--tg-line);border-radius:20px;background:var(--tg-card)}.tg-detail h3{font-size:17px;line-height:1.8;margin:10px 0;color:var(--tg-ink);font-weight:800}.tg-detail p{font-size:13px;line-height:2;color:var(--tg-muted);margin:0}.tg-number{font-size:12px;color:var(--tg-gold);font-weight:700;direction:ltr;display:inline-block}
.tg-viewer{position:fixed;inset:0;box-sizing:border-box;margin:auto;padding:16px;width:min(1000px,100% - 24px);max-height:calc(100dvh - 24px);border:1px solid #6d7f73;border-radius:20px;background:#10221c;color:#fff;overflow:auto}.tg-viewer:not([open]){display:none}.tg-viewer::backdrop{background:#07110de8}.tg-viewer-top{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:10px}.tg-viewer-top p{font-size:13px;margin:0;direction:ltr}.tg-viewer button{font:700 13px Cairo,sans-serif;min-width:44px;min-height:44px;color:#fff;background:#294237;border:1px solid #617b69;border-radius:12px;padding:8px 14px;cursor:pointer}.tg-viewer [data-tg-close]{font-size:26px;line-height:1;padding:4px}.tg-viewer>img{display:block;width:100%;height:calc(100dvh - 230px);min-height:180px;object-fit:contain}.tg-viewer-caption{font-size:13px;line-height:1.8;text-align:center;margin:12px 0}.tg-viewer-controls{display:flex;justify-content:center;gap:14px}.tg-viewer:focus{outline:none}
@media(max-width:700px){.tg-wrap{width:calc(100% - 32px)}.tg-section{padding:48px 0}.tg-heading{display:block;margin-bottom:24px}.tg-heading .tg-lead{max-width:none;font-size:13px;margin-top:12px}.tg-section h2{font-size:29px;line-height:1.6}.tg-kicker{font-size:11px;margin-bottom:12px}.tg-preview-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tg-photo{border-radius:14px}.tg-photo figcaption{font-size:10px;padding:10px;min-height:38px;box-sizing:border-box}.tg-preview-footer{display:grid;gap:17px;margin-top:24px}.tg-preview-footer .tg-text-link{justify-self:center;text-align:center;font-size:12px}.tg-button{font-size:13px;min-height:48px}.tg-page-hero{padding-top:22px;padding-bottom:30px}.tg-page h1{font-size:35px;line-height:1.55}.tg-back{margin-bottom:28px}.tg-lead{font-size:13px;line-height:2}.tg-album-bar{align-items:start;padding:15px 0;gap:10px}.tg-album-bar>span{max-width:130px;font-size:10px;line-height:1.8}.tg-masonry{columns:2;column-gap:12px}.tg-masonry .tg-photo{margin-bottom:12px}.tg-end{padding:25px;margin-top:30px;border-radius:22px 22px 0 0}.tg-end h2{font-size:25px}.tg-center-hero{grid-template-columns:1fr;gap:30px;padding-top:32px;padding-bottom:40px}.tg-center-photo{transform:none;border-radius:20px}.tg-actions{gap:18px;margin-top:24px}.tg-three{grid-template-columns:1fr;gap:12px;margin-top:20px}.tg-detail{padding:20px}.tg-detail h3{font-size:16px;margin-top:0}.tg-number{margin-bottom:12px}.tg-training-section{padding-block:32px}.tg-viewer{padding:12px}.tg-viewer>img{height:calc(100dvh - 245px)}.tg-viewer-caption{font-size:11px}}

#training-preview{scroll-margin-top:130px}
@media(max-width:700px){.tg-preview-footer .tg-button{width:100%}}
