/* Unified photo + video lightbox, and video-manager controls. */
.lkm-videos-open{overflow:hidden!important}.lkm-video-nav{display:block;width:100%;padding:11px 14px;margin-bottom:5px;border:0;border-radius:8px;background:transparent;color:#c4d2c7;font-size:13px;font-weight:700;text-align:left;cursor:pointer}.lkm-video-nav:hover{background:#3d5945;color:#fff}
.lkm-videos-overlay{position:fixed;inset:0;z-index:10000;background:#0d1815d9;display:flex;align-items:flex-start;justify-content:center;padding:3vh 15px;overflow-y:auto}
.lkm-videos-dialog{width:min(1100px,100%);background:#fff;border-radius:16px;padding:28px;margin:auto;box-shadow:0 28px 80px #0005;color:#1b3024}
.lkm-videos-heading{display:flex;gap:20px;align-items:flex-start;justify-content:space-between;border-bottom:1px solid #e2e8e2;padding-bottom:15px;margin-bottom:22px}.lkm-videos-heading h2{font-size:28px;margin:3px 0}.lkm-videos-heading small{font-size:10px;letter-spacing:1.5px;color:#ab773e;font-weight:800}.lkm-videos-heading p{color:#627064;font-size:13px;margin:0}.lkm-videos-heading button{background:transparent;border:0;font-size:28px;cursor:pointer}
.lkm-videos-fields{display:grid;grid-template-columns:1fr 2fr;gap:14px}.lkm-videos-dialog label{display:block;font-size:12px;font-weight:800;color:#26372b}.lkm-videos-dialog input,.lkm-videos-dialog select,.lkm-videos-dialog textarea{display:block;width:100%;margin-top:7px;min-height:42px;border:1px solid #cbd5ca;border-radius:8px;padding:9px 12px;color:#26372b;background:#fff;font:inherit;font-size:13px}.lkm-videos-dialog textarea{resize:vertical}.lkm-videos-dialog small{display:block;margin-top:6px;color:#718173;font-weight:400}.lkm-videos-form{border:1px solid #e4eae4;border-radius:13px;background:#f9fbf8;padding:18px;margin:18px 0;display:grid;gap:13px}.lkm-videos-form .lkm-videos-fields{grid-template-columns:1fr 1fr}.lkm-videos-buttons{display:flex;gap:8px;flex-wrap:wrap}.lkm-videos-buttons button{padding:12px 17px;border:1px solid #273c2e;border-radius:8px;background:#243b2c;color:#fff;cursor:pointer;font-size:12px;font-weight:800}.lkm-videos-buttons button+button{background:#fff;color:#243b2c}.lkm-videos-search{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:12px}.lkm-videos-search input{max-width:280px}.lkm-videos-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-height:48vh;overflow:auto}.lkm-videos-card{display:flex;gap:13px;align-items:center;border:1px solid #e0e7dd;padding:9px;border-radius:10px}.lkm-videos-card>img{width:110px;aspect-ratio:16/9;object-fit:cover;border-radius:6px}.lkm-videos-info{flex:1;min-width:0}.lkm-videos-info strong{font-size:13px;display:block;overflow-wrap:anywhere}.lkm-videos-info small{font-size:11px}.lkm-videos-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:7px}.lkm-videos-actions button{border:1px solid #cfdcd0;background:#fff;border-radius:6px;padding:5px 8px;font-size:11px;cursor:pointer}.lkm-videos-help{color:#68786d;font-size:12px}.lkm-videos-status{padding:12px;margin:12px 0;border-radius:7px;background:#e4f1e5;color:#214c30}.lkm-videos-status.is-error{background:#ffeded;color:#a12929}
.lkm-video-tile{position:relative;cursor:pointer}.lkm-video-tile img{width:100%;height:100%;object-fit:cover}.lkm-video-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:50%;width:58px;height:58px;display:grid;place-items:center;background:#f12b2be8;color:#fff;font-size:24px;box-shadow:0 2px 14px #0005;pointer-events:none}.lkm-gallery-video-thumb{position:relative}.lkm-gallery-video-thumb .lkm-video-play{width:45px;height:45px;font-size:20px}
.lkm-media-lightbox{position:fixed;inset:0;z-index:9999;background:rgba(0,0,0,.95);display:flex;justify-content:center;align-items:center;color:#fff}.lkm-media-lightbox>*{box-sizing:border-box}.lkm-media-display{max-width:calc(100vw - 150px);width:min(1200px,100%);height:min(80vh,780px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.lkm-media-display img{max-width:100%;max-height:calc(80vh - 55px);object-fit:contain}.lkm-media-display iframe{border:0;width:min(1100px,100%);aspect-ratio:16/9;max-height:70vh}.lkm-media-close,.lkm-media-prev,.lkm-media-next{position:absolute;border:0;background:#ffffffeb;border-radius:50%;color:#13231c;width:50px;height:50px;font-size:25px;cursor:pointer;display:grid;place-items:center}.lkm-media-close{top:18px;right:20px}.lkm-media-prev{left:15px;top:50%}.lkm-media-next{right:15px;top:50%}.lkm-media-info{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);text-align:center;max-width:75%;color:#f0efee;font-size:13px}.lkm-media-info a{color:#ffd399;text-decoration:underline}.lkm-service-main-open{display:block;cursor:zoom-in;position:relative;width:100%;height:100%;padding:0;border:0;background:none}.lkm-service-main-open img{width:100%;height:100%;object-fit:cover}.lkm-service-zoom{position:absolute;bottom:12px;right:12px;background:#14231bd6;color:#fff;padding:5px 11px;border-radius:20px;font-size:12px}.lkm-service-video-poster{position:relative;width:100%;height:100%;border:0;background:#16241d;cursor:pointer}.lkm-service-video-poster img{width:100%;height:100%;object-fit:cover}.lkm-service-video-thumb{position:relative}.lkm-service-video-thumb .lkm-video-play{width:35px;height:35px;font-size:14px}.lkm-video-thumb-label{position:absolute;bottom:0;left:0;right:0;background:#142117c7;color:#fff;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lkm-thumb-scroller{display:flex!important;gap:8px;overflow-x:auto;scroll-snap-type:x proximity;padding-bottom:8px}.lkm-thumb-scroller button{flex:0 0 106px;scroll-snap-align:start;height:80px}.lkm-thumb-scroller img{height:100%;width:100%;object-fit:cover}
@media(max-width:700px){.lkm-videos-dialog{padding:15px}.lkm-videos-fields,.lkm-videos-form .lkm-videos-fields{grid-template-columns:1fr}.lkm-videos-list{grid-template-columns:1fr}.lkm-videos-search{flex-direction:column;align-items:stretch}.lkm-videos-search input{max-width:none}.lkm-media-display{max-width:calc(100vw - 85px);height:80vh}.lkm-media-prev,.lkm-media-next{width:35px;height:42px;font-size:21px}.lkm-media-prev{left:5px}.lkm-media-next{right:5px}.lkm-media-close{top:8px;right:8px;width:43px;height:43px}.lkm-thumb-scroller button{flex-basis:86px;height:69px}}
.cms-gallery-grid figure.lkm-gallery-video-thumb{position:relative;cursor:pointer}
.cms-gallery-grid figure.lkm-gallery-video-thumb .lkm-video-play{top:40%;z-index:1}
.cms-lightbox iframe{width:min(1100px,100%);max-width:100%;aspect-ratio:16/9;max-height:70vh;border:0;pointer-events:auto}
.cms-lightbox-figure a.lkm-youtube-link{color:#ffd399;font-size:13px;pointer-events:auto}
.cms-lightbox img[hidden],.cms-lightbox iframe[hidden],.lkm-youtube-link[hidden]{display:none!important}

/* Phase 11 — YouTube channel importer */
.lkm-channel-sync-open{align-self:center;margin-left:auto;padding:10px 14px;background:#e4ece4;color:#23422f;border:1px solid #c8d9c9;border-radius:8px;font-weight:800;cursor:pointer;font-size:12px;white-space:nowrap}
.lkm-channel-sync-open:hover{background:#d4e5d7}
.lkm-youtube-sync-open{overflow:hidden!important}
.lkm-youtube-sync-overlay{position:fixed;inset:0;background:#101b16e9;z-index:11000;overflow-y:auto;padding:24px 15px;display:flex;justify-content:center;align-items:flex-start}
.lkm-youtube-sync-panel{margin:auto;width:min(1150px,100%);border-radius:16px;background:#fff;color:#1c2d22;box-shadow:0 24px 85px #0006;padding:26px}
.lkm-youtube-sync-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding-bottom:16px;border-bottom:1px solid #dce8de}.lkm-youtube-sync-head h2{font-size:27px;letter-spacing:-.8px;margin:5px 0}.lkm-youtube-sync-head p{max-width:690px;font-size:13px;color:#566859;margin:0}.lkm-youtube-sync-head p a{text-decoration:underline}.lkm-youtube-sync-head button{font-size:29px;border:0;background:transparent;cursor:pointer}
.lkm-youtube-sync-kicker{font-weight:800;letter-spacing:1.5px;font-size:10px;color:#bb791e}
.lkm-youtube-sync-toolbar{display:flex;gap:9px;flex-wrap:wrap;align-items:center;padding:14px 0}
.lkm-youtube-sync-toolbar button,.lkm-youtube-sync-publish{background:#233d2d;color:#fff;border:0;border-radius:8px;padding:10px 14px;font-size:12px;font-weight:800;cursor:pointer}.lkm-youtube-sync-toolbar button:not(:first-child){background:#eaf0e8;color:#28402d}.lkm-youtube-sync-toolbar button[disabled],.lkm-youtube-sync-publish[disabled]{opacity:.5;cursor:wait}
.lkm-youtube-sync-source{font-size:11px;color:#607364;margin-left:auto;font-weight:700}
.lkm-youtube-sync-info{padding:11px;background:#fff6e6;color:#624516;border-radius:9px;font-size:12px}
.lkm-youtube-sync-status{border-radius:9px;padding:11px 13px;background:#e7f1e7;color:#21442c;font-size:12px;margin:5px 0 12px}.lkm-youtube-sync-status.is-error{background:#ffeded;color:#982b2b}
.lkm-youtube-sync-list{display:grid;gap:10px;max-height:55vh;overflow:auto;scrollbar-width:thin;padding-right:5px}
.lkm-youtube-sync-item{border:1px solid #dce5dc;border-radius:11px;padding:12px;display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:12px;align-items:center;background:#fdfefd}
.lkm-youtube-sync-choice{display:flex;gap:12px;align-items:center;min-width:0;cursor:pointer}.lkm-youtube-sync-choice>input{width:20px;height:20px;flex:0 0 20px;accent-color:#26452d}.lkm-youtube-sync-choice img{width:140px;aspect-ratio:16/9;object-fit:cover;border-radius:7px;background:#e2e6e2}.lkm-youtube-sync-choice span{flex:1;min-width:0}.lkm-youtube-sync-choice strong{font-size:13px;display:block;overflow-wrap:anywhere}.lkm-youtube-sync-choice small{display:block;font-size:11px;color:#607163;margin-top:5px;line-height:1.35}.lkm-youtube-sync-choice small a{color:#a86a22;text-decoration:underline}
.lkm-youtube-sync-destination{font-size:11px;color:#3c5441;font-weight:700;display:block}.lkm-youtube-sync-destination select{display:block;width:100%;min-width:0;padding:9px;border:1px solid #cad7ca;border-radius:8px;margin-top:7px;background:#fff;font:inherit;font-size:12px}
.lkm-youtube-sync-empty{padding:24px;text-align:center;color:#607163}.lkm-youtube-sync-bottom{margin-top:16px;border-top:1px solid #e2e8e3;padding-top:14px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.lkm-youtube-sync-bottom>a{font-size:12px;color:#946120;text-decoration:underline}.lkm-youtube-sync-bottom>span{font-size:11px;color:#6b796f;margin-left:auto}.lkm-youtube-sync-success-link{font-weight:800}
@media(max-width:850px){.lkm-youtube-sync-item{grid-template-columns:1fr}.lkm-youtube-sync-choice img{width:110px}.lkm-youtube-sync-source{margin-left:0}.lkm-youtube-sync-head h2{font-size:22px}.lkm-channel-sync-open{white-space:normal}}
@media(max-width:500px){.lkm-youtube-sync-panel{padding:15px}.lkm-youtube-sync-choice img{width:90px}.lkm-youtube-sync-choice{gap:7px}.lkm-youtube-sync-item{padding:9px}.lkm-youtube-sync-list{max-height:60vh}.lkm-youtube-sync-bottom>span{margin-left:0}}
