/* Mighty Generation Network public gallery */
.mgn-gallery-page,.mgn-gallery-page *,.mgno-gallery-manager,.mgno-gallery-manager *{box-sizing:border-box}
.mgn-gallery-page{font-family:Inter,Arial,sans-serif;background:#fbfaf6;color:#101820}
.mgn-gallery-hero{min-height:clamp(510px,58vw,650px);display:flex;align-items:center;padding:90px max(24px,calc((100vw - 1230px)/2));background-image:linear-gradient(100deg,rgba(3,37,29,.97),rgba(5,61,45,.78) 55%,rgba(4,38,32,.4)),var(--mgn-gallery-cover,linear-gradient(115deg,#0b4835,#3a7850));background-position:center;background-size:cover;color:white;position:relative;overflow:hidden}
.mgn-gallery-hero-content{max-width:850px;position:relative;z-index:1}
.mgn-gallery-kicker{display:block;font-weight:900;font-size:11px;letter-spacing:.14em;color:#ffd887}
.mgn-gallery-hero h1{font:900 clamp(40px,6.6vw,84px)/1.06 "Nunito Sans",Inter,sans-serif;color:#fff;margin:20px 0;letter-spacing:-.045em}
.mgn-gallery-hero h1 em{color:#f7b719;font-style:normal}
.mgn-gallery-hero p{font-size:clamp(15px,1.6vw,19px);line-height:1.65;color:#e5f0e9;max-width:570px}
.mgn-gallery-hero a,.mgn-gallery-bottom>a{display:inline-flex;align-items:center;gap:17px;background:#ff4b1f;color:#fff!important;text-decoration:none;border-radius:100px;padding:14px 22px;font-weight:900;margin-top:15px}
.mgn-gallery-hero-shapes i{display:block;position:absolute;width:340px;height:340px;right:-100px;bottom:-160px;border:2px solid #dba921;border-radius:50%;opacity:.2;pointer-events:none}
.mgn-gallery-hero-shapes i+i{width:470px;height:470px;right:-180px;bottom:-250px;border-color:#74b984}
.mgn-gallery-section{max-width:1360px;padding:clamp(60px,8vw,110px) clamp(20px,5vw,70px);margin:auto}
.mgn-gallery-section-title{display:flex;justify-content:space-between;align-items:center;gap:35px;margin-bottom:35px}
.mgn-gallery-section-title span,.mgn-gallery-bottom>div>span{font-size:12px;text-transform:uppercase;font-weight:900;letter-spacing:.11em;color:#d44c29}
.mgn-gallery-section-title h2{font:900 clamp(30px,4vw,49px)/1.14 "Nunito Sans",Inter,sans-serif;color:#101820;margin:8px 0;letter-spacing:-.035em}
.mgn-gallery-section-title p{max-width:350px;color:#667269;line-height:1.65}
.mgn-gallery-filters{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:27px}
.mgn-gallery-filters button{border:1px solid #d9e0d8;background:white;color:#1a573d;border-radius:100px;padding:11px 19px;font-weight:850;cursor:pointer}
.mgn-gallery-filters button.is-active{background:#073f31;color:white;border-color:#073f31}
.mgn-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px}
.mgn-gallery-card{overflow:hidden;border-radius:20px;border:1px solid #e8ece6;background:white;min-width:0;box-shadow:0 8px 24px rgba(10,45,26,.045)}
.mgn-gallery-card[hidden]{display:none!important}
.mgn-gallery-card-media{height:clamp(210px,22vw,310px);overflow:hidden;background:#0a3229;position:relative}
.mgn-gallery-photo-link{display:block;width:100%;height:100%;position:relative}
.mgn-gallery-photo-link img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s ease}
.mgn-gallery-photo-link:hover img{transform:scale(1.045)}
.mgn-gallery-expand{position:absolute;right:14px;bottom:14px;width:42px;height:42px;display:grid;place-items:center;background:white;border-radius:50%;color:#123f2c;font-weight:900}
.mgn-gallery-card-media iframe,.mgn-gallery-card-media video{width:100%!important;height:100%!important;object-fit:contain;border:0}
.mgn-gallery-card-media .wp-video,.mgn-gallery-card-media .mgn-gallery-video-embed{height:100%!important;width:100%!important}
.mgn-gallery-card-copy{padding:21px}.mgn-gallery-card-copy span{font-size:11px;color:#d44c29;letter-spacing:.08em;font-weight:900;text-transform:uppercase}
.mgn-gallery-card-copy h3{font:900 22px/1.17 "Nunito Sans",Inter,sans-serif;color:#122921;margin:8px 0;letter-spacing:-.025em}
.mgn-gallery-card-copy p{font-size:13px;color:#667469;line-height:1.6;margin:8px 0 0}
.mgn-gallery-empty{text-align:center;border:1px dashed #bfcfc0;background:#fff;border-radius:22px;padding:85px 23px}
.mgn-gallery-empty h3{font:900 29px "Nunito Sans",sans-serif;margin:12px 0}.mgn-gallery-empty p{max-width:480px;margin:0 auto;color:#667369}
.mgn-gallery-empty-icon{font-size:40px;color:#f07a29}.mgn-gallery-no-results{text-align:center;color:#667369;padding:25px}
.mgn-gallery-bottom{display:flex;justify-content:space-between;gap:20px;align-items:center;background:#073f31;color:#fff;padding:68px max(24px,calc((100vw - 1230px)/2))}
.mgn-gallery-bottom>div>span{color:#ffd27d}.mgn-gallery-bottom h2{font:900 clamp(30px,3.8vw,47px) "Nunito Sans",Inter,sans-serif;color:white;margin:13px 0}.mgn-gallery-bottom p{color:#cfe5d6}
.mgn-gallery-bottom>a{white-space:nowrap}
.mgn-gallery-lightbox{border:0;border-radius:15px;background:#0d1914;color:white;padding:16px;max-width:94vw;max-height:93vh}
.mgn-gallery-lightbox::backdrop{background:rgba(0,0,0,.9)}
.mgn-gallery-lightbox img{max-height:80vh;max-width:100%;object-fit:contain;display:block}
.mgn-gallery-lightbox button{position:absolute;right:10px;top:10px;border:0;width:38px;height:38px;background:white;color:#073f31;border-radius:50%;font-size:26px;cursor:pointer}
.mgno-gallery-manager{font-family:Inter,Arial,sans-serif}
.mgno-gallery-form-card{padding:clamp(18px,3vw,30px);background:white;border:1px solid #e2eae0;border-radius:17px;margin-bottom:35px}
.mgno-gallery-form-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:25px}
.mgno-gallery-form-heading h3{margin:6px 0!important;font-size:26px!important}
.mgno-gallery-form-heading a{font-size:12px;color:#26704d;font-weight:800}
.mgno-gallery-type-row{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:20px}
.mgno-gallery-type-row label{background:#f7faf6;border:1px solid #d9e6d9;border-radius:10px;padding:11px 16px;color:#1e5939;font-weight:800;cursor:pointer}
.mgno-gallery-type-row input{accent-color:#ff4b1f}
.mgno-gallery-photo-fields,.mgno-gallery-video-fields{border:1px dashed #c4d6c7;background:#fafcf9;border-radius:14px;padding:21px;margin-bottom:20px}
.mgno-gallery-photo-fields[hidden],.mgno-gallery-video-fields[hidden]{display:none!important}
.mgno-gallery-photo-fields>label,.mgno-gallery-video-fields>label,.mgno-gallery-text-fields>label{display:block;font-size:13px;color:#213d2c;font-weight:800;margin:0 0 9px}
.mgno-gallery-photo-fields p,.mgno-gallery-video-fields p{font-size:12px;color:#66766a;line-height:1.6;margin-bottom:0}
.mgno-gallery-pick{border:0;border-radius:10px;padding:12px 18px;cursor:pointer;background:#12543d;color:#fff;font-weight:850}
.mgno-gallery-selected-images{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}
.mgno-gallery-selected-item{position:relative;width:100px;height:88px;overflow:hidden;border-radius:10px;background:#e0eae0}
.mgno-gallery-selected-item img{width:100%;height:100%;object-fit:cover}
.mgno-gallery-selected-item button{position:absolute;right:4px;top:4px;border:0;border-radius:50%;background:#123524;color:white;width:25px;height:25px;cursor:pointer}
.mgno-gallery-video-selected{padding:12px;border-radius:9px;border:1px solid #dbe8dc;background:white;margin:10px 0;color:#627d6b;font-size:12px}
.mgno-gallery-video-clear{border:0;background:none;color:#a94428;font-weight:800;cursor:pointer;padding:10px}
.mgno-gallery-text-fields input,.mgno-gallery-text-fields textarea,.mgno-gallery-video-fields input[type=url]{display:block;border:1px solid #d8e2d7;background:white;border-radius:9px;min-height:45px;width:100%;padding:11px 13px;margin-bottom:16px;font:500 14px Inter,sans-serif}
.mgno-gallery-form-footer{padding-top:20px;border-top:1px solid #e5ece4;display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap}
.mgno-gallery-toggle{font-size:13px;color:#295839;font-weight:800;display:flex;align-items:center;gap:9px}
.mgno-gallery-toggle input{height:19px;width:19px;accent-color:#156e43}
.mgno-gallery-library-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:20px}
.mgno-gallery-library-title h3{margin:0!important;font-size:25px!important}.mgno-gallery-library-title span{font-size:12px;color:#687c6a}
.mgno-gallery-manage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.mgno-gallery-manage-card{background:white;border:1px solid #e3eae2;overflow:hidden;border-radius:14px;min-width:0}
.mgno-gallery-manage-media{display:grid;place-items:center;height:170px;position:relative;background:#163a2b}.mgno-gallery-manage-media img{height:100%;width:100%;object-fit:cover}
.mgno-gallery-kind{position:absolute;left:12px;bottom:12px;border-radius:30px;background:#fff;padding:5px 9px;font-size:10px;color:#125336;font-weight:900}
.mgno-gallery-video-icon{color:white;font-size:39px}
.mgno-gallery-manage-info{padding:15px}.mgno-gallery-manage-info h4{font:850 16px/1.2 "Nunito Sans",Inter,sans-serif;margin:0 0 5px;color:#172c1e}
.mgno-gallery-manage-info small{color:#6c796e}.mgno-gallery-manage-actions{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:13px}
.mgno-gallery-edit-btn{color:#176d43;font-weight:900;font-size:12px}.mgno-gallery-remove-btn{background:none;border:0;color:#b3452c;font-size:12px;font-weight:850;cursor:pointer}
@media(max-width:1050px){.mgn-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mgno-gallery-manage-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.mgn-gallery-section-title,.mgn-gallery-bottom{flex-direction:column;align-items:flex-start}.mgn-gallery-grid{grid-template-columns:1fr}.mgn-gallery-section{padding:65px 20px}.mgn-gallery-hero{min-height:500px;padding:75px 24px}.mgn-gallery-bottom{padding:60px 25px}.mgn-gallery-card-media{height:280px}.mgno-gallery-manage-media{height:140px}.mgno-gallery-form-footer{flex-direction:column;align-items:stretch}.mgno-gallery-form-footer button{width:100%}}
@media(max-width:400px){.mgno-gallery-manage-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.mgn-gallery-photo-link img{transition:none}}
