/*
Theme Name: 108 ОбТрО — Саперний підрозділ
Theme URI: https://example.com/
Author: OpenAI
Description: Адаптивна благодійна тема для 108 ОбТрО з фото-звітами та реквізитами.
Version: 1.2.7
Text Domain: 108-obtro
*/
:root{--bg:#070707;--panel:#101010;--line:#2b2b2b;--muted:#aaa;--white:#f7f7f7;--yellow:#ffd000;--blue:#075fc4}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--white);font-family:Arial,Helvetica,sans-serif}.wrap{width:min(1180px,calc(100% - 34px));margin:auto}a{color:inherit}.site-header{height:72px;position:fixed;z-index:20;inset:0 0 auto;background:rgba(5,5,5,.9);border-bottom:1px solid #252525;backdrop-filter:blur(12px)}.nav{height:100%;display:flex;align-items:center;gap:28px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none}.shield{width:40px;height:40px;border:1px solid var(--yellow);display:grid;place-items:center;color:var(--yellow);font-weight:900;font-size:12px;position:relative}.shield:after{content:'✦';position:absolute;font-size:12px;color:var(--blue);transform:translate(15px,-15px)}.brand b{font-size:18px}.brand small{display:block;color:#999;font-size:8px;letter-spacing:.1em}.links{margin-left:auto;display:flex;gap:25px}.links a{font-size:12px;text-decoration:none}.links a:hover{color:var(--yellow)}.btn{display:inline-flex;justify-content:center;align-items:center;gap:7px;padding:13px 20px;border-radius:5px;font-size:12px;font-weight:900;text-decoration:none;border:1px solid var(--yellow)}.btn-yellow{background:var(--yellow);color:#050505}.btn-dark{color:#fff;background:#0b0b0b;border-color:#555}.hero{min-height:760px;position:relative;display:flex;align-items:flex-end;overflow:hidden;border-bottom:1px solid #292929}.hero-bg{position:absolute;inset:0;background-image:linear-gradient(90deg,rgba(0,0,0,.68) 0%,rgba(0,0,0,.46) 38%,rgba(0,0,0,.12) 70%,rgba(0,0,0,.18)),url('assets/images/hero-sapper-mines-v126.jpg');background-size:cover;background-position:center 42%;transform:scale(1.01)}.hero-content{position:relative;padding:145px 0 70px;z-index:1;max-width:740px}.eyebrow{color:var(--yellow);font-size:11px;font-weight:900;letter-spacing:.16em;margin-bottom:18px}.hero h1{font-size:clamp(44px,6vw,72px);line-height:.91;letter-spacing:-.055em;margin:0 0 22px;text-transform:uppercase}.hero p{max-width:610px;color:#d0d0d0;line-height:1.5;font-size:16px}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:27px}.progress{max-width:650px;margin-top:35px}.progress-head{display:flex;justify-content:flex-start;align-items:end;font-size:11px;color:#aaa}.progress-head.single{justify-content:flex-start}.progress-head strong{color:var(--yellow);font-size:21px;display:block;margin-top:5px}.bar{height:8px;background:#343434;border-radius:20px;overflow:hidden;margin-top:9px}.bar i{display:block;height:100%;background:var(--yellow)}.percent{text-align:center;font-size:11px;color:#ddd;margin-top:5px}.section{padding:70px 0;border-bottom:1px solid #222}.title{text-align:center;margin-bottom:36px}.title h2{margin:0;font-size:37px;line-height:1;letter-spacing:-.04em;text-transform:uppercase}.title p{color:#999}.underline{width:42px;height:2px;background:var(--yellow);margin:14px auto 0}.needs{display:grid;grid-template-columns:repeat(6,1fr);gap:10px}.need{min-height:180px;background:linear-gradient(145deg,#171717,#0e0e0e);border:1px solid #292929;border-radius:7px;padding:22px 14px;text-align:center}.need .icon{font-size:28px;color:var(--yellow)}.need h3{font-size:12px;margin:18px 0 9px}.need p{font-size:11px;line-height:1.45;color:#999;margin:0}.about-grid{display:grid;grid-template-columns:1.05fr .95fr;min-height:400px}.about-copy{padding:30px 45px 30px 0}.about-copy h2{font-size:42px;line-height:.96;margin:0 0 20px}.about-copy p{color:#aaa;line-height:1.65}.about-copy ul{list-style:none;padding:0;color:#ddd;line-height:2;font-size:13px}.about-copy li:before{content:'✓';color:var(--yellow);font-weight:900;margin-right:10px}.about-photo{width:100%;display:flex;align-items:center;justify-content:center;background:#0b0b0b;border:1px solid #2b2b2b;overflow:hidden}.about-photo img{display:block;width:100%;height:auto;max-height:520px;object-fit:contain}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#2c2c2c;margin-top:25px}.stat{background:#0b0b0b;padding:15px}.stat b{color:var(--yellow);font-size:25px;display:block}.stat span{color:#999;font-size:9px;text-transform:uppercase}.reports{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.report{border:1px solid #2b2b2b;background:#111;border-radius:6px;overflow:hidden}.report img{display:block;width:100%;height:165px;object-fit:cover}.report div{padding:14px}.report small{color:var(--yellow);font-size:9px}.report h3{font-size:13px;line-height:1.2;margin:8px 0}.report p{color:#999;font-size:11px;line-height:1.45;margin:0}.support-grid{display:grid;grid-template-columns:220px 1fr 280px;gap:16px}.box{background:#101010;border:1px solid #333;border-radius:8px;padding:20px}.qr{text-align:center}.qr img{width:150px;height:150px;object-fit:contain;background:#fff;padding:8px}.qr p{font-size:11px;color:#aaa}.pay-row{display:grid;grid-template-columns:105px 1fr auto;gap:10px;padding:14px 0;border-bottom:1px solid #292929;align-items:center}.pay-row span{font-size:10px;color:#999}.pay-row b{font-size:12px;word-break:break-all}.copy{background:#181818;border:1px solid #444;color:#fff;border-radius:4px;padding:6px 8px;cursor:pointer}.whatsapp-box{text-align:center}.whatsapp-box .circle{width:55px;height:55px;border:1px solid var(--yellow);border-radius:50%;display:grid;place-items:center;color:var(--yellow);font-size:24px;margin:0 auto 15px}.whatsapp-box p{color:#aaa;font-size:12px;line-height:1.5}.trust{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#292929;margin-top:20px;border:1px solid #292929;border-radius:7px;overflow:hidden}.trust div{background:#101010;padding:18px;text-align:center}.trust b{display:block;font-size:12px}.trust span{color:#999;font-size:10px}footer{padding:34px 0;text-align:center;border-top:1px solid #242424}.slogan{font-size:28px;font-weight:900;text-transform:uppercase}.slogan span{color:var(--yellow)}footer p{color:#777;font-size:11px}.mobile-toggle{display:none;background:none;border:1px solid #444;color:#fff;padding:9px}.report-single{padding:140px 0 70px}.report-single img{max-width:100%;height:auto;border:1px solid #333}.report-single h1{font-size:48px}.admin-note{padding:10px 14px;border-left:3px solid var(--yellow);background:#111;color:#aaa;font-size:12px}
@media(max-width:1000px){.needs{grid-template-columns:repeat(3,1fr)}.reports{grid-template-columns:repeat(3,1fr)}.support-grid{grid-template-columns:1fr 1.5fr}.whatsapp-box{grid-column:1/-1}.links{display:none}.mobile-toggle{display:block;margin-left:auto}}
@media(max-width:650px){.wrap{width:calc(100% - 26px)}.site-header{height:64px}.nav>.btn{display:none}.brand b{font-size:15px}.hero{min-height:700px}.hero-content{padding-top:110px}.hero h1{font-size:46px}.needs,.reports,.about-grid,.support-grid,.trust{grid-template-columns:1fr}.about-copy{padding-right:0}.about-photo{min-height:0}.pay-row{grid-template-columns:1fr}.copy{width:max-content}.title h2{font-size:32px}.section{padding:58px 0}.report-single h1{font-size:34px}}
.crest{width:48px;height:52px;object-fit:contain;display:block}.brand{gap:9px}.header-support{white-space:nowrap}.report-amount{display:inline-block;margin:0 0 22px;padding:10px 14px;border:1px solid #333;background:#101010;color:#aaa;border-radius:5px}.report-amount strong{color:var(--yellow)}.report-cover{margin:10px 0 28px}.report-cover img{display:block;width:100%;max-height:700px;object-fit:contain;background:#0b0b0b}.entry-content{max-width:900px;color:#d2d2d2;line-height:1.7;font-size:16px}.report-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:32px}.report-gallery a{display:block;background:#111;border:1px solid #292929;border-radius:6px;overflow:hidden}.report-gallery img{display:block;width:100%;height:300px;object-fit:cover;transition:transform .2s}.report-gallery a:hover img{transform:scale(1.02)}.back-reports{margin-top:30px}.report h3 a{text-decoration:none}.report h3 a:hover{color:var(--yellow)}
@media(max-width:1000px){.whatsapp-top{order:0}.crest{width:40px;height:44px}.nav{gap:14px}.header-support{margin-left:0}.report-gallery{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.whatsapp-top span{display:none}.crest{width:34px;height:38px}.brand small{font-size:7px}.header-support{display:none}.report-gallery{grid-template-columns:1fr}.report-gallery img{height:auto}.report-cover img{max-height:none}}

.menu-open .links{display:flex!important;position:absolute;left:13px;right:13px;top:64px;flex-direction:column;gap:0;background:#0b0b0b;border:1px solid #292929;border-radius:6px;padding:8px;box-shadow:0 12px 30px rgba(0,0,0,.5)}
.menu-open .links a{padding:13px 12px;border-bottom:1px solid #222}.menu-open .links a:last-child{border-bottom:0}
@media(max-width:650px){.hero-bg{background-position:58% center}.hero-content{max-width:100%}.about-photo img{max-height:none}}

.bank-actions .btn{min-width:215px}.support-buttons{display:flex;flex-direction:column;gap:10px;margin-top:16px}.support-buttons .btn{width:100%;text-align:center}

/* v1.2.5: donation buttons spacing */
.support-buttons{display:flex;flex-wrap:wrap;gap:16px;margin-top:18px}.support-buttons .btn{margin:0}
@media(max-width:650px){.support-buttons{flex-direction:column;gap:12px}.support-buttons .btn{width:100%}}

/* v1.2.7 — lighter hero photo, especially on mobile */
@media(max-width:650px){
  .hero-bg{
    background-image:
      linear-gradient(90deg,rgba(0,0,0,.48) 0%,rgba(0,0,0,.25) 48%,rgba(0,0,0,.08) 100%),
      url('assets/images/hero-sapper-mines-v126.jpg');
    background-position:62% center;
  }
  .hero-content{
    text-shadow:0 2px 12px rgba(0,0,0,.9);
  }
}
